/* Case study template (page/work/*.html). Builds on site.css tokens and classes. */

/* ---------- hero ---------- */
.cs-hero { padding-bottom: clamp(56px, 6vw, 90px); }
.cs-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font-size: 14px; font-weight: 500; color: var(--muted); }
.cs-crumb a { color: var(--ink); font-weight: 700; transition: color .2s; }
.cs-crumb a:hover { color: var(--accent); }
.cs-crumb span { opacity: .45; }
.cs-hero h1 { font-size: clamp(44px, 6.2vw, 100px); max-width: 1180px; }
.cs-lede { max-width: 760px; }
.cs-nda { margin-top: 26px; max-width: 640px; font-size: 13.5px; font-style: italic; color: var(--muted); opacity: .85; }

/* ---------- screens ---------- */
.cs-shots { display: grid; gap: clamp(22px, 2.6vw, 40px); }
.cs-shots__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.6vw, 40px); align-items: start; }
.cs-shot img { width: 100%; height: auto; }

/* ---------- text blocks: heading left, copy right ---------- */
.cs-block { padding: clamp(90px, 10vw, 150px) 0 0; }
.cs-block__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.cs-block__h { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; position: sticky; top: calc(var(--nav-h) + 30px); }
.cs-block__body { max-width: 640px; }
.cs-block__body p + p, .cs-block__body p + ul, .cs-block__body ul + p { margin-top: 18px; }

.cs-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cs-list li {
  position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.55;
}
.cs-list li::before {
  content: ""; position: absolute; left: 2px; top: 24px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- how it works ---------- */
.cs-steps { padding: clamp(110px, 12vw, 180px) 0 0; }
.cs-steps .title { margin-bottom: clamp(48px, 6vw, 84px); }
.cs-steps__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(28px, 3.4vw, 56px); counter-reset: none; }
.cs-step { border-top: 1px solid var(--line); padding-top: 26px; }
.cs-step .num { margin-bottom: 22px; }
.cs-step p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); max-width: 380px; }

/* ---------- why / facts ---------- */
.cs-why { padding: clamp(110px, 12vw, 180px) 0 0; }
.cs-why__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.cs-why__quote {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.22; letter-spacing: -0.022em; color: var(--ink); text-wrap: pretty;
}
.cs-ext { margin-top: 36px; }
.cs-facts__h { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cs-facts dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cs-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cs-facts dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.cs-facts dd { margin-top: 4px; font-size: 16.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }

/* ---------- next project ---------- */
.cs-next { padding-top: clamp(110px, 12vw, 180px); padding-bottom: clamp(90px, 10vw, 150px); }
.cs-next__all { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .2s; }
.cs-next__all::before { content: "\2190\00a0\00a0"; }
.cs-next__all:hover { color: var(--accent); }
.cs-next__go {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.cs-next__name {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 80px);
  line-height: 1; letter-spacing: -0.04em; transition: color .3s var(--ease);
}
.cs-next__go svg { flex: none; width: clamp(28px, 3vw, 46px); height: auto; color: var(--accent); transition: transform .35s var(--ease); }
.cs-next__go:hover .cs-next__name { color: var(--accent); }
.cs-next__go:hover svg { transform: translateX(8px); }

/* ---------- CTA (the one dark section) ---------- */
.cs-cta { padding: clamp(110px, 12vw, 180px) 0; }
.cs-cta .title { max-width: 900px; }
.cs-cta .copy { margin-top: 26px; max-width: 640px; }
.cs-cta .join { margin-top: 44px; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1100px) {
  .cs-steps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cs-hero h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .cs-shots__pair { grid-template-columns: 1fr; }
  .cs-block { padding-top: 80px; }
  .cs-block__in, .cs-why__in { grid-template-columns: 1fr; gap: 24px; }
  .cs-why__in { gap: 40px; }
  .cs-block__h { position: static; font-size: clamp(30px, 8.4vw, 38px); }
  .cs-steps { padding-top: 96px; }
  .cs-steps__grid { grid-template-columns: 1fr; gap: 34px; }
  .cs-step .num { font-size: 56px; margin-bottom: 14px; }
  .cs-why { padding-top: 96px; }
  .cs-why__quote { font-size: 25px; }
  .cs-next { padding-top: 96px; padding-bottom: 80px; }
  .cs-next__name { font-size: clamp(30px, 8.6vw, 40px); }
  .cs-cta { padding: 96px 0; }
  .cs-cta .btn-light { white-space: normal; text-align: center; font-size: 14px; }
}

/* case pages have their own dark CTA: hide the footer CTA to avoid two in a row */
.site-foot__cta{display:none}
