/* ============================================
     Case-study additions — built on the portfolio tokens
     ============================================ */

  /* Reveal-on-scroll */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* Hero refinements */
  .case-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--muted); margin-bottom: 36px;
  }
  .case-tag .dot { background: var(--muted); }

  /* Lead paragraph inside section heads */
  .lead {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5; letter-spacing: -0.01em;
    color: var(--ink); max-width: 760px; font-weight: 400;
  }
  .lead .accent { color: var(--muted); }
  .body-col { max-width: 640px; }
  .body-col p { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }
  .body-col p:last-child { margin-bottom: 0; }
  .body-col strong { color: var(--ink); font-weight: 500; }

  .two-col {
    display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: start;
  }
  .col-label { font-size: 13px; color: var(--muted); line-height: 1.6; }

  /* Scope pillars (reuse ai-item rhythm) */
  .scope-list { list-style: none; margin-top: 8px; }
  .scope-item {
    display: grid; grid-template-columns: 60px 1fr 1.2fr; gap: 32px;
    padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline;
    transition: padding .25s ease;
  }
  .scope-item:last-child { border-bottom: 1px solid var(--line); }
  .scope-item:hover { padding-left: 8px; }
  .scope-idx { font-size: 13px; color: var(--muted); }
  .scope-name { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
  .scope-points { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

  /* Persona */
  .persona {
    display: grid; grid-template-columns: 280px 1fr; gap: 56px;
    border: 1px solid var(--line); border-radius: 18px; padding: 44px;
    margin-bottom: 64px; align-items: start;
  }
  .persona-id { border-right: 1px solid var(--line); padding-right: 48px; }
  .persona-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--ink); color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 500; margin-bottom: 24px;
  }
  .persona-id h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 6px; }
  .persona-id .meta { font-size: 14px; color: var(--muted); line-height: 1.6; }
  .persona-quote {
    margin-top: 28px; font-size: 16px; line-height: 1.5;
    color: var(--ink); font-weight: 400; font-style: italic;
    border-left: 2px solid var(--ink); padding-left: 16px;
  }
  .persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .pg-block h4 {
    font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); margin-bottom: 14px; font-weight: 500;
  }
  .pg-block ul { list-style: none; }
  .pg-block li {
    font-size: 14px; color: var(--ink-soft); line-height: 1.5;
    padding: 7px 0 7px 18px; position: relative;
  }
  .pg-block li::before {
    content: ""; position: absolute; left: 0; top: 14px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--line);
  }

  /* Empathy map — 4 quadrants */
  .empathy {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    margin-bottom: 64px;
  }
  .quad { padding: 36px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .quad:nth-child(2n) { border-right: none; }
  .quad:nth-child(n+3) { border-bottom: none; }
  .quad h4 {
    font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted); margin-bottom: 16px; font-weight: 500;
  }
  .quad p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 8px; }

  /* Journey arc */
  .journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 12px; }
  .stage {
    border-top: 2px solid var(--ink); padding: 22px 22px 0 0; position: relative;
  }
  .stage::before {
    content: ""; position: absolute; top: -5px; left: 0;
    width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  }
  .stage-name { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 10px; }
  .stage-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

  /* Task flow chips */
  .flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .flow .chip {
    font-size: 13px; padding: 9px 15px; border: 1px solid var(--line);
    border-radius: 999px; color: var(--ink-soft); white-space: nowrap;
    transition: all .2s ease;
  }
  .flow .chip:hover { border-color: var(--ink); color: var(--ink); }
  .flow .arrow { color: var(--muted); font-size: 13px; }
  .flow .chip.key { background: var(--ink); color: var(--bg); border-color: var(--ink); }

  /* Screen galleries */
  .screens {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px;
  }
  .screen figure { margin: 0; }
  .screen img {
    width: 100%; display: block; border: 1px solid var(--line);
    border-radius: 14px; background: var(--hover);
  }
  .screen figcaption {
    margin-top: 16px; font-size: 14px; color: var(--ink-soft);
    display: flex; gap: 10px; align-items: baseline;
  }
  .screen figcaption .n { color: var(--muted); font-size: 13px; }

  /* Dashboard showcase */
  .showcase { margin-top: 56px; }
  .showcase-head {
    display: flex; justify-content: space-between; align-items: baseline;
    flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
  }
  .showcase-head h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
  .showcase-head .tag { font-size: 13px; color: var(--muted); }
  .showcase img {
    width: 100%; display: block; border: 1px solid var(--line); border-radius: 16px;
  }

  /* Subhead inside a block */
  .sub-block { margin-top: 80px; }
  .sub-block-title {
    font-size: 13px; color: var(--muted); margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
  }
  .sub-block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

  /* Outcome result strip */
  .result-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
    margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line);
  }
  .result-num { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1; }
  .result-label { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 240px; line-height: 1.5; }

  @media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 24px; }
    .scope-item { grid-template-columns: 40px 1fr; }
    .scope-points { grid-column: 1 / -1; }
    .persona { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
    .persona-id { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 28px; }
    .persona-grid { grid-template-columns: 1fr; }
    .empathy { grid-template-columns: 1fr; }
    .quad { border-right: none; }
    .journey { grid-template-columns: 1fr; gap: 24px; }
    .stage { padding-right: 0; }
    .screens { grid-template-columns: 1fr; gap: 24px; max-width: 360px; }
    .result-grid { grid-template-columns: 1fr; gap: 32px; }
  }
/* ===== UNIFORM SITE TYPOGRAPHY ===== */
body { font-family: var(--font); }
h1, h2, h3,
.hero h1,
.cs-hero h1,
.block h2,
.cs-block h2,
.contact h2,
.cs-contact h2,
.stat-num,
.result-num,
.res-num {
  font-family: var(--serif);
  font-weight: 400;
}
.logo,
.nav-links,
.eyebrow,
.eyebrow-row,
.pill,
.tag,
.meta,
.stat-label,
.stats-label,
.result-label,
.contact-eyebrow,
.cs-contact-eyebrow,
.footer-links,
.cs-footer-links {
  font-family: var(--mono);
}
.site-identity {
  padding: 34px 0 0;
}
.site-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1;
}
.site-availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px;
  margin-top: 20px;
}
.site-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
}
