/* ============================================================
   Solutions pages (/solutions-geology, /solutions-geotechnical,
   /solutions-engineering, /solutions-operations) — reuses
   .page-hero / .fc-value-card / .fc-viewer / .roi-strip / .cta from
   facecapture.css, mine-app.css, and styles.css. This file adds only
   the deltas genuinely new to these pages.
   ============================================================ */

.page-hero__bg--solutions{background-image:url(../images/hero-team-wall-inspection.webp)}
/* Each discipline page uses the same photo as its card in the home page
   Solutions section (MVS_CONFIG.homeSolutions in js/site-config.js). If a
   card image changes there, change it here and in that page's preload too. */
.page-hero__bg--sol-geology{background-image:url(../images/hero-geology.webp)}
.page-hero__bg--sol-geotechnical{background-image:url(../images/hero-team-wall-inspection.webp)}
.page-hero__bg--sol-engineering{background-image:url(../images/hero-mine-intelligence.webp)}
.page-hero__bg--sol-operations{background-image:url(../images/hero-operations.webp)}
.page-hero__bg--contractors{background-image:url(../images/hero-contractors.webp)}

.uc-tools{flex-wrap:wrap;align-items:center;gap:.7rem;margin-top:2.2rem;display:flex}
.uc-tools__label{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--slate);font-size:.7rem;font-weight:700}
.uc-tool-chip{font-family:var(--font-display);color:var(--olive-text);background:var(--olive-soft);border-radius:999px;padding:.5rem 1.1rem;font-size:.85rem;font-weight:600;text-decoration:none;transition:background .12s var(--ease),color .12s var(--ease)}
.uc-tool-chip:hover{background:var(--green-200);color:var(--olive-text-hover)}

.uc-stat-row{grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:1.6rem;display:grid}
@media (width<=760px){.uc-stat-row{grid-template-columns:1fr}}
.uc-stat{background:var(--ink);border-radius:var(--radius-lg);padding:1.6rem 1.4rem}
.uc-stat__num{font-family:var(--font-display);color:var(--white);font-size:clamp(1.8rem,3vw,2.2rem);font-weight:700;line-height:1}
.uc-stat__per{font-size:.9rem;font-weight:600}
.uc-stat__label{color:#ffffffb3;font-size:.88rem;margin-top:.5rem;line-height:1.5}

/* Card status badges: icon + badge share a row, badge on the right */
.fc-value-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}


/* "Proof" customer line + quote (quote reuses case-study.css's .cs-blockquote
   visual, copied here rather than linking that whole file — it carries
   unscoped .page-hero__inner overrides that would leak onto this page). */
.uc-proof{margin-top:2.5rem}
.uc-proof__lead{color:var(--ink);font-size:1rem;line-height:1.65;margin:0 0 1.2rem}
.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}

/* ============================================================
   Box cut case study (Contractors page)
   ============================================================ */
.boxcut__intro{color:var(--slate);max-width:68ch;font-size:var(--fs-lead);line-height:1.6;margin-top:1rem}

.boxcut__media-row{grid-template-columns:1.2fr 1fr;align-items:start;gap:clamp(2rem,4vw,3.5rem);margin-top:3rem;display:grid}
@media (width<=900px){.boxcut__media-row{grid-template-columns:1fr}}
.boxcut__copy h3{font-size:1.2rem;margin-bottom:.8rem}
.boxcut__copy p{color:var(--slate);margin-bottom:1rem;line-height:1.65}
.boxcut__copy p:last-child{margin-bottom:0}

/* Video: black letterbox background, fixed-ratio wrapper so poster and
   markers never jump when the real video dimensions resolve. */
.boxcut-video{background:#000;border-radius:var(--radius-lg);position:relative;overflow:hidden}
.boxcut-video video{width:100%;height:auto;vertical-align:bottom;display:block}
.boxcut-video__toggle{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:var(--white);cursor:pointer;width:2.5rem;height:2.5rem;border-radius:50%;justify-content:center;align-items:center;transition:background var(--motion-color);display:flex;position:absolute;right:1rem;bottom:1rem}
.boxcut-video__toggle:hover{background:rgba(255,255,255,.28)}
.boxcut-video__toggle svg{width:1.1rem;height:1.1rem}
.boxcut-video__toggle .icon-pause{display:none}
.boxcut-video__toggle[data-playing="true"] .icon-play{display:none}
.boxcut-video__toggle[data-playing="true"] .icon-pause{display:block}
.boxcut-video__poster-play{background:rgba(16,20,24,.55);cursor:pointer;border:0;padding:0;width:100%;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}
.boxcut-video__poster-play.is-hidden{display:none}
.boxcut-video__poster-play svg{width:clamp(48px,6vw,64px);height:clamp(48px,6vw,64px);filter:drop-shadow(0 4px 20px rgba(0,0,0,.55))}

.boxcut-marker{background:var(--paper);color:var(--ink);border:1px solid var(--line);width:1.6rem;height:1.6rem;font-family:var(--font-mono);font-size:.8rem;font-weight:700;border-radius:3px;justify-content:center;align-items:center;transition:opacity .25s var(--ease);display:flex;position:absolute;transform:translate(-50%,-50%)}
.boxcut-marker.is-hidden{opacity:0;pointer-events:none}
/* Positions approximated against the scan: 1 crown pillar, 2 portal
   opening, 3 off-axis side of the opening, 4 floor above design line. */
.boxcut-marker--1{left:50%;top:45%}
.boxcut-marker--2{left:50%;top:79%}
.boxcut-marker--3{left:60%;top:69%}
.boxcut-marker--4{left:27%;top:93%}

.boxcut-table__heading{margin-top:3rem}

.boxcut-legend{color:var(--slate);align-items:center;gap:1.4rem;margin-top:1rem;font-size:.85rem;display:flex;flex-wrap:wrap}
.boxcut-legend__swatch{border-radius:2px;width:.75rem;height:.75rem;margin-right:.4rem;display:inline-block}
.boxcut-legend__swatch--scan{background:#c8d15a}
.boxcut-legend__swatch--design{background:#4f8fc0}
.boxcut-legend__caption{color:var(--slate);margin-top:.3rem;font-size:.85rem}

/* Deviation table: scrolls inside its own wrapper rather than reflowing
   into cards, so the row/column relationship stays intact on mobile. */
.boxcut-table-wrap{border:1px solid var(--line);border-radius:var(--radius-lg);margin-top:1.4rem;overflow-x:auto}
.boxcut-table{border-collapse:collapse;width:100%;min-width:560px}
.boxcut-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.boxcut-table th,.boxcut-table td{border-bottom:1px solid var(--line);padding:.85rem 1.1rem;text-align:left;font-size:.92rem}
.boxcut-table thead th{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--slate);font-size:.7rem;font-weight:700}
.boxcut-table tbody tr:last-child th,.boxcut-table tbody tr:last-child td{border-bottom:0}
.boxcut-table tbody th{color:var(--ink);font-weight:600}
.boxcut-table td.num{font-family:var(--font-mono);color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
/* Headers over the numeric columns (As-built, Design, Deviation) align with their data. */
.boxcut-table thead th:nth-child(n+3){text-align:right}
.boxcut-table tbody th:first-child{color:var(--slate);font-weight:400;width:2.5rem}

.boxcut-costs{grid-template-columns:1fr 1fr;gap:1.4rem;margin-top:2.2rem;display:grid}
@media (width<=680px){.boxcut-costs{grid-template-columns:1fr}}
.boxcut-cost-card{border-radius:var(--radius-lg);padding:1.8rem 1.8rem}
.boxcut-cost-card--green{background:var(--olive-soft)}
.boxcut-cost-card--neutral{background:var(--stone-200)}
.boxcut-cost-card__label{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:700;margin-bottom:.8rem;display:block}
.boxcut-cost-card--green .boxcut-cost-card__label{color:var(--olive-text)}
.boxcut-cost-card--neutral .boxcut-cost-card__label{color:var(--stone-600)}
.boxcut-cost-card__figure{font-family:var(--font-display);font-size:clamp(1.5rem,2.6vw,1.9rem);font-weight:700;line-height:1.15;margin-bottom:.8rem}
.boxcut-cost-card--green .boxcut-cost-card__figure{color:var(--olive-deep)}
.boxcut-cost-card--neutral .boxcut-cost-card__figure{color:var(--ink)}
.boxcut-cost-card__figure sup{font-size:.55em;margin-left:.1em}
.boxcut-cost-card p{color:var(--ink);margin:0;font-size:.92rem;line-height:1.6}
.boxcut-costs__note{color:var(--ink);text-align:center;max-width:56ch;margin:1.8rem auto 0;font-size:clamp(1.05rem,1.6vw,1.2rem);font-weight:600;line-height:1.5}

.boxcut-outcomes{grid-template-columns:repeat(2,1fr);gap:2rem 2.2rem;margin-top:2.6rem;display:grid}
@media (width<=760px){.boxcut-outcomes{grid-template-columns:1fr}}
.boxcut-outcomes__item{border-left:3px solid var(--mvs-green);padding:.2rem 0 .2rem 1.2rem}
.boxcut-outcomes__item h3{font-family:var(--font-display);color:var(--ink);font-size:1.05rem;font-weight:600;margin:0 0 .5rem}
.boxcut-outcomes__item p{color:var(--slate);font-size:.95rem;line-height:1.6;margin:0}

.boxcut-download{background:none;border:0;padding:0;color:var(--olive-text);cursor:pointer;font-family:var(--font-body);align-items:center;gap:.6rem;margin-top:2.4rem;font-size:.95rem;font-weight:600;display:inline-flex}
.boxcut-download:hover{color:var(--olive-text-hover)}
.boxcut-download svg{width:1.1rem;height:1.1rem;color:var(--mvs-green)}
.boxcut-download__meta{color:var(--slate);font-weight:400}

.boxcut-footnotes{color:var(--slate);border-top:1px solid var(--line);margin-top:2.4rem;padding-top:1.2rem;font-size:.82rem;line-height:1.7}
.boxcut-footnotes a{color:var(--olive-text);margin-left:.5rem;font-size:.88em;text-decoration:none}
.boxcut-footnotes a:hover{color:var(--olive-text-hover);text-decoration:underline}

/* /solutions-contractors #case-study: the shared .cases section on the bone ground. */
.cases--bone{background:var(--ground-bone)}

/* Nine-card grid on /solutions-geotechnical: 3 x 3 above 900px. At and
   below 900px the shared .fc-value-cards rules take over (2 across, then 1). */
@media (width>900px){.fc-value-cards--3up{grid-template-columns:repeat(3,1fr)}}

/* ============================================================
   Impact band: full-bleed section on the bone ground after the
   "What you can see" cards on the five Solutions pages. Markup
   comes from js/impact-band.js, copy from
   MVS_CONFIG.solutionsImpact. Contrast on bone (#F0F2EA): ink
   16.4:1, slate 5.3:1, olive 7.3:1 (all AA). Rules are decorative.
   ============================================================ */
.impact-band{background:var(--ground-bone);color:var(--ink);padding-block:var(--section-y)}
.impact-band:empty{display:none}
.impact-band .impact-band__eyebrow{margin-bottom:0}
.impact-band__headline{color:var(--ink);font-size:var(--fs-h2);max-width:22ch;margin-top:.6rem}
.impact-band__points{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:clamp(2.5rem,5vw,3.5rem);align-items:start}
@media (width>=1024px){.impact-band__points{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.impact-band__point{border-top:1px solid var(--line);padding-top:1.4rem}
.impact-band__point-title{color:var(--ink);font-size:var(--fs-h3);font-weight:700;margin-bottom:.6rem}
.impact-band__point-body{color:var(--slate);font-size:var(--fs-body);line-height:1.65;margin:0}
.impact-band__roi{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1.5rem;border-top:1px solid var(--line);margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:1.6rem}
.impact-band__roi-text{color:var(--ink);font-size:var(--fs-body);margin:0}
.impact-band__roi-text em{color:var(--olive-text);font-style:italic}
.impact-band .impact-band__link{color:var(--olive-text);margin-top:0;text-underline-offset:3px}
.impact-band .impact-band__link:hover{color:var(--olive-text-hover);text-decoration:underline}
.impact-band .impact-band__link:hover svg{transform:translateX(4px)}
.impact-band .impact-band__link:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
@media (width<768px){.impact-band__roi{flex-direction:column;align-items:flex-start}}
/* The section that resumes after the band starts flush; its first block's
   top margin was spacing for "after the card grid". */
.impact-band + .section > .container > :first-child{margin-top:0}
