/* ============================================================
   Case Study detail pages (Coeur / OceanaGold / South32) — v2a
   .page-hero--case-study is a bottom-aligned MODIFIER of the
   shared .page-hero system in styles.css — adds a back-link,
   customer logo badge, and location meta. Only properties that
   differ from the base .page-hero live here.
   ============================================================ */

.page-hero--case-study{color:var(--white);isolation:isolate;align-items:flex-end;min-height:560px;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--oceanagold{background-image:url(../images/hero-oceanagold.webp)}
.page-hero__bg--south32{background-image:url(../images/hero-south32.webp)}
.page-hero__bg--coeur{background-image:url(../images/hero-kensington.webp);background-position:50% 100%}
.page-hero--case-study:after{content:"";z-index:-1;background:linear-gradient(#10141859 0%, #10141850 55%, #1014188c 100%), linear-gradient(90deg, #10141845 0%, #1014180a 60%);position:absolute;inset:0}
.page-hero--case-study .page-hero__inner{max-width:820px;padding-bottom:1rem}
.page-hero--case-study .page-hero__back{font-family:var(--font-display);color:#ffffffb3;letter-spacing:.06em;transition:color var(--motion-color);align-items:center;gap:.45rem;margin-bottom:1.4rem;font-size:.82rem;font-weight:600;display:inline-flex}
.page-hero--case-study .page-hero__back:hover{color:var(--white)}
.page-hero--case-study .page-hero__back svg{width:14px;height:14px}
.page-hero--case-study .page-hero__meta{align-items:center;gap:1.2rem;margin-bottom:1rem;display:flex}
.page-hero--case-study .page-hero__logo{filter:brightness(0) invert() opacity(.85);width:auto;height:70px}
.page-hero--case-study .page-hero__location{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--sage);text-shadow:0 1px 8px #0009;font-size:.72rem;font-weight:700}
.page-hero--case-study h1{color:var(--white);text-shadow:0 2px 18px #0009;margin-bottom:0;font-size:clamp(2rem,4vw,3.2rem)}

/* At a glance */
.cs-glance{background:var(--paper)}
.cs-glance__grid{grid-template-columns:1fr 1fr;align-items:start;gap:clamp(2.5rem,6vw,5rem);display:grid}
.cs-glance__summary h2{margin-bottom:1.1rem;font-size:clamp(1.35rem,2.2vw,1.75rem)}
.cs-glance__summary p{color:var(--slate);font-size:var(--fs-lead)}
.cs-blockquote{border-left:3px solid var(--mvs-green);padding:1.4rem 0 1.4rem 1.8rem}
.cs-blockquote p{color:var(--ink);margin-bottom:.8rem;font-size:clamp(1.05rem,1.7vw,1.2rem);font-style:italic;line-height:1.65}
.cs-blockquote cite{color:var(--slate);font-size:.88rem;font-style:normal;line-height:1.5;display:block}
.cs-blockquote cite strong{color:var(--ink);font-style:normal;font-weight:600;display:block}

/* Situation / Solutions / Benefits content sections */
.cs-content{border-top:1px solid var(--line)}
.cs-section{background:#F4F5F0;border-bottom:1px solid var(--line)}
.cs-content .cs-section:nth-of-type(even){background:#E0E1D7}
.cs-section:nth-child(2n){background:var(--paper)}
.cs-section__grid{grid-template-columns:240px 1fr;align-items:start;gap:clamp(2rem,5vw,4.5rem);padding-block:clamp(2.5rem,5vw,4rem);display:grid}
.cs-section__label{position:sticky;top:100px}
.cs-section__label .eyebrow{margin-bottom:.6rem}
.cs-section__label p{color:var(--slate);font-size:.9rem}
.cs-section__body h3{margin-bottom:1.2rem;font-size:clamp(1.2rem,2vw,1.5rem)}
.cs-section__body p{color:var(--slate);margin-bottom:1rem}
.cs-section__body p:last-child{margin-bottom:0}
.cs-section__body ul{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}
.cs-section__body ul li{color:var(--slate);font-size:var(--fs-body);align-items:flex-start;gap:.75rem;display:flex}
.cs-section__body ul li:before{content:"";background:var(--mvs-green);border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:.55em}

/* Closing graphic — Ink background */
.cs-graphic{background:var(--ink)}
.cs-graphic__inner{text-align:center;flex-direction:column;align-items:center;padding-block:clamp(3rem,6vw,5rem);display:flex}
.cs-graphic__icons{display:flex;gap:clamp(2.5rem,7vw,6rem);align-items:flex-start;justify-content:center}
.cs-graphic__icon{display:flex;flex-direction:column;align-items:center;gap:1.1rem;flex:0 0 auto}
.cs-graphic__icon img{width:clamp(80px,10vw,120px);height:auto}
.cs-graphic__icon figcaption{font-family:var(--font-display);font-size:.82rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#ffffffb3;text-align:center;max-width:130px;line-height:1.45}
.cs-graphic__caption{font-family:var(--font-display);color:#ffffff8c;letter-spacing:.06em;margin-top:2rem;font-size:.82rem}

@media (width<=860px){
  .cs-glance__grid,.cs-section__grid{grid-template-columns:1fr}
  .cs-section__label{position:static}
}

/* Video section */
.cs-video{background:var(--white);padding-block:clamp(2rem,4vw,3rem)}
.cs-video__thumb{position:relative;display:block;width:100%;max-width:1000px;margin-inline:auto;padding:0;border:0;cursor:pointer;border-radius:var(--radius-lg);overflow:hidden;background:var(--ink)}
.cs-video__thumb img{display:block;width:100%;height:auto;transition:filter var(--motion-color)}
.cs-video__thumb:hover img{filter:brightness(.85)}
.cs-video__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.cs-video__play svg{width:clamp(56px,6vw,80px);height:clamp(56px,6vw,80px);filter:drop-shadow(0 4px 20px rgba(0,0,0,.55));transition:opacity var(--motion-color)}
.cs-video__thumb:hover .cs-video__play svg{opacity:.85}

/* Lightbox */
.video-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.88);opacity:0;visibility:hidden;transition:opacity .32s var(--ease),visibility .32s var(--ease)}
.video-lightbox.is-open{opacity:1;visibility:visible}
.video-lightbox__close{position:absolute;top:1.25rem;right:1.25rem;background:rgba(255,255,255,.12);border:0;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:background .12s var(--ease)}
.video-lightbox__close:hover{background:rgba(255,255,255,.28)}
.video-lightbox__close svg{width:20px;height:20px}
.video-lightbox__frame{width:min(92vw,1080px);aspect-ratio:16/9}
.video-lightbox__frame iframe{width:100%;height:100%;border:0;border-radius:var(--radius)}
