/* ============================================
   LUMEN CASE STUDY — REDESIGNED
   Aesthetic: Editorial-Technical. Warm precision.
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500&family=JetBrains+Mono:wght@300;400&display=swap');

   :root {
     --bg:         #f9f7f4;
     --surface:    #ffffff;
     --border:     rgba(0,0,0,0.07);
     --border-med: rgba(0,0,0,0.13);
     --ink:        #0f0f0f;
     --ink-2:      #444444;
     --ink-3:      #888888;
     --accent:     #cf32aa;
     --accent-dim: #f5e0f0;
     --green:      #2d6a4f;
     --green-dim:  #e4f0ea;
     --blue:       #2b4c8c;
     --blue-dim:   #e3eaf8;
     --amber:      #9b6500;
     --amber-dim:  #fdf3e0;
     --mono:       'JetBrains Mono', monospace;
     --serif:      'Cormorant Garamond', serif;
     --sans:       'Plus Jakarta Sans', system-ui, sans-serif;
   }
   
   /* ── Reset & base ─────────────────────────── */
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
   
   .cs-body {
     background: var(--bg);
     font-family: var(--sans);
     color: var(--ink);
     cursor: auto !important;
   }
   .cs-body *, .cs-body *::before, .cs-body *::after { cursor: auto !important; }
   .cs-body a, .cs-body button { cursor: pointer !important; }
   
   /* ── Progress bar ─────────────────────────── */
   .cs-progress-bar {
     position: fixed;
     top: 0; left: 0;
     height: 2px;
     background: var(--accent);
     width: 0%;
     z-index: 9999;
     transition: width 0.1s linear;
   }
   
   /* ── Sidebar ──────────────────────────────── */
   .cs-sidebar {
     position: fixed;
     top: 0; left: 0;
     width: 240px;
     height: 100vh;
     border-right: 0.5px solid var(--border);
     padding: 48px 36px;
     display: flex;
     flex-direction: column;
     gap: 48px;
     z-index: 200;
     background: var(--bg);
     overflow-y: auto;
   }

   .cs-sidebar-brand { text-decoration: none; color: inherit; }

   .cs-sidebar-name {
     font-family: var(--sans);
     font-size: 23px;
     font-weight: 500;
     color: var(--accent);
     letter-spacing: -0.01em;
     line-height: 1.15;
   }

   .cs-sidebar-role {
     font-family: var(--mono);
     font-size: 13.3px;
     letter-spacing: 0.06em;
     text-transform: uppercase;
     color: var(--accent);
     margin-top: 6px;
   }

   .cs-sidebar-nav {
     display: flex;
     flex-direction: column;
     gap: 0;
     list-style: none;
   }

   .cs-sidebar-nav li a {
     display: block;
     font-family: var(--mono);
     font-size: 15px;
     color: var(--ink-3);
     text-decoration: none;
     padding: 7px 0;
     border-bottom: 0.5px solid transparent;
     transition: color 0.2s, border-color 0.2s;
     letter-spacing: 0.01em;
   }
   .cs-sidebar-nav li a:hover,
   .cs-sidebar-nav li a.active { color: var(--ink); border-bottom-color: var(--accent); }

   .cs-sidebar-footer {
     margin-top: auto;
     display: flex;
     flex-direction: column;
     gap: 8px;
   }
   .cs-sidebar-footer a {
     font-family: var(--mono);
     font-size: 13.3px;
     color: var(--ink-3);
     text-decoration: none;
     transition: color 0.2s;
   }
   .cs-sidebar-footer a:hover { color: var(--ink); }
   
   /* ── Page wrapper ─────────────────────────── */
   .cs-page { margin-left: 240px; }
   
   /* ── TOC ──────────────────────────────────── */
   .cs-toc {
     position: fixed;
     left: 280px;
     top: 50%;
     transform: translateY(-50%);
     display: flex;
     flex-direction: column;
     gap: 4px;
     z-index: 500;
     opacity: 0;
     transition: opacity 0.4s ease;
     pointer-events: none;
   }
   .cs-toc.visible { opacity: 1; pointer-events: auto; }
   
   .cs-toc-link {
     display: flex;
     align-items: center;
     gap: 10px;
     text-decoration: none;
     padding: 4px 0;
     transition: all 0.2s;
   }
   .cs-toc-link::before {
     content: '';
     width: 5px; height: 5px;
     border-radius: 50%;
     background: var(--border-med);
     flex-shrink: 0;
     transition: background 0.2s, transform 0.2s;
   }
   .cs-toc-link span {
     font-family: var(--mono);
     font-size: 10px;
     color: var(--ink-3);
     white-space: nowrap;
     transition: color 0.2s;
     letter-spacing: 0.04em;
   }
   .cs-toc-link:hover::before,
   .cs-toc-link.active::before { background: var(--accent); transform: scale(1.4); }
   .cs-toc-link.active span { color: var(--ink); font-weight: 500; }
   .cs-toc-link:hover span { color: var(--ink-2); }
   
   /* ── HERO ─────────────────────────────────── */
   .cs-hero {
     min-height: 96vh;
     display: flex;
     align-items: center;
     padding: 6rem 6% 5rem;
     border-bottom: 0.5px solid var(--border);
     position: relative;
     overflow: hidden;
   }
   
   /* subtle grid texture behind hero */
   .cs-hero::before {
     content: '';
     position: absolute;
     inset: 0;
     background-image:
       linear-gradient(var(--border) 1px, transparent 1px),
       linear-gradient(90deg, var(--border) 1px, transparent 1px);
     background-size: 48px 48px;
     opacity: 0.4;
     pointer-events: none;
   }
   
   .cs-hero-inner {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 5rem;
     align-items: center;
     width: 100%;
     max-width: 1100px;
     position: relative;
     z-index: 1;
   }
   
   .cs-eyebrow {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     font-family: var(--mono);
     font-size: 10px;
     letter-spacing: 0.1em;
     color: var(--ink-3);
     margin-bottom: 20px;
     text-transform: uppercase;
   }
   .cs-eyebrow::before {
     content: '';
     display: inline-block;
     width: 20px; height: 1px;
     background: var(--accent);
   }
   
   .cs-title {
     font-family: var(--serif);
     font-size: clamp(4rem, 7vw, 6rem);
     font-weight: 400;
     line-height: 0.95;
     color: var(--accent);
     margin-bottom: 1.5rem;
     letter-spacing: -0.02em;
   }
   
   .cs-subtitle {
     font-family: var(--sans);
     font-size: 15px;
     line-height: 1.8;
     color: var(--ink-2);
     margin-bottom: 2.5rem;
     max-width: 440px;
   }
   
   /* Engineering badge — new addition */
   .cs-eng-badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: var(--ink);
     color: var(--bg);
     font-family: var(--mono);
     font-size: 10px;
     letter-spacing: 0.06em;
     padding: 6px 12px;
     border-radius: 2px;
     margin-bottom: 2rem;
   }
   .cs-eng-badge-dot {
     width: 6px; height: 6px;
     border-radius: 50%;
     background: var(--accent);
     animation: pulse 2s ease-in-out infinite;
   }
   @keyframes pulse {
     0%, 100% { opacity: 1; transform: scale(1); }
     50% { opacity: 0.5; transform: scale(0.8); }
   }
   
   .cs-meta-row {
     display: flex;
     flex-direction: column;
     gap: 10px;
     padding-top: 24px;
     border-top: 0.5px solid var(--border);
   }
   .cs-meta-item { display: flex; gap: 16px; align-items: baseline; }
   .cs-meta-label {
     font-family: var(--mono);
     font-size: 9px;
     font-weight: 500;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     color: var(--ink-3);
     flex-shrink: 0;
     min-width: 44px;
   }
   .cs-meta-val {
     font-family: var(--sans);
     font-size: 12px;
     color: var(--ink-2);
   }
   
   .cs-hero-img {
     display: flex;
     gap: 10px;
     border-radius: 8px;
     overflow: hidden;
     border: 0.5px solid var(--border-med);
     box-shadow: 0 24px 60px rgba(0,0,0,0.08);
   }
   .cs-hero-img img,
   .cs-hero-video {
     flex: 1;
     min-width: 0;
     display: block;
     aspect-ratio: 4/3;
     object-fit: cover;
   }
   .cs-hero-video { border-radius: 4px; }
   
   /* ── Main column ──────────────────────────── */
   .cs-main {
     max-width: 740px;
     margin: 0 auto;
     padding: 0 5% 8rem;
   }
   
   /* ── Sections ─────────────────────────────── */
   .cs-section {
     padding: 5.5rem 0;
     scroll-margin-top: 80px;
   }
   
   .cs-section-label {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     font-family: var(--mono);
     font-size: 10px;
     letter-spacing: 0.1em;
     color: var(--accent);
     margin-bottom: 22px;
     text-transform: uppercase;
   }
   
   .cs-section h2 {
     font-family: var(--serif);
     font-size: clamp(1.8rem, 3vw, 2.4rem);
     font-weight: 400;
     color: var(--ink);
     margin-bottom: 1.2rem;
     line-height: 1.15;
     letter-spacing: -0.01em;
   }
   
   .cs-section p {
     font-family: var(--sans);
     font-size: 15px;
     line-height: 1.85;
     color: var(--ink-2);
     margin-bottom: 1.1rem;
   }
   .cs-section strong { color: var(--ink); }
   
   /* ── Divider ──────────────────────────────── */
   .cs-divider {
     height: 0.5px;
     background: var(--border);
   }
   
   /* ── Figures ──────────────────────────────── */
   .cs-figure {
     margin: 2.5rem 0;
     border-radius: 8px;
     overflow: hidden;
     border: 0.5px solid var(--border-med);
   }
   .cs-figure img, .cs-figure video {
     width: 100%;
     display: block;
   }
   .cs-figure figcaption,
   .cs-img-pair figcaption,
   .cs-app-screens figcaption {
     padding: 10px 14px;
     font-family: var(--mono);
     font-size: 11px;
     color: var(--ink-3);
     background: var(--surface);
     text-align: center;
     border-top: 0.5px solid var(--border);
   }
   
   /* ── Image pair ───────────────────────────── */
   .cs-img-pair {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
     margin: 2.5rem 0;
   }
   .cs-img-pair figure {
     border-radius: 8px;
     overflow: hidden;
     border: 0.5px solid var(--border-med);
     margin: 0;
   }
   .cs-img-pair figure img {
     width: 100%;
     display: block;
     aspect-ratio: 4/3;
     object-fit: cover;
   }
   
   /* ── Callout ──────────────────────────────── */
   .cs-callout {
     background: var(--accent-dim);
     border-left: 2px solid var(--accent);
     border-radius: 0 6px 6px 0;
     padding: 14px 20px;
     margin: 1.5rem 0;
   }
   .cs-callout p {
     font-family: var(--serif);
     font-size: 15px;
     color: #7a1065;
     font-style: italic;
     margin: 0;
     line-height: 1.6;
   }
   
   /* ── Stat strip ───────────────────────────── */
   .cs-stat-strip {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     overflow: hidden;
     margin: 1.5rem 0 2.5rem;
     background: var(--surface);
   }
   .cs-stat-cell {
     padding: 22px 18px;
     border-right: 0.5px solid var(--border);
   }
   .cs-stat-cell:last-child { border-right: none; }
   .cs-stat-num {
     font-family: var(--serif);
     font-size: 2.4rem;
     font-weight: 400;
     color: var(--ink);
     line-height: 1;
     margin-bottom: 6px;
   }
   .cs-stat-num span { color: var(--accent); }
   .cs-stat-desc {
     font-family: var(--sans);
     font-size: 12px;
     color: var(--ink-3);
     line-height: 1.6;
   }
   
   /* ── Solution grid ────────────────────────── */
   .cs-solution-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin: 1.5rem 0 2rem;
   }
   .cs-solution-card {
     background: var(--surface);
     border: 0.5px solid var(--border);
     border-radius: 8px;
     padding: 18px;
     transition: border-color 0.15s;
   }
   .cs-solution-card:hover { border-color: var(--border-med); }
   .cs-solution-icon {
     width: 32px; height: 32px;
     border-radius: 6px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 12px;
   }
   .cs-solution-card h4 {
     font-family: var(--sans);
     font-size: 13px;
     font-weight: 600;
     color: var(--ink);
     margin-bottom: 6px;
   }
   .cs-solution-card p { font-size: 12px; line-height: 1.65; margin: 0; color: var(--ink-2); }
   
   /* ── Personas ─────────────────────────────── */
   .cs-personas-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin: 1.5rem 0 2rem;
   }
   .cs-persona-card {
     background: var(--surface);
     border: 0.5px solid var(--border);
     border-radius: 8px;
     padding: 18px;
   }
   .cs-persona-avatar {
     width: 36px; height: 36px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: var(--sans);
     font-size: 15px;
     font-weight: 500;
     margin-bottom: 10px;
   }
   .cs-persona-role {
     font-family: var(--mono);
     font-size: 9px;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     font-weight: 500;
     margin-bottom: 3px;
   }
   .cs-persona-name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
   .cs-persona-title { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-bottom: 10px; }
   .cs-persona-detail { font-size: 12px; color: var(--ink-2); line-height: 1.65; margin-bottom: 10px; }
   
   /* ── Tags ─────────────────────────────────── */
   .cs-tag {
     display: inline-block;
     font-family: var(--mono);
     font-size: 9px;
     font-weight: 500;
     padding: 3px 8px;
     border-radius: 2px;
     margin-bottom: 3px;
     margin-right: 3px;
     letter-spacing: 0.04em;
   }
   .cs-tag-green  { background: var(--green-dim);  color: var(--green); }
   .cs-tag-red    { background: #ffeaea;            color: #b02020; }
   .cs-tag-blue   { background: var(--blue-dim);   color: var(--blue); }
   .cs-tag-amber  { background: var(--amber-dim);  color: var(--amber); }
   .cs-tag-gray   { background: #f0eff0;            color: #555; }
   
   /* ── ═══════════════════════════════════════ ──
      DESIGN DECISIONS — redesigned as narrative
      ══════════════════════════════════════════ */
   
   .cs-decision-block {
     margin: 2.5rem 0;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
     align-items: start;
   }
   .cs-decision-block.full { grid-template-columns: 1fr; }
   
   .cs-decision-text h4 {
     font-family: var(--sans);
     font-size: 13px;
     font-weight: 600;
     color: var(--ink);
     margin-bottom: 6px;
     text-transform: uppercase;
     letter-spacing: 0.06em;
   }
   .cs-decision-text p { font-size: 13px; line-height: 1.75; color: var(--ink-2); margin: 0; }
   
   /* Tactile zone diagram */
   .cs-tactile-diagram {
     background: var(--surface);
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     padding: 24px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 16px;
   }
   .cs-ball-svg-wrap { position: relative; }
   .cs-tactile-label {
     font-family: var(--mono);
     font-size: 10px;
     color: var(--ink-3);
     letter-spacing: 0.06em;
     text-align: center;
   }
   
   /* Audio port diagram */
   .cs-port-diagram {
     background: var(--surface);
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     padding: 24px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 12px;
   }
   
   /* ── Hardware section — redesigned ────────── */
   
   /* Constraint callout */
   .cs-constraint {
     background: var(--ink);
     color: var(--bg);
     border-radius: 8px;
     padding: 16px 20px;
     margin: 1.5rem 0;
     display: flex;
     align-items: flex-start;
     gap: 12px;
   }
   .cs-constraint-icon {
     font-family: var(--mono);
     font-size: 9px;
     letter-spacing: 0.1em;
     color: var(--accent);
     text-transform: uppercase;
     flex-shrink: 0;
     padding-top: 2px;
   }
   .cs-constraint p {
     font-family: var(--sans);
     font-size: 13px;
     line-height: 1.65;
     color: var(--bg);
     margin: 0;
   }
   .cs-constraint strong { color: #fff; }
   
   /* Hardware component table — replaces the card grid */
   .cs-hw-table {
     width: 100%;
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     overflow: hidden;
     margin: 1.5rem 0 2rem;
     background: var(--surface);
   }
   .cs-hw-row {
     display: grid;
     grid-template-columns: 130px 1fr 1fr;
     border-bottom: 0.5px solid var(--border);
   }
   .cs-hw-row:last-child { border-bottom: none; }
   .cs-hw-row.header {
     background: var(--bg);
   }
   .cs-hw-cell {
     padding: 12px 16px;
     font-family: var(--sans);
     font-size: 12px;
     color: var(--ink-2);
     line-height: 1.5;
     border-right: 0.5px solid var(--border);
   }
   .cs-hw-cell:last-child { border-right: none; }
   .cs-hw-row.header .cs-hw-cell {
     font-family: var(--mono);
     font-size: 9px;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     color: var(--ink-3);
     font-weight: 500;
   }
   .cs-hw-part {
     font-family: var(--mono);
     font-size: 11px;
     color: var(--ink);
     font-weight: 500;
   }
   
   /* Pogo pin story — narrative highlight */
   .cs-engineering-insight {
     border: 1.5px solid var(--accent);
     border-radius: 8px;
     overflow: hidden;
     margin: 2rem 0;
   }
   .cs-ei-header {
     background: var(--accent);
     padding: 10px 18px;
     display: flex;
     align-items: center;
     gap: 8px;
   }
   .cs-ei-label {
     font-family: var(--mono);
     font-size: 10px;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: #fff;
     font-weight: 500;
   }
   .cs-ei-body {
     padding: 18px 20px;
     background: var(--surface);
   }
   .cs-ei-body p { font-size: 13px; line-height: 1.75; color: var(--ink-2); margin: 0 0 10px; }
   .cs-ei-body p:last-child { margin: 0; }
   .cs-ei-vs {
     display: grid;
     grid-template-columns: 1fr auto 1fr;
     gap: 12px;
     align-items: center;
     margin: 14px 0;
   }
   .cs-ei-option {
     background: var(--bg);
     border: 0.5px solid var(--border);
     border-radius: 6px;
     padding: 12px;
   }
   .cs-ei-option.rejected { opacity: 0.6; }
   .cs-ei-option.chosen { border-color: var(--accent); }
   .cs-ei-option-label {
     font-family: var(--mono);
     font-size: 9px;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--ink-3);
     margin-bottom: 4px;
   }
   .cs-ei-option.chosen .cs-ei-option-label { color: var(--accent); }
   .cs-ei-option-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
   .cs-ei-option-why  { font-size: 11px; color: var(--ink-2); line-height: 1.5; }
   .cs-ei-arrow {
     font-size: 18px;
     color: var(--accent);
     text-align: center;
   }
   
   /* ── App section — redesigned ─────────────── */
   .cs-app-screens {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin-top: 1.5rem;
   }
   .cs-app-screens figure {
     margin: 0;
     border-radius: 8px;
     overflow: hidden;
     border: 0.5px solid var(--border-med);
   }
   .cs-app-screens figure img { width: 100%; display: block; }
   
   /* App design rationale */
   .cs-app-rationale {
     background: var(--surface);
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     padding: 20px;
     margin: 1.5rem 0;
   }
   .cs-app-rationale h4 {
     font-family: var(--sans);
     font-size: 12px;
     font-weight: 600;
     color: var(--ink);
     margin-bottom: 12px;
     text-transform: uppercase;
     letter-spacing: 0.06em;
   }
   .cs-omit-list {
     display: flex;
     flex-direction: column;
     gap: 8px;
   }
   .cs-omit-item {
     display: grid;
     grid-template-columns: auto 1fr;
     gap: 12px;
     font-size: 12px;
     line-height: 1.6;
     color: var(--ink-2);
     align-items: start;
   }
   .cs-omit-x {
     font-family: var(--mono);
     color: var(--accent);
     font-weight: 500;
     font-size: 11px;
     margin-top: 1px;
   }
   
   /* ── Journey / Iterations ─────────────────── */
   .cs-journey {
     display: flex;
     flex-direction: column;
     border: 0.5px solid var(--border-med);
     border-radius: 8px;
     overflow: hidden;
     margin: 1.5rem 0 2rem;
     background: var(--surface);
   }
   .cs-journey-phase {
     display: grid;
     grid-template-columns: 90px 1fr;
     border-bottom: 0.5px solid var(--border);
   }
   .cs-journey-phase:last-child { border-bottom: none; }
   .cs-phase-time {
     background: var(--bg);
     padding: 16px 14px;
     border-right: 0.5px solid var(--border);
     font-family: var(--mono);
     font-size: 11px;
     font-weight: 500;
     color: var(--accent);
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     gap: 4px;
   }
   .cs-phase-label { font-size: 9px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.06em; }
   .cs-phase-body { padding: 16px 18px; }
   .cs-phase-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
   .cs-phase-emotion {
     display: inline-block;
     font-family: var(--mono);
     font-size: 9px;
     font-weight: 500;
     padding: 2px 8px;
     border-radius: 2px;
     margin-bottom: 8px;
     letter-spacing: 0.06em;
     text-transform: uppercase;
   }
   .cs-phase-pain { font-size: 12px; color: #b02020; margin-bottom: 4px; line-height: 1.6; }
   .cs-phase-opp  { font-size: 12px; color: var(--green); line-height: 1.6; }
   
   /* ── Reflection grid ──────────────────────── */
   .cs-reflection-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin: 1.5rem 0;
   }
   .cs-reflection-block {
     padding: 18px;
     border: 0.5px solid var(--border);
     border-radius: 8px;
     background: var(--surface);
   }
   .cs-reflection-block h4 {
     font-family: var(--sans);
     font-size: 12px;
     font-weight: 600;
     color: var(--ink);
     margin-bottom: 7px;
     text-transform: uppercase;
     letter-spacing: 0.05em;
   }
   .cs-reflection-block p { font-size: 12px; line-height: 1.7; margin: 0; color: var(--ink-2); }
   
   /* V2 vision block */
   .cs-v2-block {
     background: var(--ink);
     border-radius: 8px;
     padding: 22px 24px;
     margin-top: 10px;
   }
   .cs-v2-block h4 {
     font-family: var(--mono);
     font-size: 10px;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: var(--accent);
     margin-bottom: 10px;
   }
   .cs-v2-block p { font-size: 13px; color: rgba(249,247,244,0.75); line-height: 1.7; margin: 0; }
   .cs-v2-block ul {
     margin: 10px 0 0;
     padding-left: 0;
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 6px;
   }
   .cs-v2-block ul li {
     font-family: var(--mono);
     font-size: 11px;
     color: rgba(249,247,244,0.7);
     padding-left: 14px;
     position: relative;
     line-height: 1.5;
   }
   .cs-v2-block ul li::before {
     content: '→';
     position: absolute;
     left: 0;
     color: var(--accent);
   }
   
   /* ── Next project ─────────────────────────── */
   .cs-next {
     padding: 5rem 0 3rem;
     border-top: 0.5px solid var(--border);
   }
   .cs-next-label {
     font-family: var(--mono);
     font-size: 10px;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     color: var(--ink-3);
     display: block;
     margin-bottom: 12px;
   }
   .cs-next h2 {
     font-family: var(--serif);
     font-size: 2.2rem;
     font-weight: 400;
     color: var(--ink);
     margin: 0 0 20px;
   }
   .cs-next-btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 10px 20px;
     border: 0.5px solid var(--border-med);
     color: var(--ink);
     text-decoration: none;
     border-radius: 4px;
     font-family: var(--mono);
     font-size: 12px;
     font-weight: 500;
     transition: background 0.15s;
     letter-spacing: 0.04em;
   }
   .cs-next-btn:hover { background: rgba(0,0,0,0.04); }
   
   /* ── Footer ───────────────────────────────── */
   .cs-footer {
     padding: 20px 5% 32px;
     border-top: 0.5px solid var(--border);
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-family: var(--mono);
     font-size: 11px;
     color: var(--ink-3);
     max-width: 740px;
     margin: 0 auto;
   }
   .cs-footer-back { color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
   .cs-footer-back:hover { color: var(--ink); }
   
   /* ── Mobile ───────────────────────────────── */
   @media (max-width: 768px) {
     .cs-sidebar {
       position: relative;
       width: 100%;
       height: auto;
       border-right: none;
       border-bottom: 0.5px solid var(--border);
       flex-direction: row;
       flex-wrap: wrap;
       padding: 20px 24px;
       gap: 16px;
     }
     .cs-sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
     .cs-sidebar-footer { display: none; }
     .cs-page { margin-left: 0; }
     .cs-toc { display: none; }
     .cs-hero { min-height: auto; padding: 4rem 5% 3rem; }
     .cs-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
     .cs-hero-img { order: -1; }
     .cs-img-pair,
     .cs-decision-block { grid-template-columns: 1fr; }
     .cs-app-screens { grid-template-columns: 1fr 1fr; }
     .cs-reflection-grid,
     .cs-solution-grid,
     .cs-personas-grid { grid-template-columns: 1fr; }
     .cs-stat-strip { grid-template-columns: 1fr; }
     .cs-stat-cell { border-right: none; border-bottom: 0.5px solid var(--border); }
     .cs-stat-cell:last-child { border-bottom: none; }
     .cs-hw-row { grid-template-columns: 1fr; }
     .cs-hw-cell { border-right: none; border-bottom: 0.5px solid var(--border); }
     .cs-ei-vs { grid-template-columns: 1fr; }
     .cs-ei-arrow { transform: rotate(90deg); }
     .cs-footer { flex-direction: column; gap: 8px; text-align: center; }
     .cs-section { padding: 3rem 0; }
   }
   .cs-data-section { margin: 2.5rem 0; display: flex; flex-direction: column; gap: 2.5rem; }
.cs-data-block { padding: 1.5rem; border: 1px solid rgba(212,140,132,0.15); border-radius: 16px; background: #fdfaf9; }
.cs-data-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #d48c84; display: block; margin-bottom: 0.4rem; }
.cs-data-heading { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #1a1a1a; margin-bottom: 1rem; }
.cs-data-intro { font-size: 0.88rem; color: #666; line-height: 1.75; margin-bottom: 1.25rem; }
.cs-data-source { font-size: 0.75rem; color: #bbb; font-style: italic; margin-top: 1rem; }
.cs-stat-mini-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cs-stat-mini { background: #f4eae8; border-radius: 10px; padding: 0.85rem 1rem; }
.cs-stat-mini-num { display: block; font-size: 1.6rem; font-weight: 600; color: #d48c84; line-height: 1; margin-bottom: 4px; }
.cs-stat-mini-desc { font-size: 0.75rem; color: #666; line-height: 1.4; }
.cs-caregiver-grid { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; margin-top: 1rem; }
.cs-donut-wrap { position: relative; width: 140px; height: 140px; }
.cs-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cs-donut-big { font-size: 1.4rem; font-weight: 600; color: #1a1a1a; line-height: 1; }
.cs-donut-small { font-size: 0.7rem; color: #999; margin-top: 2px; }
.cs-caregiver-facts { display: flex; flex-direction: column; gap: 8px; }
.cs-fact-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #555; }
.cs-fact-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.cs-fact-note { font-size: 0.8rem; color: #888; line-height: 1.6; margin-top: 0.5rem; font-style: italic; }
.cs-therapy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cs-therapy-card { border: 1px solid #f0e8e6; border-radius: 12px; padding: 1rem; }
.cs-therapy-metric { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #999; display: block; margin-bottom: 8px; }
.cs-therapy-bar-wrap { height: 6px; background: #f0e8e6; border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.cs-therapy-bar { height: 100%; border-radius: 3px; }
.cs-therapy-val { display: block; font-size: 1.2rem; font-weight: 600; color: #1a1a1a; }
.cs-therapy-sub { font-size: 0.72rem; color: #999; }
.cs-validation-block { margin: 2.5rem 0; }
.cs-validation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.cs-validation-card { border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 1.25rem; background: #fdfaf9; }
.cs-validation-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.cs-validation-card h4 { font-size: 0.9rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.5rem; }
.cs-validation-card p { font-size: 0.82rem; color: #666; line-height: 1.7; margin-bottom: 0.5rem; }
.cs-validation-cite { font-size: 0.7rem; color: #bbb; font-style: italic; }
@media (max-width: 600px) {
  .cs-stat-mini-row { grid-template-columns: 1fr; }
  .cs-therapy-grid { grid-template-columns: 1fr; }
  .cs-validation-grid { grid-template-columns: 1fr; }
  .cs-caregiver-grid { grid-template-columns: 1fr; }
}