/* One case study page. Uses the tokens and the bar from site.css. */
.case { background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(14,14,14,.10) 9px 10px), var(--paper); min-height: 100svh; }
.case__head { padding: clamp(110px, 14vw, 190px) var(--gutter) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.case__head h1 { font-size: clamp(36px, 5.6vw, 92px); line-height: .96; font-weight: 900; font-stretch: 80%; letter-spacing: -.03em; text-transform: uppercase; }
.case__result { text-align: right; }
.case__result b { display: block; font-size: clamp(84px, 15vw, 250px); line-height: .8; font-weight: 900; font-stretch: 75%; letter-spacing: -.035em; color: var(--clay); }
.case__result span { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--paper); padding: 4px 8px; }
.case__body { background: var(--slate); color: var(--paper); padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.case__body section { padding: 0 clamp(16px, 2.4vw, 40px) 0 0; }
.case__body section + section { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid rgba(246,244,238,.2); }
.case__body h2 { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; }
.case__body p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; }
.case__facts { list-style: none; padding: clamp(40px, 6vw, 80px) var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; }
.case__facts li { border: 1.5px solid var(--ink); border-radius: 99px; padding: 10px 18px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--paper); }
.case__next { display: block; padding: clamp(40px, 6vw, 90px) var(--gutter); background: var(--ink); color: var(--paper); text-decoration: none; }
.case__next small { display: block; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.case__next span { font-size: clamp(28px, 4.6vw, 76px); line-height: .98; font-weight: 900; font-stretch: 80%; letter-spacing: -.03em; text-transform: uppercase; background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 .06em no-repeat; transition: background-size .5s cubic-bezier(.65,.01,.05,.99); }
.case__next:hover span, .case__next:focus-visible span { background-size: 100% .06em; }
.case__foot { padding: 34px var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; background: var(--ink); border-top: 1px solid rgba(246,244,238,.16); }
.case__foot .pill { background: var(--paper); color: var(--ink); } .case__foot .pill:hover { color: #fff; }
@media (max-width: 760px) { .case__head, .case__body { grid-template-columns: 1fr; } .case__result { text-align: left; } .case__body section + section { border-left: 0; padding-left: 0; margin-top: 34px; } }
