/* ────────────────────────────────────────────────
   Shared case study stylesheet
   Used by tada.html and pawllo.html (and future case studies)
   Contains the case-study shell plus shared components
   ──────────────────────────────────────────────── */

:root {
  --col-bg: #0C0C0C;
  --col-surface: #141414;
  --col-surface-raised: #1C1C1C;
  --col-text: #F0EDE6;
  --col-text-muted: #9C988F;
  --col-border: #2A2A2A;

  /* Three accents. Each carries meaning. */
  --col-accent: #E8FF47;        /* lime: brand, primary, exploratory */
  --col-accent-warm: #FF6B35;   /* orange: directional, pivot, hypothesis */
  --col-accent-cool: #47C8FF;   /* cyan: known, structural, foundational */

  /* Semantic tokens for case-study categorisation */
  --tone-known: var(--col-accent-cool);
  --tone-directional: var(--col-accent-warm);
  --tone-open: var(--col-accent);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--col-bg);
  color: var(--col-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--col-accent);
  color: var(--col-bg);
}

:focus-visible {
  outline: 2px solid var(--col-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--col-border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--col-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--col-accent); }
.nav-back {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.nav-back:hover { color: var(--col-accent); }

/* ── CASE STUDY HERO ── */
/* Spacing tightened from 10rem 3rem 5rem so the hero compacts and the
   next section's edge peeks above the fold (scroll affordance). */
.cs-hero {
  padding: 8rem 3rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.cs-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -40%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232,255,71,0.05) 0%, transparent 70%);
  pointer-events: none;
}
/* Outlined label, not a button. Border + text in the category accent;
   transparent fill so it doesn't read as clickable. Sits below the subtext
   in the hero, acting as a closing category marker. */
.cs-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: transparent;
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--col-accent);
  color: var(--col-accent);
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.45s forwards;
}
/* Single lime accent across all type pill variants (the text label
   carries the category; colour stays consistent for visual harmony). */
.cs-type.build,
.cs-type.teardown,
.cs-type.scale {
  color: var(--col-accent);
  border-color: var(--col-accent);
}

/* Hero ordering: H1 -> tagline -> subtext -> pill.
   Brand wordmark leads, pill closes as a small category marker. */
.cs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.15s forwards;
}
.cs-hero h1 em {
  font-style: italic;
  color: var(--col-accent);
}
.cs-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.4;
  color: var(--col-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 0.6s 0.25s forwards;
}
.cs-hero-sub {
  font-size: 1.1rem;
  color: var(--col-text-muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s forwards;
}

/* ── META BAR ── */
.cs-meta {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--col-border);
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}
.meta-item {}
.meta-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--col-text-muted);
  margin-bottom: 0.4rem;
}
.meta-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
}

/* ── IMAGE FRAME + LIGHTBOX ── */
.cs-image {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 3rem;
}
.cs-image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.cs-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.cs-image-placeholder {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  text-align: center;
  padding: 1rem;
}
.cs-image-placeholder::before {
  content: '';
  display: block;
  width: 3rem;
  height: 3rem;
  border: 2px dashed var(--col-border);
  border-radius: 8px;
  margin: 0 auto 0.75rem;
}
.cs-image-frame::after {
  content: 'Click to zoom';
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--col-text-muted);
  background: rgba(12,12,12,0.75);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--col-border);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cs-image-frame:hover::after { opacity: 1; }
.zoomable { position: relative; }
.zoomable img { cursor: zoom-in; }
.zoomable::after {
  content: 'Click to zoom';
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--col-text-muted);
  background: rgba(12,12,12,0.75);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--col-border);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.zoomable:hover::after { opacity: 1; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  cursor: zoom-out;
  padding: 2rem;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  background: none;
  border: 1px solid var(--col-border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.lightbox-close:hover { color: var(--col-accent); border-color: var(--col-accent); }
.cs-image-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--col-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── CONTENT SECTIONS ── */
.cs-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3rem;
}
.cs-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--col-border);
}
.cs-section:last-child { border-bottom: none; }
.cs-section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--col-accent);
  margin-bottom: 1.25rem;
}
.cs-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.cs-section p {
  color: var(--col-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.cs-section p strong {
  color: var(--col-text);
  font-weight: 500;
}
.cs-section p em {
  color: var(--col-text);
  font-style: italic;
}

/* ── INSIGHT CALLOUT ── */
.callout {
  background: var(--col-surface);
  border-left: 3px solid var(--col-accent);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.callout p {
  color: var(--col-text) !important;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0 !important;
}
.callout .callout-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--col-accent);
  display: block;
  margin-bottom: 0.5rem;
}
.callout ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.callout li {
  color: var(--col-text);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
}
.callout li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--col-accent);
}
.callout li strong {
  color: var(--col-accent);
  font-weight: 500;
}

/* ── EMBED FRAME (for iframe visualisations) ── */
.cs-embed {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 3rem;
}
.cs-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border: 1px solid var(--col-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.3s, transform 0.3s;
}
/* Aspect-ratio modifiers matching each diagram's natural stage dimensions */
.cs-embed-frame.tall { aspect-ratio: 1600 / 1750; }  /* workflow diagram */
.cs-embed-frame.wide { aspect-ratio: 1600 / 880;  }  /* loop diagram */
.cs-embed-frame:hover { border-color: var(--col-text-muted); }
.cs-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Iframe non-interactive in the page; the parent catches the click. */
  pointer-events: none;
}
/* Click-to-expand signifier (top-right for visibility) */
.cs-embed-frame::after {
  content: 'Click to expand \2197';
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text);
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--col-border);
  opacity: 0.95;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s, background 0.3s;
  pointer-events: none;
  z-index: 2;
}
.cs-embed-frame:hover::after {
  opacity: 1;
  color: var(--col-accent);
  border-color: var(--col-accent);
  background: rgba(12,12,12,0.95);
}
.cs-embed-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--col-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Embed lightbox (full-viewport modal for iframes).
   Inside the modal, clicking the iframe wrapper toggles a zoom-in state. */
.embed-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 3rem;
}
.embed-lightbox.active { opacity: 1; pointer-events: auto; }

/* The zoom wrapper sits inside the modal and catches the click-to-zoom. */
.embed-zoom-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  max-height: 90vh;
  background: #000;
  border-radius: 12px;
  overflow: auto;
  cursor: zoom-in;
  transition: max-width 0.3s ease;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.embed-zoom-wrap.zoomed { cursor: zoom-out; }
.embed-zoom-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease;
}
/* When zoomed, the iframe overflows the wrapper so the user can pan. */
.embed-zoom-wrap.zoomed iframe { width: 160%; height: 160%; }

/* Subtle "click to zoom in" hint inside the modal */
.embed-zoom-hint {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text);
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--col-border);
  pointer-events: none;
  z-index: 3;
  opacity: 0.95;
  transition: color 0.2s, border-color 0.2s, opacity 0.3s;
}
.embed-zoom-wrap:hover ~ .embed-zoom-hint,
.embed-zoom-wrap:hover .embed-zoom-hint {
  color: var(--col-accent);
  border-color: var(--col-accent);
}
.embed-zoom-wrap.zoomed ~ .embed-zoom-hint::before,
.embed-zoom-wrap.zoomed .embed-zoom-hint::before {
  content: 'Zoomed: ';
}

.embed-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  background: rgba(20,20,20,0.85);
  border: 1px solid var(--col-border);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 4;
}
.embed-lightbox-close:hover { color: var(--col-accent); border-color: var(--col-accent); }

@media (max-width: 900px) {
  .cs-embed { padding-left: 1.5rem; padding-right: 1.5rem; }
  .embed-lightbox { padding: 1rem; }
}

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.stat-row.four { grid-template-columns: repeat(4, 1fr); }
.stat-block {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.3s;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.stat-block:hover { border-color: var(--col-accent); }
.stat-block-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.3vw, 2.1rem);
  color: var(--col-accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat-block-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--col-text-muted);
  line-height: 1.5;
}

/* ── DECISION CARDS ── */
.decision-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}
.decision-grid.two-col { grid-template-columns: 1fr 1fr; }
.decision-card {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s;
}
.decision-card:hover { border-color: var(--col-text-muted); }
.decision-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.decision-icon {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* All decision-icon variants use the same lime treatment; category lives
   in the text label (Tradeoff, Pivot, Principle, Fix, Hypothesis, etc.) */
.decision-icon.tradeoff,
.decision-icon.constraint,
.decision-icon.pivot,
.decision-icon.principle,
.decision-icon.design,
.decision-icon.system,
.decision-icon.trust,
.decision-icon.stakeholder,
.decision-icon.fix,
.decision-icon.test,
.decision-icon.experiment {
  background: rgba(232,255,71,0.15);
  color: var(--col-accent);
}
.decision-card p {
  color: var(--col-text-muted) !important;
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}
.decision-card.bordered.fix,
.decision-card.bordered.test,
.decision-card.bordered.experiment {
  border-top: 2px solid var(--col-accent);
}

/* ── METRICS TABLE ── */
.metrics-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}
.metrics-table th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--col-border);
  background: var(--col-surface);
}
.metrics-table th:first-child { border-radius: 8px 0 0 0; }
.metrics-table th:last-child { border-radius: 0 8px 0 0; }
.metrics-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--col-border);
  font-size: 0.9rem;
  color: var(--col-text-muted);
}
.metrics-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--col-text);
}
.metrics-table tr:last-child td { border-bottom: none; }

/* ── REFLECTION CARDS ── */
.reflection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.reflection-card {
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.reflection-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
/* All reflection variants use the same lime; semantics live in card titles. */
.reflection-card.wrong::before,
.reflection-card.right::before,
.reflection-card.forward::before {
  background: var(--col-accent);
}
.reflection-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.reflection-card p {
  color: var(--col-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── SKILLS STRIP ── */
.skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}
.skills-strip .chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--col-border);
  border-radius: 100px;
  color: var(--col-text-muted);
}

/* ── NEXT CASE STUDY CTA ── */
.cs-next {
  border-top: 1px solid var(--col-border);
  padding: 5rem 3rem;
  text-align: center;
}
.cs-next-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--col-text-muted);
  margin-bottom: 1rem;
}
.cs-next h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.cs-next h3 a {
  color: var(--col-text);
  text-decoration: none;
  transition: color 0.3s;
}
.cs-next h3 a:hover { color: var(--col-accent); }
.cs-next-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  display: inline-block;
}
.cs-next-tag.build,
.cs-next-tag.teardown,
.cs-next-tag.scale {
  background: rgba(232,255,71,0.12);
  color: var(--col-accent);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--col-border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left, .footer-right {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .cs-hero, .cs-content, .cs-image { padding-left: 1.5rem; padding-right: 1.5rem; }
  .cs-meta { grid-template-columns: 1fr 1fr; padding-left: 1.5rem; padding-right: 1.5rem; }
  .stat-row, .stat-row.four { grid-template-columns: repeat(2, 1fr); }
  .reflection-grid, .decision-grid.two-col { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 600px) {
  .cs-meta { grid-template-columns: 1fr; }
  .stat-row, .stat-row.four { grid-template-columns: 1fr; }
  .cs-hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
}
