/* ==========================================================================
   Case study detail (/case-studies/{slug})
   App-style layout: sticky toolbar, browser-framed hero, results tiles,
   numbered content panels and a sticky sidebar with live section tracking.
   Mobile-first; built on the tokens in larwell-design.css.
   ========================================================================== */

:root {
  --cs-accent:      #c2410c;
  --cs-accent-soft: #fff4ec;
  --cs-paper:       #faf8f4;
  --cs-bar-h:       52px;
  --cs-head:        64px;   /* updated by JS to wherever the site header ends */
  --cs-top:         calc(var(--cs-head) + var(--cs-bar-h) + 20px);
}

.cs-page { background: var(--cs-paper); }

/* ── Toolbar ───────────────────────────────────────────────────────────── */

.cs-bar {
  position: sticky;
  top: var(--cs-head);
  z-index: 20;
  height: var(--cs-bar-h);
  background: rgba(250,248,244,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lw-border);
}
.cs-bar-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cs-back {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0;
  font-size: var(--lw-text-sm); font-weight: 600; color: var(--lw-ink);
  text-decoration: none;
}
.cs-back i {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--lw-border-mid); font-size: .72rem;
  transition: background var(--lw-dur) var(--lw-ease), color var(--lw-dur) var(--lw-ease);
}
.cs-back:hover i { background: var(--lw-ink); color: #fff; border-color: var(--lw-ink); }
.cs-back span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-back small { color: var(--lw-ink-4); font-weight: 500; margin-left: 4px; }

.cs-share { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cs-share-label { font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-ink-4); margin-right: 4px; }
@media (max-width: 560px) { .cs-share-label { display: none; } }
.cs-icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lw-surface); border: 1px solid var(--lw-border);
  color: var(--lw-ink-2); font-size: .82rem; cursor: pointer; text-decoration: none;
  transition: all var(--lw-dur-fast) var(--lw-ease);
}
.cs-icon-btn:hover { border-color: var(--lw-ink); color: var(--lw-ink); transform: translateY(-1px); }
.cs-icon-btn.is-copied { background: var(--lw-success); border-color: var(--lw-success); color: #fff; }

.cs-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--cs-accent);
  transform: scaleX(0); transform-origin: left;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.cs-hero { padding-block: clamp(32px, 6vw, 72px) clamp(28px, 5vw, 56px); overflow: hidden; }
.cs-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1020px) { .cs-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--lw-font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--lw-r-full);
  background: var(--lw-surface); border: 1px solid var(--lw-border); color: var(--lw-ink-3);
  text-decoration: none;
}
.cs-chip-accent { background: var(--cs-accent-soft); border-color: #fed7aa; color: var(--cs-accent); }
a.cs-chip:hover { border-color: var(--lw-ink); color: var(--lw-ink); }

.cs-title {
  margin-top: 20px;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
  color: var(--lw-ink);
}
.cs-subtitle {
  margin-top: 16px;
  font-family: var(--lw-font-display); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5;
  color: var(--cs-accent);
}
.cs-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px;
  font-size: var(--lw-text-sm); color: var(--lw-ink-3);
}
.cs-meta span { display: inline-flex; align-items: center; gap: 7px; }
.cs-meta i { color: var(--lw-ink-4); font-size: .8rem; }

.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cs-btn-wa { background: #128c4a !important; border-color: #128c4a !important; color: #fff !important; }

/* Browser frame around the cover screenshot */
.cs-browser {
  position: relative;
  border-radius: 14px;
  background: var(--lw-surface);
  border: 1px solid var(--lw-border);
  box-shadow: 0 40px 80px -30px rgba(13,13,13,.35), 0 12px 30px -12px rgba(13,13,13,.18);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transition: transform .8s var(--lw-ease);
}
.cs-browser:hover { transform: none; }
@media (max-width: 1019px) { .cs-browser { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-browser { transform: none; transition: none; } }
.cs-browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #f3f1ec; border-bottom: 1px solid var(--lw-border);
}
.cs-dots { display: flex; gap: 6px; flex-shrink: 0; }
.cs-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2ded6; }
.cs-dots i:nth-child(1) { background: #f87171; }
.cs-dots i:nth-child(2) { background: #fbbf24; }
.cs-dots i:nth-child(3) { background: #34d399; }
.cs-url {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--lw-r-full);
  background: var(--lw-surface);
  font-family: var(--lw-font-mono); font-size: .7rem; color: var(--lw-ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-url i { color: var(--lw-success); font-size: .62rem; }
.cs-browser-view { aspect-ratio: 16 / 10; background: var(--lw-bg-alt); overflow: hidden; }
.cs-browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.cs-placeholder {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: clamp(22px, 4vw, 40px);
  background:
    radial-gradient(circle at 85% 15%, hsl(var(--h) 70% 72% / .55), transparent 55%),
    linear-gradient(135deg, hsl(var(--h) 35% 16%), hsl(calc(var(--h) + 40) 30% 9%));
  color: #fff;
}
.cs-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cs-placeholder strong { position: relative; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.cs-placeholder span { position: relative; font-family: var(--lw-font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* Floating status pill on the frame */
.cs-live {
  position: absolute; right: 14px; top: 58px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--lw-r-full);
  background: rgba(13,13,13,.82); color: #fff;
  backdrop-filter: blur(8px);
  font-family: var(--lw-font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
}
.cs-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: cs-pulse 2s infinite; }
.cs-live.is-archived::before { background: #fbbf24; animation: none; }
@keyframes cs-pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ── Results tiles ─────────────────────────────────────────────────────── */

.cs-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cs-tile {
  position: relative; overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: var(--lw-r-lg);
  background: var(--lw-surface);
  border: 1px solid var(--lw-border);
}
.cs-tile:first-child { background: var(--lw-bg-invert); border-color: var(--lw-bg-invert); color: #fff; }
.cs-tile:first-child .cs-tile-l { color: rgba(255,255,255,.8); }
.cs-tile:first-child .cs-tile-n { color: rgba(255,255,255,.45); }
.cs-tile-v { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cs-tile:not(:first-child) .cs-tile-v { color: var(--lw-ink); }
.cs-tile-l { margin-top: 10px; font-size: var(--lw-text-sm); font-weight: 600; line-height: 1.4; color: var(--lw-ink-2); }
.cs-tile-n { margin-top: 8px; font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .04em; color: var(--lw-ink-4); line-height: 1.5; }

/* ── Layout: content + sidebar ─────────────────────────────────────────── */

.cs-layout { display: grid; gap: 28px; padding-block: clamp(28px, 4vw, 44px) clamp(48px, 7vw, 88px); }
@media (min-width: 1020px) { .cs-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; } }

.cs-side { display: grid; gap: 14px; }
@media (min-width: 1020px) {
  /* No inner scrollbar. --cs-side-top is set by JS: when the sidebar is
     taller than the window it goes negative, so the sidebar scrolls with the
     page until its last card is in view, then stays put. */
  .cs-side { position: sticky; top: var(--cs-side-top, var(--cs-top)); }
}
/* On phones the glance card leads; the rest of the sidebar follows the article. */
@media (max-width: 1019px) {
  .cs-side { display: contents; }
  .cs-side > .cs-glance { order: -1; }
  .cs-side > .cs-toc-card { display: none; }
}

.cs-card {
  background: var(--lw-surface);
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-r-lg);
  padding: 20px;
}
.cs-card-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lw-ink-4);
  margin-bottom: 12px;
}

.cs-glance dl { margin: 0; display: grid; }
.cs-glance dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--lw-border); }
.cs-glance dl > div:first-child { border-top: 0; padding-top: 0; }
.cs-glance dt { font-size: var(--lw-text-xs); color: var(--lw-ink-4); padding-top: 2px; }
.cs-glance dd { margin: 0; font-size: var(--lw-text-sm); font-weight: 600; color: var(--lw-ink); line-height: 1.45; }

/* Table of contents with scroll-spy */
.cs-toc { list-style: none; margin: 0; padding: 0; position: relative; }
.cs-toc::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--lw-border); }
.cs-toc a {
  position: relative; display: block;
  padding: 6px 0 6px 22px;
  font-size: var(--lw-text-sm); line-height: 1.4; color: var(--lw-ink-3);
  text-decoration: none;
  transition: color var(--lw-dur-fast) var(--lw-ease);
}
.cs-toc a::before {
  content: ''; position: absolute; left: 1px; top: 12px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lw-surface); border: 1.5px solid var(--lw-border-mid);
  transition: all var(--lw-dur-fast) var(--lw-ease);
}
.cs-toc a:hover { color: var(--lw-ink); }
.cs-toc a.is-active { color: var(--lw-ink); font-weight: 600; }
.cs-toc a.is-active::before { background: var(--cs-accent); border-color: var(--cs-accent); box-shadow: 0 0 0 3px var(--cs-accent-soft); }
.cs-toc .is-sub a { padding-left: 34px; font-size: .78rem; }
.cs-toc .is-sub a::before { left: 3px; top: 11px; width: 5px; height: 5px; }

.cs-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-stack span {
  font-family: var(--lw-font-mono); font-size: .7rem;
  padding: 5px 10px; border-radius: var(--lw-r-full);
  background: var(--lw-bg-alt); color: var(--lw-ink-2);
}

.cs-svc-links { display: grid; gap: 6px; }
.cs-svc-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--lw-r);
  background: var(--lw-bg-alt);
  font-size: var(--lw-text-sm); font-weight: 600; color: var(--lw-ink); text-decoration: none;
  transition: background var(--lw-dur-fast) var(--lw-ease), color var(--lw-dur-fast) var(--lw-ease);
}
.cs-svc-links a i { font-size: .7rem; color: var(--lw-ink-4); transition: transform var(--lw-dur) var(--lw-ease); }
.cs-svc-links a:hover { background: var(--lw-ink); color: #fff; }
.cs-svc-links a:hover i { color: #fff; transform: translateX(3px); }

.cs-cta-card {
  position: relative; overflow: hidden;
  background: var(--lw-bg-invert); color: #fff; border-color: var(--lw-bg-invert);
}
.cs-cta-card::before {
  content: ''; position: absolute; width: 260px; height: 260px; right: -110px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,65,12,.55), transparent 65%);
}
.cs-cta-card > * { position: relative; }
.cs-cta-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.cs-cta-card p { margin-top: 8px; font-size: var(--lw-text-sm); color: rgba(255,255,255,.65); line-height: 1.6; }
.cs-cta-card .cs-cta-btns { display: grid; gap: 8px; margin-top: 16px; }
.cs-cta-card .lw-btn { justify-content: center; }
.cs-btn-light { background: #fff !important; color: var(--lw-ink) !important; border-color: #fff !important; }

/* ── Article panels ────────────────────────────────────────────────────── */

.cs-main { display: grid; gap: 18px; min-width: 0; }

.cs-panel {
  background: var(--lw-surface);
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-r-xl);
  padding: clamp(22px, 4vw, 40px);
  scroll-margin-top: var(--cs-top);
}
.cs-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cs-step {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--lw-font-display); font-style: italic; font-size: 1.35rem;
  background: var(--cs-accent-soft); color: var(--cs-accent);
}
.cs-panel-kicker { font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-ink-4); }
.cs-panel-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--lw-ink); line-height: 1.15; }

.cs-summary {
  position: relative;
  font-size: clamp(1.08rem, 1.8vw, 1.26rem); line-height: 1.7; color: var(--lw-ink);
  padding-left: 22px; border-left: 3px solid var(--cs-accent);
}

/* Prose inside panels — tighter than the blog, with styled lists and tables. */
.cs-prose { font-size: 1.02rem; line-height: 1.8; color: var(--lw-ink-2); }
.cs-prose > * + * { margin-top: 1.1em; }
.cs-prose h2, .cs-prose h3 {
  font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; color: var(--lw-ink);
  margin-top: 1.9em; scroll-margin-top: var(--cs-top);
}
.cs-prose strong { color: var(--lw-ink); }
.cs-prose ul, .cs-prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.cs-prose ul > li { position: relative; padding-left: 26px; }
.cs-prose ul > li::before {
  content: ''; position: absolute; left: 4px; top: .7em;
  width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
  background: var(--cs-accent);
}
.cs-prose ol { counter-reset: n; }
.cs-prose ol > li { counter-increment: n; position: relative; padding-left: 38px; }
.cs-prose ol > li::before {
  content: counter(n); position: absolute; left: 0; top: .15em;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--lw-font-mono); font-size: .72rem; font-weight: 600;
  background: var(--lw-bg-alt); color: var(--lw-ink);
}
.cs-prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; border: 1px solid var(--lw-border); border-radius: var(--lw-r); overflow: hidden; }
.cs-prose th { text-align: left; background: var(--lw-bg-alt); font-weight: 700; color: var(--lw-ink); }
.cs-prose th, .cs-prose td { padding: 11px 14px; border-bottom: 1px solid var(--lw-border); vertical-align: top; }
.cs-prose tr:last-child td { border-bottom: 0; }
.cs-prose a { color: var(--lw-ink); text-decoration: underline; text-decoration-color: var(--cs-accent); text-underline-offset: 3px; }
.cs-prose em { color: var(--lw-ink-3); }

/* Services used — cards linking to /services/{slug} */
.cs-svc-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .cs-svc-grid { grid-template-columns: repeat(2, 1fr); } }
.cs-svc {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; border-radius: var(--lw-r-lg);
  border: 1px solid var(--lw-border); background: var(--cs-paper);
  text-decoration: none;
  transition: transform var(--lw-dur) var(--lw-ease), border-color var(--lw-dur) var(--lw-ease), box-shadow var(--lw-dur) var(--lw-ease);
}
.cs-svc:hover { transform: translateY(-3px); border-color: var(--lw-border-mid); box-shadow: var(--lw-shadow); }
.cs-svc-name { font-weight: 700; color: var(--lw-ink); display: flex; justify-content: space-between; gap: 10px; }
.cs-svc-name i { font-size: .75rem; color: var(--lw-ink-4); margin-top: 4px; }
.cs-svc-short { font-size: var(--lw-text-sm); color: var(--lw-ink-3); line-height: 1.55; }

/* Testimonial */
.cs-quote { background: var(--lw-bg-invert); color: #fff; border-color: var(--lw-bg-invert); }
.cs-quote p { font-family: var(--lw-font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.45; }
.cs-quote footer { margin-top: 18px; font-family: var(--lw-font-mono); font-size: var(--lw-text-xs); color: rgba(255,255,255,.6); letter-spacing: .06em; }

/* FAQ */
.cs-faq details { border-top: 1px solid var(--lw-border); }
.cs-faq details:first-child { border-top: 0; }
.cs-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  font-weight: 600; color: var(--lw-ink); line-height: 1.45;
}
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary i {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem;
  border: 1px solid var(--lw-border-mid); color: var(--lw-ink-3);
  transition: transform var(--lw-dur) var(--lw-ease), background var(--lw-dur) var(--lw-ease);
}
.cs-faq details[open] summary i { transform: rotate(45deg); background: var(--lw-ink); border-color: var(--lw-ink); color: #fff; }
.cs-faq-a { padding-bottom: 18px; color: var(--lw-ink-3); line-height: 1.75; }

/* ── Prev / next ───────────────────────────────────────────────────────── */

.cs-pager { display: grid; gap: 12px; }
@media (min-width: 720px) { .cs-pager { grid-template-columns: 1fr 1fr; } }
.cs-pager a {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 14px; border-radius: var(--lw-r-lg);
  background: var(--lw-surface); border: 1px solid var(--lw-border);
  text-decoration: none;
  transition: transform var(--lw-dur) var(--lw-ease), box-shadow var(--lw-dur) var(--lw-ease);
}
.cs-pager a:hover { transform: translateY(-3px); box-shadow: var(--lw-shadow); }
.cs-pager a.is-next { grid-template-columns: 1fr 96px; text-align: right; }
.cs-pager a.is-next .cs-pager-img { order: 2; }
.cs-pager-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--lw-bg-alt); }
.cs-pager-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-pager-img .cs-placeholder { padding: 10px; }
.cs-pager-img .cs-placeholder strong { font-size: .8rem; letter-spacing: -.01em; }
.cs-pager-dir { font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-ink-4); }
.cs-pager-t { margin-top: 6px; font-weight: 700; color: var(--lw-ink); line-height: 1.3; font-size: .95rem; }

/* ── Related ───────────────────────────────────────────────────────────── */

.cs-related { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--lw-border); background: var(--lw-surface); }
.cs-related-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.cs-related-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; color: var(--lw-ink); }
.cs-rel-grid { display: grid; gap: 18px; }
@media (min-width: 680px)  { .cs-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cs-rel-grid { grid-template-columns: repeat(3, 1fr); } }
.cs-rel {
  display: flex; flex-direction: column;
  border: 1px solid var(--lw-border); border-radius: var(--lw-r-lg);
  overflow: hidden; background: var(--lw-surface); text-decoration: none;
  transition: transform var(--lw-dur) var(--lw-ease), box-shadow var(--lw-dur) var(--lw-ease);
}
.cs-rel:hover { transform: translateY(-4px); box-shadow: var(--lw-shadow-lg); }
.cs-rel-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lw-bg-alt); border-bottom: 1px solid var(--lw-border); }
.cs-rel-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--lw-ease); }
.cs-rel:hover .cs-rel-img img { transform: scale(1.045); }
.cs-rel-body { padding: 16px 18px 20px; }
.cs-rel-cat { font-family: var(--lw-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-ink-4); }
.cs-rel-t { margin-top: 8px; font-weight: 700; color: var(--lw-ink); line-height: 1.3; }

/* ── Mobile sticky CTA ─────────────────────────────────────────────────── */

.cs-dock {
  position: fixed; left: 12px; right: 84px; bottom: 14px; z-index: 25;  /* clear of the chat bubble */
  display: none; gap: 8px;
  padding: 8px; border-radius: 16px;
  background: rgba(13,13,13,.92); backdrop-filter: blur(12px);
  box-shadow: var(--lw-shadow-xl);
  transform: translateY(140%); transition: transform .4s var(--lw-ease);
}
.cs-dock.is-on { transform: none; }
.cs-dock a { flex: 1; justify-content: center; }
@media (max-width: 1019px) { .cs-dock { display: flex; } }
