/* =========================================================================
   case-study.css
   Vanilla CSS for the Cold Jet case-study template (ColdJet_FR static site).
   Faithful port of the IceRocket prototype page
   (icerocket-app /case-studies/classic-car-restoration): the same section
   order, the same left-rail navigation, the same band rhythm, the same
   contact-channel CTA footer — rebuilt without React/Tailwind.

   Loaded AFTER css/blog-extras.css, which supplies the --cj-* design tokens,
   .skip-link, the .blog-post-page nav offset and .blog-eyebrow.

   Blocks here:
     .cs-rail        fixed glass left rail + mobile bar + drawer (LeftRailToc)
     .cs-shell       rail offset applied to hero + all bands
     .cs-hero        glass panel over the feature photo (CaseStudyHero)
     .cs-band        alternating full-bleed bands (zinc-50 / zinc-100)
     .cs-split       7/5 text + sticky image grid (Challenge / Solution)
     .cs-quote       inline pull-quote with lime rule
     .cs-metrics     centred metric cards (CaseStudyResults)
     .cs-testimonial centred customer quote band (CaseStudyTestimonial)
     .cs-cards       product + related-story cards
     .cs-faq         accordion (FAQ)
     .cs-ctafooter   eyebrow + display heading + 4 contact channels (CTAFooter)
   Brand: navy #001D77, lime #aed047.
   ========================================================================= */

/* ── Rail offset — the prototype pads every section by the rail width ───── */
@media (min-width: 992px) {
  .cs-shell { padding-left: 256px; }
}

@media (min-width: 1280px) {
  .cs-shell { padding-left: 288px; }
}

/* ── LEFT RAIL — desktop glass card ─────────────────────────────────────── */
.cs-rail {
  display: none;
  position: fixed;
  top: calc(var(--cj-nav-h) + 16px);
  left: 16px;
  width: 224px;
  max-height: calc(100vh - 8rem);
  z-index: 30;
  transition: top 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) { .cs-rail { display: block; } }
@media (min-width: 1280px) { .cs-rail { left: 24px; } }

/* Faded out (and inert) once the closing CTA scrolls in, so the fixed rail
   never sits on top of the page's last section. */
.cs-rail.is-hidden { opacity: 0; pointer-events: none; }

.cs-rail-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(228, 228, 231, 0.65);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Frosted-glass shimmer on the top edge */
.cs-rail-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

.cs-rail-inner {
  padding: 16px;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.cs-rail-label {
  margin: 0 0 12px;
  padding: 0 12px;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 29, 119, 0.6);
}

.cs-rail-list { list-style: none; margin: 0; padding: 0; }
.cs-rail-list li { margin: 0 0 2px; padding: 0; }

.cs-rail-list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(0, 29, 119, 0.75);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cs-rail-list button:hover {
  color: var(--cj-navy);
  background: rgba(255, 255, 255, 0.55);
}

.cs-rail-list button.is-active {
  color: var(--cj-navy);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 29, 119, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cs-rail-cta {
  margin-top: 20px;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(228, 228, 231, 0.65);
}

.cs-rail-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cj-navy);
  color: #fff !important;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.cs-rail-cta a:hover { background: #001469; }

/* ── LEFT RAIL — mobile sticky bar + drawer ─────────────────────────────── */
.cs-railbar {
  position: sticky;
  top: var(--cj-nav-h);
  z-index: 40;
  border-bottom: 1px solid rgba(228, 228, 231, 0.65);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

@media (min-width: 992px) { .cs-railbar { display: none; } }

.cs-railbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cs-railbar button,
.cs-railbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cj-navy) !important;
  cursor: pointer;
}

.cs-railbar a { font-size: 10px; white-space: nowrap; }
.cs-railbar svg { width: 16px; height: 16px; }

.cs-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}

.cs-drawer[open] { display: flex; }

.cs-drawer-scrim {
  flex: 1;
  border: 0;
  background: rgba(24, 24, 27, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.cs-drawer-panel {
  position: relative;
  width: 288px;
  max-width: 85vw;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid rgba(228, 228, 231, 0.65);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
}

.cs-drawer-close {
  display: block;
  margin: 0 0 8px auto;
  border: 0;
  background: transparent;
  color: var(--cj-muted);
  cursor: pointer;
}

.cs-drawer-close svg { width: 20px; height: 20px; display: block; }

/* ── HERO — feature photo + directional scrim + frosted glass panel ─────── */
.cs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #18181b;
}

/* Feature photo — real <img> so it stays the LCP element and keeps its alt. */
.cs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two scrims, same as the prototype hero: dark on the left under the panel,
   clearing to the right, plus a bottom lift for the band seam. */
.cs-hero::before,
.cs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cs-hero::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4) 55%, transparent);
}

.cs-hero::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.cs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 24px;
}

@media (min-width: 768px) {
  .cs-hero-inner { min-height: 560px; padding: 112px 24px; }
}

.cs-hero-panel {
  max-width: 672px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .cs-hero-panel { padding: 40px; }
}

.cs-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cs-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.cs-pill {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.cs-pill.is-quiet {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.cs-hero-customer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  /* Capped so a long French job title wraps instead of crowding out the pills. */
  max-width: 200px;
  text-align: right;
}

/* Customer logo slot. Dashed placeholder until an authorized logo is supplied —
   swap the inner markup for an <img>, or delete the block. Same treatment as
   the prototype, which ships the slot empty on purpose. */
.cs-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 112px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.cs-hero-customer .cs-cust-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.cs-hero-customer .cs-cust-role {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.cs-hero-panel h1 {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 24px 0 0;
  text-wrap: balance;
}

.cs-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 24px 0 0;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.cs-hero-meta li { margin: 0; padding: 0; }

.cs-hero-meta .cs-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
}

/* TL;DR — lime rule + lime label on the dark panel */
.cs-tldr {
  margin-top: 24px;
  border-left: 2px solid var(--cj-lime);
  padding-left: 16px;
}

.cs-tldr .cs-tldr-label {
  margin: 0 0 8px;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cj-lime);
}

.cs-tldr .cs-tldr-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

/* ── Section bands — alternating zinc-50 / zinc-100 full-bleed ──────────── */
.cs-band {
  padding: 96px 24px;
  scroll-margin-top: calc(var(--cj-nav-h) + 24px);
}

.cs-band.is-soft { background: var(--cj-bg-soft); }
.cs-band.is-tint { background: #f4f4f5; }

.cs-band-inner { max-width: 1280px; margin: 0 auto; }
.cs-band-inner.is-narrow { max-width: 896px; }

/* Heading row — round icon chip + H2 */
.cs-h2row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 24px;
}

.cs-h2row .cs-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cj-navy-soft);
  color: var(--cj-navy);
}

.cs-h2row .cs-icon svg { width: 20px; height: 20px; }
.cs-h2row .cs-icon.is-alert { background: #fee2e2; color: #dc2626; }
.cs-h2row .cs-icon.is-idea { background: #d1fae5; color: #059669; }

.cs-h2row h2 {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--cj-ink);
  margin: 0;
}

.cs-lede {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--cj-muted);
  max-width: 672px;
  margin: 0 0 48px;
}

.cs-prose { max-width: 68ch; }
.cs-prose p { font-size: 16px; line-height: 1.75; color: var(--cj-text); margin: 0 0 16px; }
.cs-prose p:last-child { margin-bottom: 0; }

/* ── Split layout — text column + sticky image column ──────────────────── */
.cs-split { display: grid; gap: 48px; align-items: start; }

@media (min-width: 992px) {
  .cs-split { grid-template-columns: 7fr 5fr; }
  .cs-split.is-reversed { grid-template-columns: 5fr 7fr; }
  .cs-figure { position: sticky; top: calc(var(--cj-nav-h) + 24px); }
}

.cs-figure { margin: 0; }

.cs-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
}

/* ── Inline pull-quote ─────────────────────────────────────────────────── */
.cs-quote {
  margin: 24px 0;
  padding: 0 0 0 24px;
  border-left: 4px solid var(--cj-lime);
}

.cs-quote svg {
  width: 20px;
  height: 20px;
  color: var(--cj-lime);
  opacity: 0.45;
  margin-bottom: 8px;
}

.cs-quote p {
  margin: 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cj-text);
}

/* ── Results metrics — centred cards, no lime rule (matches prototype) ─── */
.cs-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 48px;
}

@media (min-width: 576px) { .cs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .cs-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cs-metric {
  border: 1px solid var(--cj-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--cj-shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cs-metric:hover { box-shadow: var(--cj-shadow); transform: translateY(-2px); }

.cs-metric .cs-metric-value {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(30px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cj-navy);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}

.cs-metric .cs-metric-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--cj-muted);
}

/* ── Testimonial band ──────────────────────────────────────────────────── */
.cs-testimonial { position: relative; overflow: hidden; }

.cs-testimonial::before,
.cs-testimonial::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.cs-testimonial::before {
  top: -80px; left: -80px; width: 320px; height: 320px;
  background: rgba(0, 29, 119, 0.05);
}

.cs-testimonial::after {
  bottom: -80px; right: -80px; width: 288px; height: 288px;
  background: rgba(174, 208, 71, 0.08);
}

.cs-testimonial .cs-band-inner { position: relative; z-index: 1; text-align: center; }

/* Centred eyebrow with a rule on each side — used by the testimonial band and
   the closing CTA, exactly as in the prototype. */
.cs-eyebrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.cs-eyebrow-center span[aria-hidden] {
  height: 1px;
  width: 32px;
  background: var(--cj-navy);
}

.cs-eyebrow-center strong {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cj-navy);
}

.cs-testimonial .cs-mark {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  color: var(--cj-navy);
  opacity: 0.15;
  display: block;
}

.cs-testimonial blockquote {
  max-width: 768px;
  margin: 0 auto;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: #27272a;
}

.cs-attrib { margin-top: 48px; }

.cs-attrib .cs-logo-slot {
  height: 56px;
  width: 160px;
  margin: 0 auto 20px;
  border-color: var(--cj-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--cj-faint);
  font-size: 11px;
}

.cs-attrib .cs-cust-name { margin: 0; font-weight: 600; color: var(--cj-ink); }
.cs-attrib .cs-cust-role { margin: 0; font-size: 14px; color: var(--cj-muted); }

/* ── Card grids — equipment + related stories ──────────────────────────── */
.cs-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) { .cs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .cs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--cj-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cj-shadow-sm);
  overflow: hidden;
  text-decoration: none !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cs-card:hover {
  box-shadow: var(--cj-shadow);
  transform: translateY(-2px);
}

.cs-card .cs-card-img { display: block; width: 100%; background: var(--cj-border-soft); }

.cs-card .cs-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product cards: square, contained (product cut-outs, not photography) */
.cs-card.is-product .cs-card-img { aspect-ratio: 1 / 1; }
.cs-card.is-product .cs-card-img img { object-fit: contain; padding: 16px; }

/* Related-story cards: 16/9 photography */
.cs-card.is-story .cs-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.cs-card.is-story .cs-card-img img { transition: transform 0.5s ease; }
.cs-card.is-story:hover .cs-card-img img { transform: scale(1.03); }

.cs-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 20px;
}

.cs-card-body h3 {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cj-ink);
  margin: 0;
}

.cs-card-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cj-muted); }

.cs-tag {
  align-self: flex-start;
  border: 1px solid var(--cj-navy);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cj-navy);
}

.cs-highlight {
  margin: auto 0 0 !important;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cj-navy) !important;
}

.cs-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cj-border-soft);
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cj-navy);
}

.cs-card-cta svg { width: 14px; height: 14px; }

/* ── FAQ — display heading + accordion cards (matches prototype FAQ) ───── */
.cs-faq h2 {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cj-ink);
  margin: 16px 0 48px;
}

.cs-faq details {
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cs-faq details[open] { border-color: #a1a1aa; background: var(--cj-bg-soft); }

.cs-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 48px 20px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cj-ink);
  transition: color 0.2s ease;
}

.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary:hover { color: var(--cj-text); }

/* Chevron, rotated when open — the prototype's accordion affordance */
.cs-faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--cj-muted);
  border-bottom: 2px solid var(--cj-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.cs-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.cs-faq details > div {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cj-text);
}

/* ── Closing CTA — display heading + contact-channel grid (CTAFooter) ──── */
.cs-ctafooter {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #d4d4d8;
  background: #f4f4f5;
  padding: 128px 24px;
  scroll-margin-top: calc(var(--cj-nav-h) + 24px);
}

/* 60px graph-paper grid + centre glow, as in the prototype */
.cs-ctafooter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(#d4d4d8 1px, transparent 1px),
    linear-gradient(90deg, #d4d4d8 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cs-ctafooter::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(64px);
  pointer-events: none;
}

.cs-ctafooter-inner {
  position: relative;
  z-index: 2;
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.cs-ctafooter-inner .cs-eyebrow-center { margin-bottom: 24px; }

.cs-ctafooter h2 {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cj-ink);
  margin: 0 0 24px;
  text-wrap: balance;
}

.cs-ctafooter .cs-cta-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cj-text);
  max-width: 576px;
  margin: 0 auto 40px;
}

.cs-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 512px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.cs-channels li { margin: 0; }

.cs-channels a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--cj-border);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  text-decoration: none !important;
  box-shadow: var(--cj-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cs-channels a:hover {
  border-color: var(--cj-navy);
  box-shadow: var(--cj-shadow);
  transform: translateY(-2px);
}

.cs-channels .cs-channel-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cj-navy-soft);
  color: var(--cj-navy);
}

.cs-channels .cs-channel-icon svg { width: 18px; height: 18px; }

.cs-channels .cs-channel-label {
  margin: 0;
  font-family: "Roboto", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--cj-ink);
}

.cs-channels .cs-channel-desc {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--cj-muted);
  overflow-wrap: anywhere;
}
