/* Case studies page: a dark head with an index of the six projects by their numbers, then the homepage's
   "number leads" rows, larger, with the picture turning to colour under the pointer. */
.cs-hero { padding: 58px 0 clamp(56px, 7vw, 112px); }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: end; margin-top: clamp(48px, 8vw, 128px); }
.cs-hero__tag { margin-bottom: 24px; font-size: 12px; letter-spacing: 0.1em; color: var(--lime); }
.cs-hero__h1 { font-size: clamp(56px, 9vw, 156px); font-weight: 300; line-height: 0.92; letter-spacing: -0.065em; }
.cs-index { border-top: 1px solid var(--line); counter-reset: none; }
.cs-index a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 0.25s, padding 0.35s var(--ease); }
.cs-index__num { font-size: 28px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--cream); }
.cs-index__num small { margin-left: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: var(--lime); }
.cs-index__title { font-size: 15px; line-height: 1.3; color: var(--muted); transition: color 0.25s; }
.cs-index .ico { width: 16px; color: var(--lime); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.35s var(--ease); }
@media (hover: hover) {
  .cs-index a:hover { padding-left: 12px; background: rgba(244, 247, 213, 0.04); }
  .cs-index a:hover .cs-index__title { color: var(--cream); }
  .cs-index a:hover .ico { opacity: 1; transform: none; }
}
.cs-list { padding-top: 0; padding-bottom: clamp(48px, 6vw, 96px); }
/* rows: wider picture than on the homepage, the title as the page's H2 */
.cs-case { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.2fr); padding: clamp(36px, 4vw, 64px) 0; scroll-margin-top: 72px; }
.cs-case h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; line-height: 1.06; letter-spacing: -0.035em; max-width: 20ch; }
.cs-case .case__num { font-size: clamp(88px, 12vw, 210px); }
.cs-case:target { background: rgba(201, 215, 44, 0.05); }
@media (max-width: 900px) {
  .cs-hero__grid { grid-template-columns: 1fr; }
  .cs-index a { grid-template-columns: 72px minmax(0, 1fr) 0; }
  .cs-case { grid-template-columns: 1fr; }
}
