/* ── Case Study Layout ────────────────────────────── */
.cs-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 80px;
  max-width: 900px;
}

/* ── Case study page standard ─────────────────────── */

/* Full-width layout — sidebar removed */
.case-study-page .sidebar           { display: none; }
.case-study-page .layout            { display: block; }
.case-study-page .main              { margin-left: 0; width: 100%; }
.case-study-page .sidebar-nav       { display: none; }
.case-study-page .sidebar-reef      { display: none; }
.case-study-page .custom-scrollbar  { display: none; }
.case-study-page .mobile-nav-toggle { display: none; }

/* Fish animation hidden — floor bar kept as page-close strip */
.case-study-page .tank {
  height: 20px;
  background: var(--tank-floor);
}
.case-study-page .fish-wrap,
.case-study-page .whale-wrap,
.case-study-page .wave,
.case-study-page .bubble,
.case-study-page .seaweed,
.case-study-page .pebble,
.case-study-page .tank-floor { display: none; }

/* Centered reading column */
.case-study-page .page-content {
  padding: 0 0 60px;
}
.case-study-page .cs-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 72px 48px 120px 48px;
}
.case-study-page .cs-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 40px 80px 40px;
}

/* Logotype — top of left sidenav column */
.cs-logotype {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 28px;
}


/* Remove inner max-width caps on case study pages */
.case-study-page .cs-section-intro,
.case-study-page .cs-role-block,
.case-study-page .cs-problem-body,
.case-study-page .cs-research-body,
.case-study-page .cs-timeline-body,
.case-study-page .cs-reflection-body,
.case-study-page .cs-theme-quote {
  max-width: 100%;
}

/* ── Left sticky nav ──────────────────────────────── */
.cs-sidenav {
  width: 172px;
  flex-shrink: 0;
  position: sticky;
  top: 32px;
}

.cs-back {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  letter-spacing: 0.1px;
  margin-bottom: 28px;
  transition: color var(--transition);
  cursor: none;
}
.cs-back:hover { color: var(--sage); }

.cs-sidenav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-navlink {
  font-size: 12px;
  color: var(--ink-faint);
  opacity: 0.55;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  line-height: 1.5;
  transition: all var(--transition);
  cursor: none;
}
.cs-navlink:hover { color: var(--ink-mid); background: var(--stone-mid); opacity: 0.8; }
.cs-navlink.active {
  color: var(--sage);
  border-left-color: var(--sage);
  background: var(--sage-pale);
  font-weight: 600;
  opacity: 1;
}

/* ── Main content column ──────────────────────────── */
.cs-content { flex: 1; min-width: 0; }

/* ── Header ───────────────────────────────────────── */
.cs-header { margin-bottom: 56px; }

.cs-breadcrumb {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.cs-title {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cs-intro {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 20px;
}

.cs-quote {
  font-family: var(--font-body);
  border-left: 2.5px solid var(--sage);
  padding-left: 16px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mid);
  margin: 0;
  line-height: 1.7;
}

/* ── Section ──────────────────────────────────────── */
.cs-section {
  margin-bottom: 72px;
  scroll-margin-top: 32px;
}

.cs-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--stone-dark);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.cs-section-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.1px;
}

.cs-section-num {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 1px;
  font-family: var(--font-sans);
}

/* ── Slideshow ────────────────────────────────────── */
.cs-slideshow {
  background: var(--stone-mid);
  border: 0.5px solid var(--stone-dark);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.cs-slides {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--stone-dark);
}

.cs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.cs-slide.active { opacity: 1; }

.cs-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.cs-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-light);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  padding: 0;
}

.cs-dot.active {
  background: var(--sage);
  border-color: var(--sage);
  transform: scale(1.2);
}

.cs-slideshow-caption {
  font-size: 11.5px;
  font-style: italic;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.1px;
}

/* ── Body text ────────────────────────────────────── */
.cs-body { display: flex; flex-direction: column; gap: 36px; }

.cs-block { display: flex; flex-direction: column; gap: 12px; }

.cs-block-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1px;
}

.cs-block p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.85;
  margin: 0;
}

.cs-highlight {
  background: var(--sage-pale);
  color: var(--ink);
  border-radius: 3px;
  padding: 1px 4px;
}

.cs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.cs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1.5px;
  background: var(--sage-light);
  border-radius: 1px;
}

/* ── Per-section impact block ─────────────────────── */
.cs-impact-block {
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 12px;
  padding: 28px;
}

.cs-impact-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.cs-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cs-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.cs-stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.cs-stat-label {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.5;
  max-width: 160px;
}

.cs-stat-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 0.5px solid var(--stone-dark);
  padding-top: 16px;
}

.cs-stat-notes span {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.6;
}
.cs-stat-notes span::before {
  content: '↓ ';
  color: var(--sage-light);
}

/* ── Dark combined impact section ────────────────── */
.cs-section--dark {
  background: var(--ink);
  border-radius: 16px;
  margin-left: -4px;
  margin-right: -4px;
  margin-bottom: 0;
}

.cs-dark-inner {
  padding: 48px 44px;
}

.cs-dark-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  color: #f0ede6;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.cs-dark-intro {
  font-size: 14px;
  color: #9aa090;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}

.cs-dark-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.1);
  margin: 28px 0;
}

.cs-dark-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #e8e4dc;
  margin-bottom: 14px;
}

.cs-dark-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-dark-list li {
  font-size: 14px;
  color: #9aa090;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.cs-dark-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sage-light);
}

.cs-how {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-how-label {
  font-size: 13px;
  font-weight: 600;
  color: #e8e4dc;
  margin-bottom: 4px;
}

.cs-how-desc {
  font-size: 13px;
  color: #9aa090;
  line-height: 1.7;
}

/* ── Reveal on scroll ────────────────────────────── */
.cs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.cs-reveal.cs-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Before / After toggle ───────────────────────── */
.cs-beforeafter {
  background: var(--stone-mid);
  border: 0.5px solid var(--stone-dark);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 36px;
}

.cs-ba-slides {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--stone-dark);
}

.cs-ba-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cs-ba-slide.active { opacity: 1; }

.cs-ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: rgba(44, 48, 40, 0.5);
  color: rgba(250, 249, 246, 0.9);
  padding: 3px 10px;
  border-radius: 4px;
  pointer-events: none;
}

.cs-ba-toggle {
  margin-top: 14px;
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--ink-mid);
  cursor: none;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}
.cs-ba-toggle:hover { background: var(--stone); color: var(--ink); }

/* Image placeholder slot */
.cs-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--stone-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ────────────────────────────────────────────────────
   AdmitEase case study — extended components
   ──────────────────────────────────────────────────── */

/* Title weight modifier */
.cs-title--bold { font-weight: 800; }

/* Header: role lead + bulleted role list */
.cs-role-block { margin-top: 28px; max-width: 620px; }

.cs-role-lead {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 12px;
  line-height: 1.6;
}

.cs-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-role-list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.cs-role-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--sage);
  font-size: 10px;
  line-height: 1;
}

/* Header meta labels ("My role", "Tools used") */
.cs-meta-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  margin-top: 0;
}

/* Header pills */
.cs-header-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 32px;
}

.cs-header-meta > div {
  flex: 1 1 220px;
}

.cs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-pill-row .pill {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--ink-mid);
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.cs-pill-row--tools .pill {
  color: var(--ink-light);
  border-color: var(--stone-dark);
  background: var(--white);
}

/* New section label / heading / intro pattern */
.cs-section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0;
}

.cs-section-heading {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 14px 0 16px;
  max-width: 720px;
}

.cs-section-intro {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 720px;
}

/* Problem cards (Section 01) */
.cs-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.cs-problem-card {
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.cs-problem-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.cs-problem-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cs-problem-body {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-light);
  line-height: 1.75;
}

/* Numbered timeline (Process + Reflection) */
.cs-reflection-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-left: 24px;
  border-left: 1px solid var(--stone-dark);
}

.cs-reflection-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: start;
}

.cs-reflection-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 44px;
  color: var(--sage);
  line-height: 1;
  letter-spacing: -0.02em;
}

.cs-reflection-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cs-reflection-body {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink-light);
  line-height: 1.8;
}

/* Research themes (Section 03) */

/* ── Theme block base ── */
.cs-theme {
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
  border-left: 3px solid transparent;
}

/* ── Theme label — small caps marker ── */
.cs-theme-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* ── Theme quote — dominant element ── */
.cs-theme-quote {
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ── Research cards — no white, inherit theme at deeper tint ── */
.cs-theme .cs-research-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: none;
}

.cs-theme .cs-research-card:last-child {
  margin-bottom: 0;
}

/* ── Friction number — colored per theme ── */
.cs-theme .cs-research-num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* ── Result block — left accent in theme color ── */
.cs-theme .cs-research-result {
  border-top: none;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-top: 10px;
}

/* ── Activation (green) ── */
.cs-theme[data-theme="activation"] {
  background: #f0f9f5;
  border-left-color: #1a9b75;
}

.cs-theme[data-theme="activation"] .cs-theme-label {
  color: #0f4c35;
}

.cs-theme[data-theme="activation"] .cs-theme-quote {
  color: #157a5d;
}

.cs-theme[data-theme="activation"] .cs-research-card {
  background: #f7fcf9;
  border-color: #cde8da;
}

.cs-theme[data-theme="activation"] .cs-research-num {
  color: #0f4c35;
}

.cs-theme[data-theme="activation"] .cs-research-result {
  border-left-color: #1a9b75;
}

/* ── Discovery (blue) ── */
.cs-theme[data-theme="discovery"] {
  background: #f0f4fb;
  border-left-color: #4a7fd4;
}

.cs-theme[data-theme="discovery"] .cs-theme-label {
  color: #2d5aa0;
}

.cs-theme[data-theme="discovery"] .cs-theme-quote {
  color: #3a6bbf;
}

.cs-theme[data-theme="discovery"] .cs-research-card {
  background: #f6f9fe;
  border-color: #c8d8f0;
}

.cs-theme[data-theme="discovery"] .cs-research-num {
  color: #2d5aa0;
}

.cs-theme[data-theme="discovery"] .cs-research-result {
  border-left-color: #4a7fd4;
}

/* ── Completion (amber) ── */
.cs-theme[data-theme="completion"] {
  background: #fdf8ee;
  border-left-color: #e09a2e;
}

.cs-theme[data-theme="completion"] .cs-theme-label {
  color: #a07020;
}

.cs-theme[data-theme="completion"] .cs-theme-quote {
  color: #b07a20;
}

.cs-theme[data-theme="completion"] .cs-research-card {
  background: #fefaf2;
  border-color: #e8d9a8;
}

.cs-theme[data-theme="completion"] .cs-research-num {
  color: #a07020;
}

.cs-theme[data-theme="completion"] .cs-research-result {
  border-left-color: #e09a2e;
}

/* ── Thumbnail nav inside theme blocks — reset background ── */
.cs-theme .cs-thumbs {
  background: transparent;
}

.cs-theme .cs-thumb {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
}

.cs-research-card {
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 14px;
}

.cs-research-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.cs-research-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cs-research-body {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.cs-research-result {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
  padding-top: 14px;
  border-top: 0.5px solid var(--stone-dark);
}

.cs-research-result strong {
  font-family: var(--font-sans);
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.cs-research-closing {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  padding: 28px 0;
  border-top: 0.5px solid var(--stone-dark);
  border-bottom: 0.5px solid var(--stone-dark);
  margin-top: 28px;
  max-width: 720px;
}

/* Solution: feature groups + features */
.cs-group {
  margin-bottom: 56px;
}

.cs-group-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.cs-group-intro {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 32px;
}

.cs-feature {
  margin-bottom: 40px;
}

.cs-feature-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border-left: 2.5px solid var(--sage);
  padding-left: 10px;
  margin-bottom: 16px;
  display: block;
}

/* Before / After explainer cards (above the image frame) */
.cs-ba-explainers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.cs-ba-explainers--single { grid-template-columns: 1fr; }

.cs-ba-explainer {
  background: var(--white);
  border: 1px solid var(--stone-dark);
  border-radius: 12px;
  padding: 20px 22px;
}

.cs-ba-explainer-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.cs-ba-explainer-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}

.cs-feature-frame {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 16px;
}

.cs-multi-frame {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 12px;
  background: var(--stone);
  box-shadow: 0 8px 32px rgba(44, 48, 40, 0.12);
}

.cs-multi-img {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: block;
}

.cs-multi-img.active { opacity: 1; }

/* State pill (Before / After indicator) */
.cs-state-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 12px;
  pointer-events: none;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease;
}

.cs-state-pill--before {
  background: #2e2e2b;
  color: #ffffff;
  border: none;
}

.cs-state-pill--after {
  background: var(--sage);
  color: var(--white);
}

.cs-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cs-thumb {
  width: 64px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  padding: 0;
  background: none;
}

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

.cs-thumb.active {
  border-color: var(--sage);
  opacity: 1;
}

.cs-thumb:hover { opacity: 0.85; }

/* Single image frame */
.cs-single-frame {
  aspect-ratio: 3/2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--stone-dark);
}

.cs-single-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Feature caption */
.cs-feature-caption {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.1px;
}

/* Stat cards (Section 05) */
.cs-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.cs-stat-card {
  background: var(--ink);
  border-radius: 14px;
  padding: 30px 26px;
  color: #f0ede6;
  display: flex;
  flex-direction: column;
}

.cs-stat-card[hidden] { display: none; }

.cs-stat-card-num {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  color: var(--sage-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}

.cs-stat-card-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #e8e4dc;
  margin-bottom: 10px;
}

.cs-stat-card-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: #9aa090;
  line-height: 1.7;
}

/* Testimonial card */
.cs-testimonial {
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  align-items: start;
}

.cs-testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--stone-dark);
}

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

.cs-testimonial-quote {
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

.cs-testimonial-attr {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.5;
}

.cs-testimonial-attr strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}


/* ── Mobile ───────────────────────────────────────── */
@media (max-width: 768px) {
  .cs-wrap { flex-direction: column; gap: 0; }

  .case-study-page .cs-content {
    padding-top: 0;
  }

  .cs-sidenav {
    position: sticky;
    top: 0;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: 20px;
    background: var(--stone);
    border-bottom: 0.5px solid var(--stone-dark);
    z-index: 10;
    padding: 10px 24px 0;
  }

  .cs-back {
    display: none;
  }

  .cs-sidenav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
  }

  .cs-sidenav-links::-webkit-scrollbar { display: none; }

  .cs-navlink {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 6px 14px 8px;
    font-size: 12px;
    white-space: nowrap;
    background: transparent;
  }

  .cs-navlink.active {
    border-left: none;
    border-bottom-color: var(--sage);
    background: transparent;
    color: var(--sage);
  }

  .cs-stats { gap: 20px; }
  .cs-stat-num { font-size: 22px; }
  .cs-dark-inner { padding: 32px 24px; }
  .cs-title { font-size: 26px; }

  /* AdmitEase responsive */
  .cs-section-heading { font-size: 22px; }
  .cs-problem-grid { grid-template-columns: 1fr; }
  .cs-ba-explainers { grid-template-columns: 1fr; }
  .cs-stat-grid { grid-template-columns: 1fr; }
  .cs-testimonial {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cs-testimonial-photo { width: 64px; height: 64px; }
  .cs-reflection-list { padding-left: 16px; }
  .cs-reflection-item { grid-template-columns: 60px 1fr; gap: 14px; }
  .cs-reflection-num { font-size: 34px; }
  .cs-theme-quote { font-size: 18px; }
  .cs-research-closing { font-size: 18px; }
  .cs-stat-card-num { font-size: 34px; }
  .cs-thumb { width: 64px; }
}

/* ────────────────────────────────────────────────────
   Businessfront case study — extended components
   ──────────────────────────────────────────────────── */

/* ── Meta block ───────────────────────────────────── */
.cs-header:has(+ .cs-meta) {
  margin-bottom: 24px;
}

.cs-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 0.5px solid var(--stone-dark);
  border-bottom: 0.5px solid var(--stone-dark);
  margin-bottom: 16px;
}

.cs-meta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 220px;
}

.cs-meta-sublabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-pill {
  font-size: 12px;
  color: var(--ink-light);
  background: var(--white);
  border: 0.5px solid var(--stone-dark);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ── Role callout ──────────────────────────────────── */
.cs-role-callout {
  margin-bottom: 32px;
  padding: 20px;
  background: var(--sage-pale);
  border-radius: 10px;
}

.cs-role-callout-intro {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 12px;
}

.cs-role-callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-role-callout-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.cs-role-callout-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sage-light);
  font-weight: 700;
}

/* ── Design decisions grid ─────────────────────────── */
.cs-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid var(--stone-dark);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.cs-decision {
  padding: 20px 22px;
  border-bottom: 0.5px solid var(--stone-dark);
  border-right: 0.5px solid var(--stone-dark);
}

.cs-decision:nth-child(even) {
  border-right: none;
}

.cs-decision:nth-last-child(-n+2) {
  border-bottom: none;
}

.cs-decision-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--sage);
  margin-bottom: 8px;
}

.cs-decision-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.cs-decision-body {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ── Warning list ──────────────────────────────────── */
.cs-warning-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
}

.cs-warning-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cs-warning-item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

/* ── Decision timeline ─────────────────────────────── */
.cs-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.cs-timeline-item {
  display: flex;
  gap: 20px;
}

.cs-timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}

.cs-timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-pale);
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}

.cs-timeline-line {
  width: 0;
  border-left: 1.5px dashed var(--stone-dark);
  flex: 1;
  min-height: 32px;
}

.cs-timeline-content {
  padding-top: 8px;
  padding-bottom: 28px;
  flex: 1;
}

.cs-timeline-item:last-child .cs-timeline-content {
  padding-bottom: 0;
}

.cs-timeline-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--sage);
  margin: 0 0 4px;
}

.cs-timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.cs-timeline-body {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
  margin: 0;
}

/* ── Media slots ───────────────────────────────────── */
.cs-media-slot {
  margin: 28px 0;
}

.cs-media-caption {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-top: 10px;
}

/* ── CRO pointer ───────────────────────────────────── */
.cs-cro-pointer {
  background: var(--stone);
  border: 0.5px solid var(--stone-dark);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-cro-pointer-text {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.5;
}

.cs-cro-pointer-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-light);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-cro-pointer-link:hover {
  text-decoration: underline;
}

/* ── Stat note without ↓ prefix ────────────────────── */
.cs-stat-notes span.cs-stat-note--plain::before {
  content: '';
}

/* ── Dark capstone statement ───────────────────────── */
.cs-dark-statement {
  font-size: 18px;
  color: #e8e4dc;
  line-height: 1.65;
  max-width: 560px;
  font-weight: 400;
}
