/* Client work and case studies (2026-11-29). Type and colours come from main.css variables; no gold text here. */
.cs-page .kicker { color: var(--muted-ivory); }
.cs-page .kicker::before { background: linear-gradient(90deg, var(--muted-ivory), transparent); }
.cs-page .band:not(.band--ink):not(.band--ink2) .kicker { color: var(--muted); }
.cs-page .band:not(.band--ink):not(.band--ink2) .kicker::before { background: linear-gradient(90deg, var(--muted), transparent); }
.cs-page .crumbs a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.cs-page .ruled__n { color: var(--muted-ivory); }
.cs-page .hero .btn--ghost { border-color: rgba(247, 243, 234, .45); color: var(--ivory); }
.cs-page .hero .btn--ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.cs-page .prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* facts strip */
.cs-intro { padding-top: 64px; }
.cs-facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 56px;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.cs-facts > div { padding: 22px 20px 22px 0; }
.cs-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.cs-facts dt {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-ivory); margin-bottom: 6px;
}
.cs-facts dd { margin: 0; color: var(--ivory); font-size: 16px; line-height: 1.45; }

/* screenshots */
.cs-shot { margin: 0; }
.cs-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.band--ink .cs-shot figcaption, .band--ink2 .cs-shot figcaption { color: var(--muted-ivory); }
.cs-frame {
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(247, 243, 234, .16); background: #fff;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65);
}
.cs-frame__bar {
  display: flex; align-items: center; justify-content: center; height: 34px;
  background: #1B2233; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cs-frame__bar span {
  font-size: 12px; letter-spacing: .04em; color: rgba(247, 243, 234, .78);
  background: rgba(255, 255, 255, .06); padding: 3px 16px; border-radius: 6px;
}
.cs-frame img { display: block; width: 100%; height: auto; }

/* feature rows */
.cs-row {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line-dark);
}
.cs-row--flip .cs-row__text { order: 2; }
.cs-row__text h3 { font-size: clamp(24px, 2.4vw, 34px); color: var(--ivory); margin-bottom: 16px; }
.cs-row__text p { color: var(--muted-ivory); font-size: 17px; }
.cs-shot--phone { max-width: 340px; width: 100%; justify-self: center; }
.cs-shot--phone .cs-frame { border-radius: 28px; border-width: 6px; border-color: #1B2233; }
.cs-shot--phone .cs-frame__bar { display: none; }

/* case study card: /work/ and the homepage */
.cs-feature {
  display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.cs-feature:hover { transform: translateY(-4px); border-color: rgba(247, 243, 234, .35); box-shadow: var(--shadow-card-hover); }
.cs-feature__shot { overflow: hidden; border-right: 1px solid var(--line-dark); background: #0E1626; }
.cs-feature__shot img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.cs-feature__meta { padding: 36px 36px 34px; display: flex; flex-direction: column; justify-content: center; }
.cs-feature__meta p { margin: 0; color: var(--muted-ivory); font-size: 16px; }
.cs-feature__meta .cs-feature__label {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-ivory); margin-bottom: 14px;
}
.cs-feature__h { font-size: clamp(24px, 2.4vw, 34px); color: var(--ivory); margin-bottom: 14px; }
.cs-feature__go {
  margin-top: 22px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ivory);
  text-decoration: underline; text-underline-offset: 4px;
}
.cs-feature:hover .cs-feature__go { text-decoration-thickness: 2px; }
.cs-feature:focus-visible { outline: 3px solid var(--ivory); outline-offset: 4px; }
.cs-feature--home { margin-bottom: 26px; }

@media (max-width: 1020px) {
  .cs-page .split { grid-template-columns: 1fr; gap: 28px; }
  .cs-page .split h2 { position: static; }
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-bottom: 0; }
  .cs-facts > div, .cs-facts > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .cs-row, .cs-row--phone { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .cs-row--flip .cs-row__text { order: 0; }
  .cs-feature { grid-template-columns: 1fr; }
  .cs-feature__shot { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .cs-feature__meta { padding: 26px 22px 28px; }
}
@media (max-width: 640px) {
  .cs-facts { grid-template-columns: 1fr; }
  .cs-intro { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-feature, .cs-feature:hover { transition: none; transform: none; }
}
