/* =========================================================================
   Single Case Study page (e.g. /case-study/dienst-consulting/)
   Ported 1:1 from the design mock. ALL selectors are scoped under .csd-page
   so the global body, universal and .container resets cannot leak into the
   site header/footer. Enqueued only on the single case-study page.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --deep:     #23044C;
  --navy:     #262946;
  --coral:    #D90041;
  --coral-2:  #FD625E;
  --cream:    #F8F5F0;
  --paper:    #FFFFFF;
  --ink:      #1A1B2E;
  --ink-2:    #3A3C52;
  --ink-3:    #8B8D9F;
  --rule:     rgba(26,27,46,0.10);
  --rule-2:   rgba(26,27,46,0.06);
}

.csd-page *, .csd-page *::before, .csd-page *::after { box-sizing: border-box; }

.csd-page {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--paper);
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* The post-content wrapper must not re-impose theme width/padding/gap. */
.csd-page .wp-block-post-content { max-width: none; margin: 0; padding: 0; }
.csd-page .wp-block-post-content > * { margin-top: 0; margin-bottom: 0; }

/* ── Reading progress ───────────────────────────── */
.csd-page .reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--coral);
  z-index: 200;
  transition: width .1s linear;
}

/* ── Utility ────────────────────────────────────── */
.csd-page .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.csd-page .label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.csd-page .label--coral { color: var(--coral-2); }
.csd-page .label--muted { color: var(--ink-3); }
.csd-page .label--white { color: rgba(255,255,255,0.5); }

/* ── Hero ───────────────────────────────────────── */
.csd-page .csd-hero {
  background: var(--deep);
  color: #fff;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.csd-page .csd-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(253,98,94,0.16), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(38,41,70,0.8), transparent 60%);
  pointer-events: none;
}
.csd-page .csd-hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 72px;
}
.csd-page .csd-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.csd-page .csd-hero__breadcrumb a {
  font-size: 12px; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color .2s;
}
.csd-page .csd-hero__breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.csd-page .csd-hero__breadcrumb span { color: rgba(255,255,255,0.2); font-size: 12px; }
.csd-page .csd-hero__client {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.csd-page .csd-hero__logo {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center;
}
.csd-page .csd-hero__logo img {
  height: 52px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.csd-page .csd-hero__meta { font-size: 14px; color: rgba(255,255,255,0.75); }
.csd-page .csd-hero__meta strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.csd-page .csd-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.csd-page .csd-hero__title em { font-style: italic; color: var(--coral-2); }
.csd-page .csd-hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

/* Result cards in hero */
.csd-page .csd-hero__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.csd-page .csd-result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .25s, background .25s;
}
.csd-page .csd-result-card:hover {
  border-color: rgba(253,98,94,0.35);
  background: rgba(255,255,255,0.10);
}
.csd-page .csd-result-card--wide { grid-column: span 2; }
.csd-page .csd-result-card__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--coral-2);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.csd-page .csd-result-card__label {
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  line-height: 1.4;
}

/* Industry tag strip */
.csd-page .csd-hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  position: relative; z-index: 1;
}
.csd-page .csd-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px; border-radius: 999px;
}

/* ── Page body layout ───────────────────────────── */
.csd-page .csd-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Story rail (left sidebar) ──────────────────── */
.csd-page .csd-rail {
  position: relative;
  padding-top: 64px;
}
.csd-page .csd-rail__sticky {
  position: sticky;
  top: 40px;
}
.csd-page .csd-rail__label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.csd-page .csd-rail__spine {
  position: relative;
  padding-left: 28px;
}
.csd-page .csd-rail__spine::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--rule);
  border-radius: 1px;
}
.csd-page .csd-rail__spine-fill {
  position: absolute;
  left: 5px; top: 8px;
  width: 2px;
  height: 0%;
  background: var(--coral);
  border-radius: 1px;
  transition: height .2s ease;
  z-index: 1;
}
.csd-page .csd-rail__item {
  position: relative;
  margin-bottom: 18px;
  cursor: pointer;
}
.csd-page .csd-rail__item::before {
  content: "";
  position: absolute;
  left: -28px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(26,27,46,0.18);
  transition: border-color .2s, background .2s, transform .2s;
  z-index: 2;
}
.csd-page .csd-rail__item.is-active::before {
  border-color: var(--coral);
  background: var(--coral);
  transform: scale(1.15);
}
.csd-page .csd-rail__item.is-done::before {
  border-color: var(--coral);
  background: var(--coral);
}
.csd-page .csd-rail__item.is-active .csd-rail__item-label { color: var(--ink); font-weight: 600; }
.csd-page .csd-rail__item-label {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  transition: color .2s;
  text-decoration: none;
  display: block;
  padding-top: 1px;
}
.csd-page .csd-rail__item-label:hover { color: var(--coral); }

/* Persistent CTA in rail */
.csd-page .csd-rail__cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.csd-page .csd-rail__cta-label {
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 14px; line-height: 1.5;
}
.csd-page .csd-rail__cta-btn {
  display: block;
  background: var(--coral);
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  line-height: 1.3;
  transition: background .2s, transform .15s;
}
.csd-page .csd-rail__cta-btn:hover { background: var(--coral-2); transform: translateY(-1px); }

/* ── Article content ────────────────────────────── */
.csd-page .csd-article {
  padding: 64px 0 100px 64px;
  border-left: 1px solid var(--rule);
  min-width: 0;
}

/* Section wrapper */
.csd-page .csd-section {
  padding-top: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-2);
}
.csd-page .csd-section:last-child { border-bottom: none; }

.csd-page .csd-section__eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral-2);
  margin-bottom: 16px;
}
.csd-page .csd-section__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px;
}

/* Body prose */
.csd-page .csd-prose {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 660px;
}
.csd-page .csd-prose p { margin: 0 0 20px; }
.csd-page .csd-prose p:last-child { margin-bottom: 0; }
.csd-page .csd-prose strong { color: var(--ink); font-weight: 600; }

/* Section diagram panel (e.g. ABM structure) */
.csd-page .csd-diagram {
  margin: 36px 0 0;
  background: var(--deep);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.csd-page .csd-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(253, 98, 94, 0.12), transparent 55%);
  pointer-events: none;
}
.csd-page .csd-diagram img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
}

/* Client overview grid */
.csd-page .csd-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.csd-page .csd-overview__item {
  background: var(--cream);
  border-radius: 10px;
  padding: 20px;
}
.csd-page .csd-overview__icon {
  width: 32px; height: 32px;
  background: rgba(217,0,65,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.csd-page .csd-overview__icon svg { width: 16px; height: 16px; }
.csd-page .csd-overview__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.csd-page .csd-overview__value {
  font-size: 15px; font-weight: 600;
  color: var(--ink); line-height: 1.4;
}

/* Challenge bullets */
.csd-page .csd-bullets {
  list-style: none;
  padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 660px;
}
.csd-page .csd-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 17px; color: var(--ink-2); line-height: 1.75;
}
.csd-page .csd-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 9px;
}

/* Approach steps */
.csd-page .csd-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 32px; max-width: 660px;
  border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden;
}
.csd-page .csd-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  border-bottom: 1px solid var(--rule);
}
.csd-page .csd-step:last-child { border-bottom: none; }
.csd-page .csd-step__num {
  display: flex; align-items: flex-start;
  justify-content: center;
  padding: 20px 0 20px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 600;
  color: var(--coral-2);
  border-right: 1px solid var(--rule);
  line-height: 1.6;
}
.csd-page .csd-step__body { padding: 20px 24px; }
.csd-page .csd-step__title {
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.csd-page .csd-step__desc {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.7; margin: 0;
}

/* Tactics pill list */
.csd-page .csd-tactics {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.csd-page .csd-tactic {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 8px 16px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
}
.csd-page .csd-tactic::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* Results section */
.csd-page .csd-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.csd-page .csd-result {
  background: var(--deep);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.csd-page .csd-result::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(253,98,94,0.18), transparent 60%);
  pointer-events: none;
}
.csd-page .csd-result__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  color: var(--coral-2);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.csd-page .csd-result__label {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
  position: relative; z-index: 1;
}
.csd-page .csd-result--wide { grid-column: span 2; }

/* Pull quote — inline in article */
.csd-page .csd-pullquote {
  margin: 48px 0;
  padding: 32px 0 32px 32px;
  border-left: 3px solid var(--coral);
  max-width: 600px;
}
.csd-page .csd-pullquote__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.csd-page .csd-pullquote__attr {
  display: flex; align-items: center; gap: 12px;
}
.csd-page .csd-pullquote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--rule);
}
.csd-page .csd-pullquote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.csd-page .csd-pullquote__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.csd-page .csd-pullquote__role { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* Featured testimonial block */
.csd-page .csd-testimonial {
  background: var(--deep);
  border-radius: 16px;
  padding: 48px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.csd-page .csd-testimonial::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(253,98,94,0.14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(38,41,70,0.5), transparent 55%);
  pointer-events: none;
}
.csd-page .csd-testimonial__quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  position: relative; z-index: 1;
  border-left: 3px solid var(--coral);
  padding-left: 24px;
}
.csd-page .csd-testimonial__attr {
  display: flex; align-items: center;
  gap: 16px;
  position: relative; z-index: 1;
  padding-left: 27px;
}
.csd-page .csd-testimonial__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.csd-page .csd-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.csd-page .csd-testimonial__name {
  font-size: 16px; font-weight: 600;
  color: #fff; line-height: 1.3;
}
.csd-page .csd-testimonial__role { font-size: 14px; color: rgba(255,255,255,0.70); margin-top: 3px; }

/* Video testimonial button */
.csd-page .csd-video-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 18px 10px 10px;
  cursor: pointer; border-style: solid;
  transition: background .2s, border-color .2s;
  position: relative; z-index: 1;
}
.csd-page .csd-video-trigger:hover { background: var(--coral); border-color: var(--coral); }
.csd-page .csd-video-trigger__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.csd-page .csd-video-trigger:hover .csd-video-trigger__icon { background: rgba(255,255,255,0.2); }
.csd-page .csd-video-trigger__icon svg { fill: #fff; width: 12px; height: 12px; margin-left: 2px; }

/* Inline CTA */
.csd-page .csd-inline-cta {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  margin-top: 64px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.csd-page .csd-inline-cta__eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-2); margin-bottom: 8px;
}
.csd-page .csd-inline-cta__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); margin: 0 0 8px;
}
.csd-page .csd-inline-cta__sub { font-size: 16px; color: var(--ink-2); margin: 0; }
.csd-page .csd-inline-cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--coral); color: #fff;
  text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 600;
  padding: 14px 28px; border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.csd-page .csd-inline-cta__btn:hover { background: var(--coral-2); transform: translateY(-1px); }

/* ── Modal ──────────────────────────────────────── */
.csd-page .modal {
  display: none; position: fixed; inset: 0;
  background: rgba(10,11,24,0.88);
  backdrop-filter: blur(10px);
  z-index: 100; align-items: center; justify-content: center;
  padding: 24px;
}
.csd-page .modal.is-open { display: flex; }
.csd-page .modal__panel {
  background: var(--paper); border-radius: 16px;
  max-width: 820px; width: 100%;
  overflow: hidden; position: relative;
  animation: csd-slideUp .3s ease;
}
@keyframes csd-slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.csd-page .modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(26,27,46,0.10);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background .2s;
}
.csd-page .modal__close:hover { background: rgba(26,27,46,0.18); }
.csd-page .modal__close svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.csd-page .modal__video { aspect-ratio: 16/9; background: var(--deep); width: 100%; }
.csd-page .modal__video video { width: 100%; height: 100%; display: block; }
.csd-page .modal__body { padding: 28px 32px 32px; }
.csd-page .modal__quote {
  font-size: 16px; font-style: italic; font-weight: 500;
  color: var(--ink); line-height: 1.6;
  margin: 0 0 18px; padding-left: 18px;
  border-left: 3px solid var(--coral);
}
.csd-page .modal__attr { display: flex; align-items: center; gap: 12px; }
.csd-page .modal__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.csd-page .modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.csd-page .modal__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.csd-page .modal__role { font-size: 13px; color: var(--ink-3); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .csd-page .csd-body { grid-template-columns: 1fr; padding: 0 24px; }
  .csd-page .csd-rail { display: none; }
  .csd-page .csd-article { padding: 48px 0 80px; border-left: none; }
  .csd-page .csd-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .csd-page .csd-results-grid { grid-template-columns: 1fr 1fr; }
  .csd-page .csd-result--wide { grid-column: span 2; }
  .csd-page .csd-overview { grid-template-columns: 1fr 1fr; }
  .csd-page .csd-inline-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .csd-page .csd-hero { padding: 60px 0 0; }
  .csd-page .csd-hero__results { grid-template-columns: 1fr 1fr; }
  .csd-page .csd-results-grid { grid-template-columns: 1fr; }
  .csd-page .csd-result--wide { grid-column: span 1; }
  .csd-page .csd-overview { grid-template-columns: 1fr; }
  .csd-page .container { padding: 0 20px; }
  .csd-page .csd-testimonial { padding: 32px 24px; }
  .csd-page .csd-section { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
  .csd-page .csd-hero__results { grid-template-columns: 1fr; }
  .csd-page .csd-result-card--wide { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .csd-page * { animation: none !important; transition: none !important; }
}

/* Logo marquee (matches Case Studies Hero) */
.csd-page .hero__marquee-wrap {
  position: relative;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.csd-page .hero__marquee-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 0 0 28px;
}
.csd-page .hero__marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 16px;
}
.csd-page .hero__marquee:last-child { margin-bottom: 0; }
.csd-page .hero__marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
.csd-page .hero__marquee-track--left {
  animation: csd-marquee-left 40s linear infinite;
}
.csd-page .hero__marquee-track--right {
  animation: csd-marquee-right 44s linear infinite;
}
@keyframes csd-marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes csd-marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.csd-page .hero__marquee-track img {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  transition: opacity .2s;
}
.csd-page .hero__marquee-track img:hover { opacity: 0.85; }

/* Hero video (optional, replaces result cards) */
.csd-page .csd-video-embed { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 16/9; background: var(--deep); }
.csd-page .csd-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.csd-page .csd-hero__video .csd-video-embed { border: 1px solid rgba(255,255,255,0.12); }

/* Initials avatar when no photo is set */
.csd-page .csd-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1;
}
.csd-page .csd-pullquote__avatar.csd-avatar--initials { background: var(--cream); color: var(--deep); font-size: 15px; }
.csd-page .csd-testimonial__avatar.csd-avatar--initials { background: rgba(255,255,255,0.1); color: #fff; font-size: 18px; }
