/* Approved Paper Straight composition. All rules stay inside case detail pages. */
.case-detail-new {
  --ink: #141414;
  --paper: #fff;
  --dark: #121212;
  --muted: #626262;
  --line: #e3e3e3;
  --soft: #f5f5f5;
  --gutter: clamp(24px, 3.05vw, 56px);
  --section: clamp(80px, 9vw, 144px);
  --panel-radius: 24px;
  --media-radius: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  display: flow-root;
  min-width: 0;
  padding-bottom: var(--section);
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 Urbanist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.case-detail-new *, .case-detail-new *::before, .case-detail-new *::after { box-sizing: border-box; }
.case-detail-new ::selection { background: #d9d6ff; color: #141414; }
.case-detail-new :is(h1, h2, h3, p, figure) { margin: 0; }
.case-detail-new :is(h1, h2) {
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: manual;
  letter-spacing: -.035em;
  font-weight: 400;
  line-height: 1.06;
}
.case-detail-new h1 { font-size: clamp(46px, 5.7vw, 88px); }
.case-detail-new h2 { font-size: clamp(36px, 3.65vw, 60px); }
.case-detail-new :is(p, dt, figcaption) { overflow-wrap: anywhere; }
.case-detail-new a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.case-detail-new button { font: inherit; color: inherit; cursor: pointer; }
.case-detail-new :is(button, a) { -webkit-tap-highlight-color: transparent; }
.case-detail-new button:disabled { cursor: default; }
.case-detail-new :is(button, a, [tabindex]):focus-visible { outline: 3px solid #6252d4; outline-offset: 5px; }
.case-detail-new [hidden] { display: none !important; }
.case-detail-new img { display: block; max-width: 100%; height: auto; }
.case-detail-new svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.case-detail-new .wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--gutter); }
.case-detail-new .inset { margin-inline: max(16px, calc((100% - 1728px) / 2)); }
.case-detail-new .case-opening { padding-top: 28px; padding-bottom: 40px; }
.case-detail-new :is(.case-breadcrumb, .breadcrumb) { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); margin-bottom: 64px; }
.case-detail-new :is(.case-breadcrumb, .breadcrumb) > span { min-width: 0; border-left: 1px solid var(--line); padding-left: 20px; overflow-wrap: anywhere; }
.case-detail-new .back-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; min-height: 44px; }
.case-detail-new .back-link svg { order: -1; transform: rotate(180deg); width: 16px; }
.case-detail-new .case-identity { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.case-detail-new .case-identity > img { width: 205px; height: 32px; flex-shrink: 0; object-fit: contain; object-position: left; }
/* Apply to a white source mark, or its identity container, on the white page. */
.case-detail-new .case-identity > img.logo-inverse,
.case-detail-new .case-identity.logo-inverse > img { filter: brightness(0); }
.case-detail-new .service-tags { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; font-size: 13px; }
.case-detail-new .service-tags span { max-width: 100%; padding: 7px 12px; border: 1px solid #d7d7d7; border-radius: 24px; overflow-wrap: anywhere; }
.case-detail-new .opening-note { color: var(--muted); margin-top: 24px; font-size: 18px; }
.case-detail-new .case-context { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.case-detail-new .hero-photo { border-radius: var(--panel-radius); overflow: hidden; }
.case-detail-new .hero-photo img { width: 100%; height: clamp(460px, 45vw, 760px); object-fit: cover; object-position: center; }
.case-detail-new[data-case="paper-straight"] .hero-photo img { object-position: 50% 100%; }
.case-detail-new .editorial { margin-top: var(--section); display: grid; gap: clamp(40px, 7.5vw, 120px); align-items: start; }
.case-detail-new :is(.editorial, .approach-intro, .results-panel) > * { min-width: 0; }
.case-detail-new .client-section { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.case-detail-new .story-copy h2 { margin-bottom: 32px; }
.case-detail-new .story-copy p { max-width: 68ch; font-size: 20px; line-height: 1.7; }
.case-detail-new .story-copy p + p { margin-top: 22px; }
.case-detail-new .story-copy a { text-decoration: underline; }
.case-detail-new .story-copy :is(ul, ol) { padding-left: 1.2em; margin-block: 22px; }
.case-detail-new .story-copy li + li { margin-top: 10px; }
.case-detail-new .client-section > .story-copy { position: sticky; top: 110px; }
.case-detail-new .client-photos { display: grid; gap: 26px; }
.case-detail-new .client-photos figure img { width: 100%; height: auto; border-radius: var(--media-radius); }
.case-detail-new .client-photos figure:first-child img { aspect-ratio: 1.3; object-fit: cover; object-position: 50% 64%; }
.case-detail-new .client-photos figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.case-detail-new .challenge-section { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); align-items: center; }
.case-detail-new .challenge-section figure img { width: 100%; aspect-ratio: .95; object-fit: cover; object-position: 50% 52%; border-radius: var(--media-radius); }
.case-detail-new .challenge-section .story-copy { padding-right: 3vw; }
.case-detail-new :is(.client-section, .challenge-section).no-image,
.case-detail-new .client-section:not(:has(.client-photos img)),
.case-detail-new .challenge-section:not(:has(> figure img)) { grid-template-columns: 1fr; }
.case-detail-new :is(.client-section, .challenge-section).no-image > .story-copy,
.case-detail-new .client-section:not(:has(.client-photos img)) > .story-copy,
.case-detail-new .challenge-section:not(:has(> figure img)) > .story-copy { position: static; max-width: 100%; padding-right: 0; display: grid; grid-template-columns: var(--case-story-columns, minmax(0, 5fr) minmax(0, 6fr)); gap: 22px clamp(40px, 7.5vw, 120px); align-items: start; }
.case-detail-new :is(.client-section.no-image, .challenge-section.no-image, .client-section:not(:has(.client-photos img)), .challenge-section:not(:has(> figure img))) > .story-copy > * { min-width: 0; grid-column: var(--case-story-body-column, 2); margin-top: 0; }
.case-detail-new :is(.client-section.no-image, .challenge-section.no-image, .client-section:not(:has(.client-photos img)), .challenge-section:not(:has(> figure img))) > .story-copy > h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.case-detail-new .client-photos:empty,
.case-detail-new .challenge-section > figure:empty { display: none; }
/* The shared homepage uses these class names for a narrow introduction.
   Reset its size and spacing before laying out a full case-study section. */
.case-detail-new .approach-section { margin-top: var(--section); padding-block: 0; border-top: 0; }
.case-detail-new .approach-intro { width: 100%; max-width: none; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7.5vw, 120px); }
.case-detail-new .deliverables { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 48px; font-size: 16px; }
.case-detail-new .deliverables > * { min-width: 0; overflow-wrap: anywhere; }
.case-detail-new .deliverables:empty { display: none; }
.case-detail-new .gallery-section { margin-top: var(--section); overflow: hidden; }
.case-detail-new .gallery-intro { margin-bottom: 36px; }
.case-detail-new .gallery-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 0 max(var(--gutter), calc((100% - 1760px) / 2 + var(--gutter))) 14px; scrollbar-width: none; }
.case-detail-new .gallery-track::-webkit-scrollbar { display: none; }
.case-detail-new .gallery-track:focus-visible { outline-offset: -3px; }
.case-detail-new .store-slide { flex: 0 0 77%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.case-detail-new .store-slide:only-child { flex-basis: 100%; }
.case-detail-new .store-slide img { width: 100%; aspect-ratio: 1.57; object-fit: contain; background: #f1f1f1; border-radius: var(--media-radius); }
.case-detail-new .store-slide figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.case-detail-new .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 16px; }
.case-detail-new .text-link { display: inline-flex; align-items: center; gap: 36px; min-height: 44px; padding: 10px 0 13px; border-bottom: 1px solid currentColor; font-size: 18px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.case-detail-new .text-link svg { transition: transform .3s var(--ease); }
.case-detail-new .text-link:hover svg { transform: translate(3px, -3px); }
.case-detail-new .gallery-pagination { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.case-detail-new .gallery-pagination > span { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 14px; white-space: nowrap; }
.case-detail-new .gallery-pagination button { width: 48px; height: 48px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #b7b7b7; background: transparent; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.case-detail-new .gallery-pagination button:hover:enabled { background: var(--ink); color: #fff; }
.case-detail-new .gallery-pagination button:disabled { opacity: .3; }
.case-detail-new .previous svg { transform: rotate(180deg); }
.case-detail-new .gallery-track:empty,
.case-detail-new .gallery-section:not(:has(.store-slide ~ .store-slide)) .gallery-pagination { display: none; }
.case-detail-new .results-panel { margin-top: var(--section); padding: clamp(36px, 6.5vw, 100px) clamp(24px, 5vw, 80px); border-radius: var(--panel-radius); background: var(--dark); color: #fff; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "heading metrics" "story metrics"; gap: 32px clamp(40px, 7vw, 112px); align-items: start; }
.case-detail-new .results-panel > h2 { grid-area: heading; }
.case-detail-new .results-panel > .metrics { grid-area: metrics; align-self: center; }
.case-detail-new .results-panel > .story-copy { grid-area: story; }
.case-detail-new .results-panel .story-copy p { font-size: 18px; color: #d0d0d0; }
.case-detail-new .metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 36px; margin: 0; padding: 0; }
.case-detail-new .metrics > div { display: flex; flex-direction: column; min-width: 0; gap: 0; border: 0; border-top: 1px solid #4a4a4a; padding: 24px 0 0; }
.case-detail-new .metrics > div:first-child { padding: 24px 0 0; }
.case-detail-new .metrics dt { font-size: 16px; color: #d0d0d0; order: 1; margin-top: 18px; }
.case-detail-new .metrics dt small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: #d0d0d0; }
.case-detail-new .metrics dd { font-size: clamp(62px, 5.5vw, 88px); line-height: 1; letter-spacing: -.035em; margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; overflow-wrap: anywhere; }
.case-detail-new .metrics dd span { max-width: none; font-size: .56em; margin-left: 4px; }
.case-detail-new .metrics:has(> div:only-child) { grid-template-columns: 1fr; }
.case-detail-new .results-panel.no-metrics,
.case-detail-new .results-panel:not(:has(.metrics > div)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "story"; }
.case-detail-new .metrics:empty { display: none; }
.case-detail-new .film-section { margin-top: var(--section); }
.case-detail-new .section-heading { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.case-detail-new .section-heading > * { min-width: 0; }
.case-detail-new .section-heading > span { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.case-detail-new .case-wistia-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--media-radius); overflow: hidden; background: #141414; }
.case-detail-new wistia-player { display: block; width: 100%; height: 100%; background-position: center; background-size: cover; background-repeat: no-repeat; }
.case-detail-new .case-native-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--media-radius); overflow: hidden; background: #141414; }
.case-detail-new .case-native-video { display: block; width: 100%; height: 100%; object-fit: contain; }
.case-detail-new .case-sound:not([hidden]) { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff80; border-radius: 8px; background: #141414e8; color: #fff; font: 500 15px/1.2 Urbanist, Arial, sans-serif; }
.case-detail-new .case-sound:hover { background: #333; }
.case-detail-new .case-sound:focus-visible { outline-color: #fff; }
.case-detail-new .next-case { margin-top: var(--section); }
.case-detail-new .next-card { width: 100%; }
.case-detail-new .next-card .studio-case { width: 100%; max-width: none; }
.case-detail-new .next-card .studio-case-link { height: auto; min-height: 0; max-height: none; aspect-ratio: 2.1; color: #fff; }
.case-detail-new .next-card .studio-case-image { height: 100%; }
.case-detail-new .next-card .studio-case-story p { margin-bottom: 19px; }
.case-detail-new .next-feature { display: block; position: relative; overflow: hidden; border-radius: var(--media-radius); isolation: isolate; background: #141414; color: #fff; }
.case-detail-new .next-feature > img { width: 100%; aspect-ratio: 2.1; object-fit: cover; object-position: 50% 47%; transition: transform .9s var(--ease); }
.case-detail-new .next-feature:hover > img { transform: scale(1.035); }
.case-detail-new .next-logo { position: absolute; top: 32px; right: 32px; max-width: calc(100% - 64px); }
.case-detail-new .next-logo img { width: 230px; max-height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
.case-detail-new .next-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 52px 32px 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; background: linear-gradient(transparent, #141414d9); backdrop-filter: blur(10px); mask-image: linear-gradient(transparent, #000 30%); color: #fff; }
.case-detail-new .next-caption > div { display: grid; gap: 12px; min-width: 0; }
.case-detail-new .next-caption strong { font-size: clamp(56px, 5.4vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.case-detail-new .next-caption span { font-size: 16px; }
.case-detail-new .next-explore { display: flex; align-items: center; gap: 48px; min-height: 44px; }

@media (min-width: 1700px) {
  .case-detail-new { --gutter: 68px; }
  .case-detail-new .hero-photo img { height: 740px; }
  .case-detail-new :is(.client-section, .challenge-section) { gap: 144px; }
}
@media (max-width: 1050px) {
  .case-detail-new :is(.editorial, .approach-intro) { gap: 40px; }
  .case-detail-new .story-copy p { font-size: 18px; }
  .case-detail-new .challenge-section .story-copy { padding: 0; }
  .case-detail-new .results-panel { gap: 40px; padding: 56px 36px; }
  .case-detail-new .metrics { gap: 36px 20px; }
  .case-detail-new .metrics dd { font-size: 60px; }
  .case-detail-new .service-tags { font-size: 12px; }
}
@media (max-width: 900px) {
  .case-detail-new .results-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "metrics" "story"; }
}
@media (max-width: 760px) {
  .case-detail-new { --panel-radius: 20px; --media-radius: 17px; --section: 80px; --gutter: 24px; --case-story-columns: minmax(0, 1fr); --case-story-body-column: 1; }
  .case-detail-new .inset { margin-inline: 10px; }
  .case-detail-new .case-opening { padding-top: 16px; padding-bottom: 28px; }
  .case-detail-new :is(.case-breadcrumb, .breadcrumb) { margin-bottom: 36px; font-size: 13px; }
  .case-detail-new .case-identity { display: block; margin-bottom: 24px; }
  .case-detail-new .case-identity > img { width: 180px; height: 28px; }
  .case-detail-new .service-tags { margin-top: 22px; gap: 6px; font-size: 11px; }
  .case-detail-new .service-tags span { padding: 6px 9px; }
  .case-detail-new h1 { font-size: clamp(40px, 9.7vw, 64px); line-height: 1.07; }
  .case-detail-new h1 br { display: none; }
  .case-detail-new .opening-note { font-size: 16px; max-width: 29ch; margin-top: 20px; }
  .case-detail-new .hero-photo img { height: 430px; object-position: center; }
  .case-detail-new :is(.editorial, .approach-intro) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case-detail-new .client-section > .story-copy { position: static; }
  .case-detail-new .story-copy h2 { margin-bottom: 24px; }
  .case-detail-new .story-copy p { font-size: 18px; line-height: 1.65; }
  .case-detail-new .client-photos { gap: 22px; }
  .case-detail-new .client-photos figure:first-child img { aspect-ratio: 1.15; }
  .case-detail-new .client-photos figcaption { font-size: 13px; }
  .case-detail-new .challenge-section figure { order: 1; }
  .case-detail-new .challenge-section figure img { aspect-ratio: .95; }
  .case-detail-new .deliverables { margin-top: 32px; gap: 12px; flex-direction: column; padding-top: 18px; font-size: 15px; }
  .case-detail-new .gallery-intro { margin-bottom: 24px; }
  .case-detail-new .gallery-track { gap: 16px; }
  .case-detail-new .store-slide { flex-basis: 91%; }
  .case-detail-new .store-slide:only-child { flex-basis: 100%; }
  .case-detail-new .store-slide img { aspect-ratio: 1.44; }
  .case-detail-new .gallery-controls { gap: 16px; flex-wrap: wrap; align-items: center; }
  .case-detail-new .gallery-controls .text-link { font-size: 15px; gap: 12px; }
  .case-detail-new .gallery-pagination { gap: 8px; margin-left: auto; }
  .case-detail-new .gallery-pagination > span { font-size: 12px; margin-right: 0; }
  .case-detail-new .gallery-pagination button { width: 44px; height: 44px; }
  .case-detail-new .gallery-pagination svg { width: 18px; }
  .case-detail-new .results-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "metrics" "story"; gap: 32px; padding: 44px 24px; }
  .case-detail-new .results-panel > h2 { font-size: 38px; }
  .case-detail-new .results-panel .story-copy p { font-size: 17px; }
  .case-detail-new .metrics { gap: 32px 24px; margin: 0; }
  .case-detail-new .metrics dd { font-size: clamp(44px, 13.5vw, 62px); }
  .case-detail-new .metrics dt { font-size: 14px; line-height: 1.35; }
  .case-detail-new .metrics > div, .case-detail-new .metrics > div:first-child { padding-top: 18px; }
  .case-detail-new .section-heading { display: block; margin-bottom: 24px; }
  .case-detail-new .section-heading > span { display: block; margin-top: 16px; }
  .case-detail-new .film-section h2 { font-size: 36px; }
  .case-detail-new .case-sound:not([hidden]) { top: 10px; right: 10px; padding: 8px 10px; font-size: 13px; min-height: 44px; }
  .case-detail-new .case-sound svg { width: 18px; height: 18px; }
  .case-detail-new .next-case .section-heading .text-link { margin-top: 22px; font-size: 16px; gap: 22px; }
  .case-detail-new .next-card .studio-case-link { aspect-ratio: .83; }
  .case-detail-new .next-card .studio-case-story p { margin-bottom: 14px; }
  .case-detail-new .next-feature > img { aspect-ratio: .83; object-position: 50% 50%; }
  .case-detail-new .next-logo { top: 24px; right: 20px; }
  .case-detail-new .next-logo img { width: 170px; }
  .case-detail-new .next-caption { padding: 50px 24px 24px; display: block; }
  .case-detail-new .next-caption strong { font-size: 66px; }
  .case-detail-new .next-caption span { font-size: 14px; }
  .case-detail-new .next-explore { margin-top: 24px; justify-content: space-between; }
}
/* Existing case-card captions need enough room at the narrowest phone widths. */
@media (max-width: 760px) {
  .case-detail-new .next-card .studio-case-link { min-height: 480px; aspect-ratio: auto; }
}
@media (max-width: 360px) {
  .case-detail-new .results-panel > h2 { font-size: 32px; }
  .case-detail-new .metrics dd { font-size: clamp(38px, 12.5vw, 44px); }
  .case-detail-new .metrics dt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-detail-new *, .case-detail-new *::before, .case-detail-new *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .case-detail-new .next-caption { background: #141414; backdrop-filter: none; mask-image: none; }
}
