/* =========================================================
   CASE STUDY PAGES
   ========================================================= */

/* Hero — full-width background image with dark overlay + centred text */
.case-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.case-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.case-hero__eyebrow {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
}

.case-hero__title {
  font-size: clamp(2.4rem, 1vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

.case-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #fff;
  opacity: 0.9;
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

/* Narrower wrap for prose — comfortable reading width (~720px).
   Use inside case study sections for text; use standard .wrap for figures. */
.wrap--prose {
  max-width: 720px;
}

.wrap--prose ul{
  margin: -1em 0em 0em 0em;
}

.wrap--prose ul li{
  margin: -0.1em 0em 0em 0em;
}

/* Figures — image + caption blocks */
.case-figure {
  margin: 32px 0 0;
}

.case-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 2px solid #888;
}

.case-figure figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  padding: 0 12px;
}
