/* Case study pages (cst-*) */

body.body,
    .cst-hero,
    .cst-quicklook,
    .cst-content,
    .cst-insight,
    .cst-cta,
    .cst-more,
    .si-footer {
      font-family: "Afacad Flux", sans-serif;
    }

    body.body {
      background-color: #ffffff;
      color: #111111;
    }
    /* ============================================================
       CASE STUDY — HERO (dark split layout)
       ============================================================ */
    .cst-hero {
      background-color: #111111;
      padding: calc(1vw + 5.5rem) 5% 4.5rem;
      width: 100%;
    }

    .cst-hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      max-width: 75rem;
      margin: 0 auto;
      align-items: center;
    }

    .cst-hero-title {
      margin: 0 0 1.25rem;
      color: #ffffff;
      font-size: calc(1.4vw + 1.8rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.12;
    }

    .cst-hero-lead {
      margin: 0;
      color: rgba(255, 255, 255, 0.72);
      font-size: 1.1rem;
      line-height: 1.65;
      max-width: 36rem;
    }

    .cst-hero-metrics-label {
      display: block;
      margin: 2.5rem 0 1.25rem;
      color: #ffffff;
      font-size: 0.95rem;
      font-weight: 600;
    }

    .cst-hero-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.75rem 2rem;
      max-width: 36rem;
    }

    .cst-metric {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .cst-metric-icon {
      width: 1.35rem;
      height: 1.35rem;
      color: #e84a5f;
      flex-shrink: 0;
    }

    .cst-metric-stat {
      margin: 0;
      color: #ffffff;
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: -0.01em;
    }

    .cst-metric-desc {
      margin: 0;
      color: rgba(255, 255, 255, 0.58);
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .cst-hero-media {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
      border-radius: 6px;
      background: #1c1c1e;
    }

    /* ============================================================
       CASE STUDY — QUICK LOOK
       ============================================================ */
    .cst-quicklook {
      background-color: #f0f0f2;
      padding: 2.5rem 5%;
      width: 100%;
    }

    .cst-quicklook-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr 1fr 1fr;
      gap: 2rem;
      max-width: 75rem;
      margin: 0 auto;
      align-items: start;
    }

    .cst-quicklook-heading {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 700;
      color: #111111;
      letter-spacing: -0.01em;
      font-family: "Afacad Flux", sans-serif;
    }

    .cst-quicklook-col {
      padding-left: 2rem;
      border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .cst-quicklook-col--title {
      padding-left: 0;
      border-left: none;
    }

    .cst-quicklook-label {
      display: block;
      margin: 0 0 0.85rem;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(0, 0, 0, 0.45);
    }

    .cst-quicklook-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .cst-quicklook-list li {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #111111;
      padding-left: 0.85rem;
      position: relative;
    }

    .cst-quicklook-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background-color: #e84a5f;
    }

    .cst-client-logo {
      height: 28px;
      width: auto;
      display: block;
      filter: brightness(0) opacity(0.75);
      transition: filter 0.25s ease;
    }

    .cst-client-logo:hover {
      filter: brightness(0) opacity(0.9);
    }

    .cst-partner-logos {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1.25rem 1.5rem;
    }

    /* ============================================================
       CASE STUDY — CONTENT BLOCKS
       ============================================================ */
    .cst-content {
      background-color: #ffffff;
      padding: 2rem 5%;
      width: 100%;
    }

    .cst-content-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .cst-content h2,
    .cst-content h3,
    .cst-content p,
    .cst-content li {
      font-family: "Afacad Flux", sans-serif;
    }

    .cst-content h2 {
      margin: 0 0 1.75rem;
      font-size: 40px;
      font-weight: 700;
      color: #111111;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    .cst-content h3 {
      margin: 2.25rem 0 1rem;
      font-size: 30px;
      font-weight: 700;
      color: #111111;
      letter-spacing: -0.01em;
      line-height: 1.3;
    }

    .cst-content p {
      margin: 0 0 1.25rem;
      font-size: 20px;
      line-height: 1.7;
      color: #333335;
    }

    .cst-content ul {
      margin: 0 0 1.25rem;
      padding-left: 1.35rem;
    }

    .cst-content li {
      margin-bottom: 0.5rem;
      font-size: 20px;
      line-height: 1.65;
      color: #333335;
    }

    .cst-content a {
      color: #6b4ce6;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .cst-content em {
      font-style: italic;
    }

    .cst-results-table-wrap {
      width: 100%;
      overflow-x: auto;
      margin: 1.5rem 0 2rem;
      -webkit-overflow-scrolling: touch;
    }

    .cst-results-table {
      width: 100%;
      min-width: 28rem;
      border-collapse: collapse;
      font-family: "Afacad Flux", sans-serif;
    }

    .cst-results-table th {
      text-align: left;
      font-size: 0.95rem;
      font-weight: 600;
      color: #111111;
      padding: 0.75rem 0;
      border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    }

    .cst-results-table td {
      font-size: 1rem;
      line-height: 1.55;
      color: #333335;
      padding: 0.85rem 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.07);
      vertical-align: top;
    }

    .cst-results-table td:first-child {
      padding-right: 2rem;
      width: 42%;
    }

    .cst-results-table strong {
      font-weight: 600;
      color: #111111;
    }

    /* ============================================================
       CASE STUDY — CTA
       ============================================================ */
    .cst-cta {
      background-color: #111111;
      padding: 5rem 5%;
      width: 100%;
    }

    .cst-cta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      max-width: 75rem;
      margin: 0 auto;
      align-items: center;
    }

    .cst-cta-title {
      margin: 0;
      color: #ffffff;
      font-size: calc(1.2vw + 1.6rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    .cst-cta-body p {
      margin: 0 0 1.75rem;
      color: rgba(255, 255, 255, 0.72);
      font-size: 1.1rem;
      line-height: 1.65;
    }

    .cst-cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem 1.75rem;
      color: #ffffff;
      font-size: 1rem;
      font-weight: 500;
      text-decoration: none;
      border: 1px solid rgba(255, 255, 255, 0.85);
      border-radius: 9999px;
      background: transparent;
      transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
    }

    .cst-cta-btn:hover {
      background-color: #ffffff;
      color: #111111;
      border-color: #ffffff;
    }

    /* ============================================================
       CASE STUDY — MORE CASE STUDIES
       ============================================================ */
    .cst-more {
      background-color: #f5f5f7;
      padding: 4rem 5% 5rem;
      width: 100%;
    }

    .cst-more-inner {
      max-width: 75rem;
      margin: 0 auto;
      width: 100%;
    }

    .cst-more-title {
      margin: 0 0 2.5rem;
      text-align: center;
      font-size: 1.5rem;
      font-weight: 600;
      color: #111111;
      letter-spacing: -0.01em;
    }

    .cst-more-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .cst-more-cta {
      text-align: center;
      margin-top: 2.5rem;
    }

    /* ============================================================
       CASE STUDY — INSIGHT SPOTLIGHT
       ============================================================ */
    .cst-insight {
      background-color: #ffffff;
      padding: 4rem 5%;
      width: 100%;
    }

    .cst-insight-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      max-width: 75rem;
      margin: 0 auto;
      border-radius: 8px;
      overflow: hidden;
      min-height: 320px;
    }

    .cst-insight-visual {
      background: #d0d0d4;
      min-height: 320px;
      border-radius: 20px;
    }

    .cst-insight-img {
      width: 100%;
      height: 100%;
      min-height: 320px;
      object-fit: cover;
      display: block;
      border-radius: 20px;
    }

    .cst-insight-quote {
      display: flex;
      align-items: center;
      background-color: #e8edf3;
      padding: 3rem 1.5rem;
      border-radius: 20px;
    }

    .cst-insight-text {
      font-family: "Afacad Flux", sans-serif;
      font-size: 24px;
      line-height: 1.55;
      color: #111111;
      font-weight: 400;
      margin: 0;
    }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media screen and (max-width: 1024px) {
      .cst-quicklook-grid {
        grid-template-columns: 1fr 1fr;
      }

      .cst-hero-grid {
        gap: 2.5rem;
      }

      .cst-cta-grid {
        gap: 2.5rem;
      }

      .cst-more-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }

      .si-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
      }

      .si-footer-brand {
        grid-column: 1 / -1;
        max-width: 28rem;
      }
    }

    @media screen and (max-width: 768px) {
      .cst-hero {
        padding: calc(1vw + 4.5rem) 1.25rem 3rem;
      }

      .cst-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .cst-hero-title {
        font-size: 1.85rem;
      }

      .cst-hero-metrics {
        grid-template-columns: 1fr;
        gap: 1.25rem;
      }

      .cst-quicklook {
        padding: 2rem 1.25rem;
      }

      .cst-quicklook-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .cst-quicklook-col {
        padding-left: 0;
        border-left: none;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
      }

      .cst-content {
        padding: 3.5rem 1.25rem;
      }

      .cst-content h2 {
        font-size: 30px;
      }

      .cst-insight {
        padding: 3rem 1.25rem;
      }

      .cst-insight-inner {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .cst-insight-visual {
        min-height: 220px;
      }

      .cst-insight-img {
        min-height: 220px;
      }

      .cst-insight-quote {
        padding: 2rem 1.5rem;
      }

      .cst-insight-text {
        font-size: 20px;
      }

      .cst-cta {
        padding: 3.5rem 1.25rem;
      }

      .cst-cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .cst-more {
        padding: 3rem 1.25rem 4rem;
      }

      .cst-more-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .projects-inst-card-title {
        font-size: 16px;
      }

      .si-footer {
        padding: 3rem 1.25rem 2rem;
      }

      .si-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .si-footer-brand {
        max-width: none;
      }

      .si-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 2.5rem;
      }
    }
