/* Shared reading hierarchy for the case-study narratives. */
.case-redesign :is(.token-case-overview, .token-reflection, .token-story-copy, .bloom-story-copy, .bloom-story-pair, .cashi-flow-intro, .cashi-story-copy) h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.25vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.case-redesign .token-case-overview > div:last-child h2,
.case-redesign .cashi-deposit-crypto-insights h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.case-redesign :is(.token-case-overview, .token-reflection, .token-story-copy, .bloom-story-copy, .bloom-story-pair, .cashi-flow-intro, .cashi-story-copy) p {
  max-width: none;
  font-size: 16px;
  line-height: 1.7;
}

.case-redesign :is(.token-reflection, .token-story-copy, .bloom-story-copy, .bloom-story-pair, .cashi-flow-intro, .cashi-story-copy) p + p {
  margin-top: 16px;
}

.case-redesign .cashi-story-card figcaption { gap: 16px; line-height: 1.7; }
.case-redesign .cashi-story-card figcaption > strong,
.case-redesign .cashi-story-card figcaption .cashi-story-insight {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

:root {
  --case-gutter: 44px;
  --ink: #101012;
  --muted: #85858d;
  --line: #dedee3;
  --surface: #f4f4f6;
  --purple: #6f42ff;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fafaf9;
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  animation: page-dissolve-in 460ms cubic-bezier(.22,1,.36,1) both;
  transition: opacity 380ms cubic-bezier(.22,1,.36,1);
}

body.is-leaving {
  opacity: 0;
}

body.is-project-entering {
  animation: project-slide-in 560ms cubic-bezier(.22,1,.36,1) both;
}

@keyframes page-dissolve-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes project-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.case-header {
  display: flex;
  height: 114px;
  max-width: none;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--case-gutter);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
}

.case-identity,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.case-identity { letter-spacing: -.02em; min-height: 44px; padding: 8px; margin-inline: -8px; border-radius: 999px; transition: background .2s ease, transform .2s ease; }
.case-identity:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.case-identity:focus-visible { background: rgba(255,255,255,.1); }

.case-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.back-link {
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}

.back-link:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.case-identity:focus-visible, .back-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  :root { --case-gutter: 20px; }
  .case-header { height: 84px; padding: 18px var(--case-gutter); }
  .case-identity { gap: 8px; font-size: 12px; }
  .back-link { gap: 8px; font-size: 13px; }
}

.case-hero {
  display: grid;
  max-width: var(--max);
  min-height: min(760px, calc(100svh - 80px));
  margin: 0 auto;
  align-content: space-between;
  padding: 110px 32px 52px;
}

.hero-copy {
  max-width: 1240px;
  animation: rise-in 700ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 22px 0 0;
  font-size: clamp(54px, 6.7vw, 104px);
  font-weight: 400;
  line-height: 1.02;
}

.project-facts {
  display: grid;
  width: min(720px, 100%);
  margin: 80px 0 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  animation: rise-in 700ms 120ms cubic-bezier(.2,.8,.2,1) both;
}

.project-facts div {
  padding: 18px 12px 0 0;
}

.project-facts dt,
.project-facts dd {
  margin: 0;
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.project-facts dt {
  margin-bottom: 8px;
  color: var(--muted);
}

.project-facts dd {
  font-weight: 600;
}

.hero-media {
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  background: #eceaf8;
}

.bloom-hero {
  background: #ebe7f4;
}

.bloom-media {
  background: #e6def4;
}

.bloom-gallery img {
  background: #f1edf7;
  object-fit: contain;
}

.bloom-detail-gallery {
  background: #f1edf7;
}

.hero-media img {
  display: block;
  width: min(1180px, 88vw);
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}

.hero-media:hover img {
  transform: scale(1.015);
}

.case-section {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 40px;
  padding: 160px 32px;
}

.section-copy {
  max-width: 950px;
}

.section-copy h2,
.section-heading h2,
.feature-copy h2,
.outcome-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.section-copy p,
.outcome-copy p {
  max-width: 760px;
  margin: 34px 0 0 auto;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}

.problem-band {
  background: var(--ink);
  color: #fff;
}

.problem-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px 32px;
}

.section-label-light {
  color: #9c9ca4;
}

.problem-statement {
  max-width: 1180px;
  margin: 50px 0 110px;
  font-size: clamp(42px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.08;
}

.problem-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-left: 34%;
}

.problem-points p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #3d3d42;
  color: #bcbcc3;
  font-size: 18px;
  line-height: 1.5;
}

.principles-section {
  align-items: start;
}

.benchmark-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px 32px 60px;
}

.benchmark-heading {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 40px;
  margin-bottom: 70px;
}

.benchmark-heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.benchmark-heading div > p {
  max-width: 700px;
  margin: 30px 0 0 auto;
  color: #55555d;
  font-size: 18px;
  line-height: 1.6;
}

.benchmark-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benchmark-gallery figure {
  min-width: 0;
  margin: 0;
}

.benchmark-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.benchmark-gallery figcaption {
  padding: 12px 0 0;
  color: var(--muted);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.principles {
  display: grid;
}

.principles article {
  display: grid;
  grid-template-columns: 70px minmax(220px, 1fr) minmax(260px, .8fr);
  gap: 26px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.principles span,
.principles p {
  color: var(--muted);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.principles h3,
.principles p {
  margin: 0;
}

.principles h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
}

.feature {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.4fr);
  gap: 72px;
  align-items: center;
  padding: 60px 32px 150px;
}

.feature-detail {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
}

.feature-copy h2 {
  margin-top: 26px;
}

.feature-copy > p:not(.section-label) {
  margin: 30px 0 0;
  color: #55555d;
  font-size: 18px;
  line-height: 1.6;
}

.feature-copy ul {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.feature-media {
  display: grid;
  min-height: 700px;
  place-items: center;
  overflow: hidden;
}

.detail-gallery {
  display: flex;
  min-height: 720px;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 60px 42px 0;
}

.detail-gallery img {
  width: calc((100% - 24px) / 3);
  max-height: 660px;
  object-fit: contain;
  object-position: bottom;
  transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}

.detail-gallery:hover img:nth-child(1) {
  transform: translateY(-8px);
}

.detail-gallery:hover img:nth-child(2) {
  transform: translateY(-16px);
}

.detail-gallery:hover img:nth-child(3) {
  transform: translateY(-8px);
}

.purple-media {
  background: var(--purple);
}

.light-media {
  background: #eeeeef;
}

.feature-media img {
  width: 84%;
  max-height: 620px;
  object-fit: contain;
  transition: transform 550ms cubic-bezier(.2,.8,.2,1);
}

.feature-media:hover img {
  transform: translateY(-8px);
}

.search-section {
  display: block;
  padding-top: 100px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 40px;
  margin-bottom: 76px;
}

.section-heading h2 {
  max-width: 930px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.search-grid article {
  min-width: 0;
}

.search-grid article > img {
  display: block;
  width: 100%;
  height: 680px;
  padding: 48px;
  background: #eeeeef;
  object-fit: contain;
}

.search-grid article div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.search-grid span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.search-grid p {
  margin: 0;
  color: #55555d;
  font-size: 15px;
  line-height: 1.5;
}

.outcome-section {
  border-top: 1px solid var(--line);
}

.outcome-copy p {
  color: #55555d;
}

.reflection {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 180px;
}

.reflection blockquote {
  max-width: 1160px;
  margin: 44px 0 0;
  font-size: clamp(42px, 5.2vw, 80px);
  font-weight: 400;
  line-height: 1.12;
}

.next-project {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.next-project a {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 46px 32px;
  font-size: clamp(26px, 3vw, 46px);
  transition: color 180ms ease;
}

.next-project a:hover {
  color: var(--purple);
}

.case-footer {
  display: flex;
  max-width: none;
  margin: 0;
  justify-content: space-between;
  padding: 36px 44px;
  color: var(--muted);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1), transform 650ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .case-hero {
    min-height: auto;
    padding: 90px 20px 44px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12vw, 70px);
  }

  .project-facts {
    margin-top: 68px;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media img {
    width: 94vw;
  }

  .case-section,
  .section-heading,
  .feature,
  .feature-detail {
    grid-template-columns: 1fr;
  }

  .case-section {
    gap: 34px;
    padding: 110px 20px;
  }

  .benchmark-section {
    padding: 110px 20px 60px;
  }

  .benchmark-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .benchmark-heading div > p {
    margin-left: 0;
  }

  .benchmark-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-copy p,
  .outcome-copy p {
    margin-left: 0;
  }

  .problem-inner {
    padding: 110px 20px;
  }

  .problem-statement {
    margin-bottom: 72px;
  }

  .problem-points {
    margin-left: 0;
  }

  .principles article {
    grid-template-columns: 52px 1fr;
  }

  .principles p {
    grid-column: 2;
  }

  .feature,
  .feature-detail {
    gap: 48px;
    padding: 40px 20px 110px;
  }

  .feature-discovery .feature-media {
    grid-row: 1;
  }

  .feature-media {
    min-height: 560px;
  }

  .detail-gallery {
    min-height: 620px;
    padding: 48px 28px 0;
  }

  .search-section {
    padding-top: 60px;
  }

  .search-grid article > img {
    height: 560px;
  }

  .reflection {
    padding: 60px 20px 130px;
  }
}

@media (max-width: 620px) {
  .case-hero {
    padding-top: 66px;
  }

  .project-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-facts div {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .project-facts dt {
    margin: 0;
  }

  .hero-media {
    min-height: 290px;
  }

  .case-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-copy h2,
  .section-heading h2,
  .feature-copy h2,
  .outcome-copy h2 {
    font-size: 38px;
  }

  .problem-inner {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .problem-statement {
    font-size: 39px;
  }

  .problem-points,
  .search-grid {
    grid-template-columns: 1fr;
  }

  .principles article {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .feature-media {
    min-height: 420px;
  }

  .detail-gallery {
    min-height: 420px;
    gap: 6px;
    padding: 34px 12px 0;
  }

  .detail-gallery img {
    width: calc((100% - 12px) / 3);
  }

  .search-grid {
    gap: 64px;
  }

  .search-grid article > img {
    height: 470px;
    padding: 28px;
  }

  .search-grid article div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reflection blockquote {
    font-size: 39px;
  }

  .next-project a {
    padding: 34px 20px;
  }

  .case-footer {
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Token Radar: scrolling visual case-study layout */
.token-radar-case,
.bloomvision-case,
.dc-case {
  color: #edf4f5;
}

.token-radar-case {
  --case-top: #1b1030;
  --case-mid: #352344;
  --case-bottom: #594b65;
}

.bloomvision-case {
  --case-top: #2a0d1d;
  --case-mid: #482337;
  --case-bottom: #6d4d5f;
}

.dc-case {
  --case-top: #0c2a1a;
  --case-mid: #264532;
  --case-bottom: #4b6752;
}

/* Match the homepage: the gradient fills the viewport and stays put on scroll. */
body:is(.cashi-case, .token-radar-case, .bloomvision-case, .dc-case) {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--case-top) 0%, var(--case-mid) 43%, var(--case-bottom) 100%) center / cover fixed no-repeat;
}

.token-radar-case .case-header,
.token-radar-case .case-footer,
.bloomvision-case .case-header,
.bloomvision-case .case-footer,
.dc-case .case-header,
.dc-case .case-footer {
  color: #edf4f5;
}

.case-redesign {
  max-width: 1920px;
  margin: 0 auto;
  padding: 56px var(--case-gutter) 120px;
}

.case-title-hero {
  display: flex;
  max-width: none;
  min-height: 360px;
  margin: 0 0 64px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.case-title-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(42px, 4.5vw, 74px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.case-title-hero .case-tags {
  justify-content: flex-start;
  margin-top: 28px;
}

.case-study-cta {
  display: inline-flex;
  min-height: 48px;
  margin-top: 24px;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-study-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.case-study-cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.token-radar-case .case-study-cta {
  color: #1b1030;
}

.bloomvision-case .case-study-cta {
  color: #2a0d1d;
}

.case-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  gap: clamp(36px, 6vw, 120px);
  align-items: start;
}

.case-media-stream {
  display: grid;
  gap: 18px;
}

.stream-item {
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #121313;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
}

.stream-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stream-item:nth-child(even) {
  transition-delay: 100ms;
}

.stream-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stream-item-hero {
  background: #eceaf8;
}

.stream-item-purple {
  background: #e6def4;
}

.stream-item-bloom-hero {
  background: #eee7f4;
}

.stream-item-full-bleed {
  display: block;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.stream-item-full-bleed img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.stream-item-mobile {
  background: #151515;
}

.stream-item-mobile img {
  width: auto;
  height: min(84%, 720px);
  max-width: 72%;
  border-radius: clamp(14px, 1.8vw, 28px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .32);
}

.token-radar-case .stream-item-mobile {
  display: block;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
}

.token-radar-case .stream-item-mobile img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.bloomvision-case .stream-item-mobile {
  display: block;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
}

.bloomvision-case .stream-item-mobile img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.stream-item-dc {
  display: block;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
}

.stream-item-dc img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.case-sidebar {
  align-self: start;
  position: sticky;
  top: 36px;
  max-width: 440px;
  padding: 20px 0;
}

.case-kicker {
  margin: 0;
  color: #9eb0b7;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-summary {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.case-summary p {
  margin: 0;
}

.case-summary p + p {
  margin-top: 20px;
}

/* Token Radar editorial case study */
.token-radar-case .case-title-hero,
.token-case-hero,
.token-case-overview,
.token-story {
  width: min(990px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.token-radar-case .case-title-hero {
  min-height: 330px;
  margin-bottom: 16px;
}

.token-radar-case .case-title-hero h1 {
  max-width: 990px;
  font-size: clamp(44px, 4.45vw, 64px);
  line-height: 1.04;
}

.token-case-hero {
  margin-bottom: 72px;
}

.token-case-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.token-case-overview {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 16px;
  margin-bottom: 72px;
}

.token-case-overview > div {
  padding: 20px 0;
}

.token-case-overview h2,
.token-reflection h2 {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .96);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.token-overview-copy {
  max-width: 650px;
}

.token-case-overview p,
.token-reflection p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.6;
}

.token-case-overview p + p {
  margin-top: 16px;
}

.token-case-overview strong {
  color: #ffffff;
  font-weight: 600;
}

.token-side-facts {
  padding-left: 32px !important;
}

.token-side-facts .token-role {
  padding: 0;
}

.token-side-facts .token-role,
.token-side-facts .token-impact {
  display: grid;
  gap: 0;
}

.token-side-facts p,
.token-side-facts p + p {
  margin: 0;
}

.token-impact {
  margin-top: 32px;
}

.token-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.token-story-card {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  align-items: stretch;
}

.token-story-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.token-story-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 4px 0;
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.5;
}

.token-story-card figcaption strong {
  color: #ffffff;
  font-weight: 600;
}

.token-story-copy--wide {
  grid-column: 1 / -1;
}

.token-story-copy {
  padding: 56px 0 48px;
}

.token-story-copy h2 {
  margin: 0 0 20px;
  color: #edf4f5;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.token-story-copy p {
  max-width: 940px;
  margin: 0;
  color: rgba(237, 244, 245, .8);
  font-size: 16px;
  line-height: 1.6;
}

.token-story-copy p + p {
  margin-top: 24px;
}

.token-story-wide {
  grid-column: 1 / -1;
}

.token-story-portrait {
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 22px;
  background: #4b2a68;
}

.token-story-portrait img {
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.token-story-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.token-story-stack .token-story-card {
  min-height: 0;
}

.token-reflection {
  width: min(990px, 100%);
  margin: 88px auto 0;
  padding: 0;
}

.token-reflection p {
  max-width: 100%;
}

.token-reflection strong {
  color: #ffffff;
  font-weight: 600;
}

.case-details {
  display: grid;
  gap: 0;
  margin: 46px 0 0;
  border-top: 1px solid rgba(237, 244, 245, .2);
}

.case-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(237, 244, 245, .2);
}

.case-details dt,
.case-details dd {
  margin: 0;
  font-size: 14px;
}

.case-details dt {
  color: #9eb0b7;
}

.case-details dd {
  font-weight: 600;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.case-tags span,
.case-tags a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(237, 244, 245, .22);
  border-radius: 999px;
  color: #cbd8dc;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.related-projects {
  margin-top: 160px;
}

.related-projects .section-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.token-radar-case .related-projects .section-label,
.bloomvision-case .related-projects .section-label {
  color: #9eb0b7;
}

.dc-case .case-kicker,
.dc-case .related-projects .section-label {
  color: #a3c68a;
}

.dc-case .case-tags span {
  border-color: rgba(152, 204, 105, .4);
  color: #d6ebc7;
}

.token-radar-case .case-kicker,
.token-radar-case .related-projects .section-label {
  color: #cdb8ff;
}

.token-radar-case .case-tags span {
  border-color: rgba(182, 145, 255, .45);
  color: #e5dbff;
}

.token-radar-case .case-tags .case-brand-link {
  border-color: #ffffff;
  background: #ffffff;
  color: #1b1030;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.token-radar-case .case-tags .case-brand-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.token-radar-case .case-tags .case-brand-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.bloomvision-case .case-kicker,
.bloomvision-case .related-projects .section-label {
  color: #ffb4cf;
}

.bloomvision-case .case-title-hero,
.bloomvision-case .token-case-hero,
.bloomvision-case .token-case-overview,
.bloomvision-case .token-story,
.bloomvision-case .token-reflection {
  width: min(990px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.bloomvision-case .case-title-hero {
  min-height: 330px;
  margin-bottom: 16px;
}

.bloomvision-case .case-title-hero h1 {
  max-width: 990px;
  font-size: clamp(44px, 4.45vw, 64px);
  font-weight: 600;
  line-height: 1.04;
}

.bloomvision-case .case-title-hero .case-tags {
  margin-top: 28px;
}

.bloomvision-case .case-tags span {
  border-color: transparent;
  background: #5a3043;
  color: #f9eaf0;
}

.bloomvision-case .case-tags .case-brand-link {
  border-color: #ffffff;
  background: #ffffff;
  color: #2a0d1d;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bloomvision-case .case-tags .case-brand-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.bloomvision-case .case-tags .case-brand-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.bloomvision-case .case-tags span,
.bloomvision-case .case-tags a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

.bloom-story-copy--wide {
  grid-column: 1 / -1;
}

.bloom-story-copy {
  padding: 56px 0 48px;
}

.bloom-story-copy h2 {
  margin: 0 0 20px;
  color: #f9eaf0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.bloom-story-copy p {
  max-width: 940px;
  margin: 0;
  color: rgba(249, 234, 240, .8);
  font-size: 16px;
  line-height: 1.6;
}

.bloom-story-copy p + p {
  margin-top: 24px;
}

.bloom-story-copy strong {
  color: #f9eaf0;
  font-weight: 600;
}

.bloom-story-pair--wide {
  grid-column: 1 / -1;
}

.bloom-story-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 56px 0 48px;
}

.bloom-story-pair article {
  min-width: 0;
}

.bloom-story-pair h2 {
  margin: 0 0 20px;
  color: #f9eaf0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.bloom-story-pair p {
  margin: 0;
  color: rgba(249, 234, 240, .8);
  font-size: 16px;
  line-height: 1.6;
}

.bloom-story-pair p + p {
  margin-top: 24px;
}

.related-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.related-project-card {
  display: grid;
  gap: 16px;
}

.related-project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.58;
  border-radius: 8px;
  background: #e6def4;
  object-fit: cover;
  transition: transform 220ms ease;
}

.related-project-card:hover img {
  transform: translateY(-4px);
}

.related-project-card h2,
.related-project-card p {
  margin: 0;
}

.related-project-card h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.related-project-card p {
  margin-top: 7px;
  color: #b9c8cc;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .case-redesign {
    padding: 32px var(--case-gutter) 80px;
  }

  .case-title-hero {
    min-height: 300px;
    margin-bottom: 40px;
  }

  .case-reading-layout {
    grid-template-columns: 1fr;
  }

  .case-sidebar {
    position: static;
    order: -1;
    max-width: 680px;
    padding: 12px 0 30px;
  }

  .stream-item {
    min-height: 0;
  }

  .related-projects {
    margin-top: 96px;
  }

  .token-radar-case .case-title-hero {
    min-height: 280px;
  }

  .bloomvision-case .case-title-hero {
    min-height: 280px;
    margin-bottom: 28px;
  }

  .bloomvision-case .case-title-hero .case-tags {
    margin-top: 28px;
  }

  .token-story-grid {
    grid-template-columns: 1fr;
  }

  .token-case-overview {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 52px;
  }

  .token-side-facts {
    padding: 0 0 20px !important;
  }

  .token-story-wide {
    grid-column: auto;
  }

  .token-story-copy--wide {
    grid-column: auto;
  }

  .token-story-copy {
    padding: 32px 0 24px;
  }
}

@media (max-width: 560px) {
  .token-radar-case .case-title-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .bloomvision-case .case-title-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .token-case-hero {
    margin-bottom: 48px;
  }

  .token-story-grid,
  .token-story-stack {
    gap: 16px;
  }

  .token-story-portrait img,
  .token-story-stack img {
    height: auto;
    object-fit: contain;
  }

  .token-story-portrait {
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }
}

.cashi-case {
  --case-top: #2b0c03;
  --case-mid: #4b291d;
  --case-bottom: #74543f;
  --cashi-bg: #2b0c03;
  --cashi-text: #fff6f1;
  --cashi-muted: rgba(255, 246, 241, 0.76);
  min-height: 100vh;
  color: var(--cashi-text);
}

.cashi-case .case-header,
.cashi-case .case-footer {
  background: transparent;
  color: var(--cashi-text);
}

.cashi-case .case-title-hero,
.cashi-case .token-case-hero,
.cashi-case .token-case-overview,
.cashi-flow-intro,
.cashi-case .token-story,
.cashi-case .token-reflection {
  width: min(990px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.cashi-case .case-title-hero {
  min-height: 330px;
  margin-bottom: 16px;
}

.cashi-case .case-title-hero h1 {
  max-width: 990px;
  font-size: clamp(44px, 4.45vw, 64px);
  line-height: 1.04;
}

.cashi-case .case-kicker,
.cashi-case .related-projects .section-label {
  color: #ffc1a9;
}

.cashi-case .case-tags span {
  border-color: transparent;
  background: #683021;
  color: #fff2ed;
}

.cashi-case .case-tags .case-brand-link {
  border-color: #ffffff;
  background: #ffffff;
  color: #2b0c03;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cashi-case .case-tags .case-brand-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.cashi-case .case-tags .case-brand-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.cashi-case .token-case-hero {
  margin-bottom: 72px;
  overflow: hidden;
  border-radius: 22px;
}

.cashi-case .token-case-hero img {
  border-radius: inherit;
}

.cashi-flow-intro {
  margin-bottom: 88px;
}

.cashi-flow-intro h2 {
  margin: 0 0 24px;
  color: var(--cashi-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.cashi-flow-intro p {
  margin: 0;
  color: var(--cashi-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cashi-flow-intro p + p {
  margin-top: 24px;
}

.cashi-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cashi-story-card {
  min-width: 0;
  margin: 0;
}

.cashi-story-card--wide {
  grid-column: 1 / -1;
}

.cashi-story-copy--wide {
  grid-column: 1 / -1;
}

.cashi-story-copy {
  padding: 56px 0 48px;
}

.cashi-story-copy h2 {
  margin: 0 0 20px;
  color: var(--cashi-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.cashi-story-copy p {
  max-width: 940px;
  margin: 0;
  color: var(--cashi-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cashi-story-copy p + p {
  margin-top: 24px;
}

.cashi-story-copy strong {
  color: var(--cashi-text);
  font-weight: 600;
}

.cashi-deposit-crypto-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.cashi-deposit-crypto-insights h3 {
  margin: 0 0 28px;
  color: var(--cashi-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.cashi-story-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cashi-story-card figcaption {
  display: grid;
  gap: 20px;
  padding: 56px 0 72px;
  color: var(--cashi-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cashi-story-card figcaption strong {
  color: var(--cashi-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.cashi-story-card figcaption .cashi-story-insight {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.cashi-case p,
.cashi-case .cashi-story-card figcaption span {
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

.cashi-case .token-reflection {
  max-width: 990px;
  margin: 88px auto 0;
}

.cashi-test-video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 48px;
  overflow: hidden;
  border-radius: 22px;
  background: #180600;
}

.cashi-story-card .cashi-test-video {
  margin-top: 0;
}

.cashi-case .related-project-card h2 {
  color: var(--cashi-text);
}

.cashi-case .related-project-card p {
  color: var(--cashi-muted);
}

@media (max-width: 900px) {
  .cashi-case .case-title-hero {
    min-height: 280px;
    margin-bottom: 28px;
  }

  .cashi-case .case-title-hero .case-tags {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .bloom-story-copy--wide {
    grid-column: auto;
  }

  .bloom-story-copy {
    padding: 32px 0 24px;
  }

  .bloom-story-pair--wide {
    grid-column: auto;
  }

  .bloom-story-pair {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0 24px;
  }

  .cashi-flow-intro {
    margin-bottom: 56px;
  }

  .cashi-story-grid {
    grid-template-columns: 1fr;
  }

  .cashi-story-card--wide {
    grid-column: auto;
  }

  .cashi-story-copy--wide {
    grid-column: auto;
  }

  .cashi-deposit-crypto-insights {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }

  .cashi-story-copy {
    padding: 32px 0 24px;
  }

  .cashi-story-card figcaption {
    padding: 32px 0 48px;
  }
}

@media (max-width: 560px) {
  .cashi-case .case-title-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }
}

/* Shared case-study spacing: section breaks stay larger than content gaps. */
.case-redesign {
  --case-section-space: clamp(48px, 6vw, 80px);
  --case-content-space: clamp(24px, 3vw, 40px);
  padding-top: clamp(24px, 3vw, 40px);
}

.case-redesign .token-case-hero {
  margin-top: 0;
  margin-bottom: var(--case-section-space);
}

.case-redesign .token-case-overview {
  gap: 32px 48px;
  margin-bottom: var(--case-section-space);
}

.case-redesign .token-case-overview > div { padding: 0; }
.case-redesign .token-side-facts { padding: 0 !important; }

.case-redesign .cashi-flow-intro { margin-bottom: var(--case-content-space); }

.case-redesign :is(.token-story-copy, .bloom-story-copy, .bloom-story-pair, .cashi-story-copy) {
  padding: calc(var(--case-section-space) - 16px) 0 calc(var(--case-content-space) - 16px);
}

.case-redesign .cashi-story-card figcaption {
  padding: var(--case-content-space) 0 24px;
}

.case-redesign .cashi-story-card figcaption .cashi-story-insight { margin-top: 16px; }
.case-redesign .cashi-deposit-crypto-insights { margin-top: var(--case-content-space); }
.case-redesign .token-reflection { margin-top: var(--case-section-space); }
.case-redesign .related-projects { margin-top: var(--case-section-space); }
.case-redesign .related-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 720px) {
  .case-redesign .related-project-grid { grid-template-columns: 1fr; }
}

/* Content-sized heroes avoid empty space beneath shorter titles. */
.case-redesign .case-title-hero {
  min-height: 0;
  padding-top: 24px;
  margin-bottom: var(--case-section-space);
  justify-content: flex-start;
}

.case-redesign .case-title-hero h1 {
  max-width: 860px;
  margin-top: 0;
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}

@media (max-width: 900px) {
  .case-redesign .case-title-hero { padding-top: 16px; }
}

@media (max-width: 560px) {
  .case-redesign .case-title-hero h1 { font-size: clamp(34px, 9vw, 48px); }
}

/* Let overview and sidebar copy use the full width of their layout column. */
.case-redesign :is(.token-overview-copy, .case-sidebar) {
  max-width: none;
}
