/* Case study (project pages). Ported from the V2 site's case.html. */
.cc-back { display: inline-flex; align-items: center; gap: 8px; color: var(--cc-ink); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .25s ease; }
.cc-back:hover, .cc-back:focus-visible { color: var(--cc-pink); }

.cc-case__head { padding: 128px var(--cc-gutter) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 36px); }
.cc-case__head .cc-back { align-self: flex-start; }
.cc-case__titles { display: flex; flex-direction: column; gap: 14px; }
.cc-case__client { font-size: clamp(14.88px, 1.3vw, 18.6px); font-weight: 600; color: #8A8C90; }
.cc-case__titles h1 { margin: 0; max-width: 16em; font-size: clamp(42.24px, 7.04vw, 123.2px); font-weight: 700; line-height: .9; letter-spacing: -0.055em; }

.cc-case__herowrap { padding: 0 var(--cc-gutter); }
.cc-case__hero { overflow: hidden; border-radius: clamp(10px, 1.2vw, 18px); background: var(--cc-mist); }
.cc-case__hero img { display: block; width: 100%; height: auto; }

.cc-case__info { padding: clamp(56px, 7vw, 112px) var(--cc-gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); }
.cc-case__infolabel { grid-column: span 2; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8A8C90; min-width: 80px; }
.cc-case__desc { grid-column: span 7; min-width: 260px; display: flex; flex-direction: column; gap: 18px; }
.cc-case__desc p { font-size: clamp(18.6px, 1.77vw, 27.9px); line-height: 1.35; letter-spacing: -0.02em; white-space: pre-line; }
.cc-case__facts { grid-column: span 3; min-width: 200px; display: flex; flex-direction: column; border-top: 1px solid var(--cc-line); }
.cc-case__facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cc-line); font-size: 14px; }
.cc-case__facts > div > span:first-child { color: #8A8C90; }
.cc-case__facts > div > span:last-child { font-weight: 600; text-align: right; }
.cc-case__facts .cc-back { padding: 14px 0; }
.cc-case__spacer { height: clamp(40px, 5vw, 72px); }
@media (max-width: 760px) { .infog > * { grid-column: 1 / -1 !important; min-width: 0 !important; } }

.cc-case__galwrap { padding: 0 var(--cc-gutter) clamp(80px, 10vw, 140px); }
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.gal .fig { margin: 0; overflow: hidden; border-radius: clamp(8px, .9vw, 14px); background: var(--cc-mist); }
.gal .fig img { display: block; width: 100%; height: auto; }
.gal .full { grid-column: 1 / -1; }
.gal .half { grid-column: span 6; }
.gal .half img { height: 100%; object-fit: cover; }
.gal .inset { grid-column: 3 / span 8; }
.gal .txt { grid-column: 3 / span 8; padding: clamp(24px, 4vw, 64px) 0; font-size: clamp(18.6px, 1.67vw, 26.04px); line-height: 1.4; letter-spacing: -0.015em; white-space: pre-line; }
.gal .blk { grid-column: 3 / span 8; }
@media (max-width: 760px) { .gal .half, .gal .inset, .gal .txt, .gal .blk { grid-column: 1 / -1; } }

/* One width for everything: images, text and videos all line up with the gutter (logo to button).
   The rhythm is one image across, then two side by side. Full-width images never get taller than the screen
   (--cc-case-img-max: screen height under the header); pairs share one height (--cc-case-pair-ratio). Images are cropped to fit, with rounded corners. */
.cc-case { --cc-case-img-max: calc(100vh - 128px); --cc-case-pair-ratio: 4 / 3; }
@supports (height: 100svh) { .cc-case { --cc-case-img-max: calc(100svh - 128px); } }
.cc-case__hero img, .gal .full img { width: 100%; height: auto; max-height: var(--cc-case-img-max); object-fit: cover; }
.gal .half img { width: 100%; height: auto; aspect-ratio: var(--cc-case-pair-ratio); max-height: var(--cc-case-img-max); object-fit: cover; }
.gal .inset { grid-column: 1 / -1; }
.gal .strip { grid-column: 1 / -1; }
.gal .strip img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.gal .txt, .gal .blk, .gal .vid { grid-column: 1 / -1; }
.gal .txt { max-width: 62em; padding: clamp(16px, 2.4vw, 40px) 0; font-size: clamp(16.74px, 1.4vw, 22.32px); }
.gal .blk video { display: block; width: 100%; max-height: var(--cc-case-img-max); border-radius: clamp(8px, .9vw, 14px); background: var(--cc-ink); }
.vid { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: clamp(8px, .9vw, 14px); background: var(--cc-ink); color: #ffffff; text-decoration: none; font-size: clamp(18.6px, 1.86vw, 27.9px); font-weight: 700; letter-spacing: -0.03em; transition: background-color .25s ease; }
.vid:hover, .vid:focus-visible { background: var(--cc-pink); }

.cc-case__more { padding: clamp(48px, 6vw, 88px) var(--cc-gutter) clamp(80px, 10vw, 140px); border-top: 1px solid var(--cc-line); }
.cc-case__morehead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.cc-case__morehead h2 { margin: 0; font-size: clamp(28.16px, 3.52vw, 56.32px); font-weight: 700; letter-spacing: -0.04em; }
.cc-case__moregrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.mc { display: block; color: var(--cc-ink); text-decoration: none; }
.mc .im { overflow: hidden; border-radius: clamp(8px, .9vw, 14px); aspect-ratio: 16 / 10; background: var(--cc-mist); }
.mc img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .45s ease, transform .7s var(--cc-ease); }
.mc:hover img, .mc:focus-visible img { filter: none; transform: scale(1.04); }
.mc__t { margin: 14px 0 4px !important; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.mc__c { font-size: 14px; color: #8A8C90; }
@media (hover: none) { .mc img { filter: none !important; } }

.nx { display: block; color: #ffffff; text-decoration: none; background: var(--cc-pink); padding: clamp(56px, 8vw, 120px) var(--cc-gutter); }
.nx__l { margin: 0 0 14px !important; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nt { font-size: clamp(38.72px, 6.16vw, 105.6px); font-weight: 700; line-height: .92; letter-spacing: -0.05em; transition: color .3s ease; }
.nx:hover .nt, .nx:focus-visible .nt { color: var(--cc-ink); }
@media (min-width: 1800px) { .cc-back { font-size: 17px; } }
@media (min-width: 2400px) { .cc-back { font-size: 19px; } }
