/* ==========================================================================
   Customer story (case study) pages — /case-study/<slug>/
   Builds on the shared article classes (.article-hero, .breadcrumb, .prose,
   .callout--slate, .cards--related) in styles.css.
   ========================================================================== */

/* Hero ------------------------------------------------------------------ */

.case-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.case-hero__title {
  margin-top: 20px; max-width: 1080px;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em;
  color: var(--navy);
}
.case-hero__lede { margin-top: 24px; max-width: 820px; font-size: 21px; line-height: 1.55; color: var(--slate); }
.case-hero .container--wide { padding-bottom: 24px; }

/* Photo + fact file panel */
.case-media { display: flex; flex-wrap: wrap; border-radius: 32px; overflow: hidden; }
.case-media__photo { flex: 3 1 min(520px, 100%); min-height: 440px; position: relative; }
.case-media__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.case-facts { flex: 2 1 min(380px, 100%); background: var(--navy); padding: 36px; }
.case-facts__title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 18px; font-weight: 700; color: var(--white);
}
.case-facts dl { margin: 0; }
.case-facts__row {
  display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.case-facts dt { flex: 0 0 170px; font-size: 13px; font-weight: 600; color: #DDF3EF; }
.case-facts dd { flex: 1 1 220px; margin: 0; font-size: 16px; line-height: 1.45; color: var(--white); }

/* Story body ------------------------------------------------------------ */

.case-body > .container--threaded { padding-top: 56px; padding-bottom: 96px; }
.case-prose { max-width: 780px; }
.case-prose > p { color: var(--ink); }
.case-prose > h2 { margin-top: 52px; }

.case-quote { margin: 48px 0; padding: 0; }
.case-quote__mark { height: 44px; font-size: 96px; line-height: 1; font-weight: 700; color: var(--teal-bright); }
.case-quote blockquote {
  margin: 0; font-size: 28px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em;
  color: var(--navy);
}
.case-quote figcaption {
  margin-top: 18px; display: flex; align-items: center; gap: 12px;
  font-size: 15px; line-height: 1.4; color: var(--slate);
}
.case-quote figcaption::before { content: ""; flex: none; width: 32px; height: 2px; background: var(--teal); }
.case-quote cite { font-style: italic; }

/* More customer stories ------------------------------------------------- */

.case-more .list-head .feature__more { padding: 8px 0; }
.case-more .cards--related .card__media { height: 170px; }
.case-more .card__body { padding: 22px; gap: 8px; }
.case-more .card__meta { font-size: 13px; font-weight: 600; color: var(--petrol); }
.case-more .cards--related .card__title { font-size: 18px; }
.case-more .card__media img { display: block; }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 720px) {
  .case-hero__lede { font-size: 18px; }
  .case-media { border-radius: 24px; }
  .case-media__photo { min-height: 240px; }
  .case-facts { padding: 28px 24px; }
  .case-facts dt { flex-basis: 100%; }
  .case-body > .container--threaded { padding-top: 40px; padding-bottom: 72px; }
  .case-prose > p { font-size: 18px; }
  .case-prose > h2 { margin-top: 40px; font-size: 28px; }
  .case-quote { margin: 36px 0; }
  .case-quote__mark { height: 36px; font-size: 80px; }
  .case-quote blockquote { font-size: 22px; }
}
