/* ============================================================
   Case Studies — index/listing page — Graphite & Olive v2a
   Generic .page-hero variant (eyebrow + h1 + lead, centered) +
   .cs-intro lead-in + .cs-card editorial case study blocks.
   Also the source of .cs-quote, reused by expert-services.css.
   ============================================================ */

.page-hero{color:var(--white);isolation:isolate;align-items:center;min-height:600px;padding-block:5rem;display:flex;overflow:hidden}
.page-hero__bg{z-index:-2;background-position:50%;background-size:cover;position:absolute;inset:0}
.page-hero__bg--cases{background-image:url(../images/hero-case-studies.webp)}
.page-hero:after{content:"";z-index:-1;background:linear-gradient(90deg, #101418a0 0%, #1014187a 45%, #10141840 100%), linear-gradient(#10141800 40%, #1014185c);position:absolute;inset:0}
.page-hero__inner{max-width:760px}
.page-hero .eyebrow{color:var(--sage)}
.page-hero h1{color:var(--white);text-shadow:0 2px 18px #0009;margin-bottom:1.3rem;font-size:clamp(2.4rem,4.6vw,3.8rem)}
.page-hero p{font-size:var(--fs-lead);color:var(--white);text-shadow:0 1px 12px #0009;max-width:600px}

/* Intro lead-in */
.cs-intro{background:var(--paper);padding-block:clamp(2.5rem,4vw,3.5rem)}
.cs-intro p{font-size:var(--fs-lead);color:var(--slate);max-width:760px}

/* Editorial case study block — zebra-striped Paper / White */
.cs-section{background:var(--white);border-top:1px solid var(--line)}
.cs-section:nth-child(2n){background:var(--paper)}
.cs-card{max-width:960px;margin-inline:auto;padding-block:clamp(3rem,6vw,5rem)}
.cs-card__header{align-items:center;gap:1.8rem;margin-bottom:1.6rem;display:flex}
.cs-card__logo{filter:grayscale() brightness(0) opacity(.65);width:auto;height:36px}
.cs-card__location{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--olive-text);font-size:.72rem;font-weight:700}
.cs-card__headline{color:var(--ink);margin-bottom:2.4rem;font-size:clamp(1.7rem,3vw,2.4rem)}

.cs-details{grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-bottom:2.4rem;display:grid}
.cs-detail{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);padding:1.6rem;transition:border-color var(--motion-color), box-shadow var(--motion-color)}
.cs-detail:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
.cs-section:nth-child(2n) .cs-detail{background:var(--white)}
.cs-detail__label{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--olive-text);margin-bottom:.9rem;font-size:.7rem;font-weight:700;display:block}
.cs-detail h4{display:none}
.cs-detail p{color:var(--slate);font-size:.97rem;line-height:1.65}

/* Pull quote -- also reused by expert-services.html's .cx-quotes */
.cs-quote{border-left:3px solid var(--mvs-green);background:0 0;margin:0 0 2rem;padding:1.2rem 0 1.2rem 1.6rem}
.cs-quote p{color:var(--ink);margin-bottom:.6rem;font-size:clamp(1.05rem,1.8vw,1.2rem);font-style:italic;line-height:1.6}
.cs-quote cite{color:var(--slate);font-size:.88rem;font-style:normal;display:block}

.cs-card__cta{margin-top:.4rem}

@media (width<=760px){
  .cs-card__header{flex-direction:column;align-items:flex-start;gap:.8rem}
  .cs-details{grid-template-columns:1fr}
}

/* Case studies hero photo (Nov 2026): an aerial of a mine site in a forested
   valley, already dark on the left. Nick found the shared heavy fade too dark,
   so this one is light: a left-side fade behind the copy that clears by 65%,
   leaving the right of the photo untouched (full-frame below 900px, where the
   copy spans the width). Re-measure if the photo changes. */
.page-hero--cases:after{background:linear-gradient(90deg,#1014188c 0%,#10141866 30%,#10141826 50%,#10141800 65%)}
@media (width<=900px){.page-hero--cases:after{background:linear-gradient(90deg,#10141880 0%,#10141866 55%,#1014184d 100%)}}
