/* ============================================================
   FaceCapture product page — Graphite & Olive v2a
   Builds on shared tokens + patterns in styles.css.
   Also loaded by mineworks.html, expert-services.html and the
   solutions-*.html pages -- keep every rule here generic enough
   for all of them to share.
   ============================================================ */

/* ===================== PAGE HERO -- Ink over photography (shared by facecapture, mineworks, expert-services, solutions-*) ===================== */
.page-hero{color:var(--white);isolation:isolate;align-items:center;min-height:700px;padding-block:5rem;display:flex;overflow:hidden}
.page-hero__bg{z-index:-2;background-position:50% 38%;background-size:cover;position:absolute;inset:0;transform-origin:center center;animation:kenBurns 20s ease-out forwards}
.page-hero:after{content:"";z-index:-1;background:linear-gradient(90deg, #101418aa 0%, #10141882 48%, #1014183e 100%),linear-gradient(#10141800 40%, #10141852);position:absolute;inset:0}
.page-hero__inner{max-width:760px}
.page-hero .eyebrow{color:var(--sage);text-shadow:0 1px 8px #0009}
.page-hero h1{color:var(--white);text-shadow:0 2px 18px #00000080;margin-bottom:1.2rem;font-size:clamp(2.4rem,4.6vw,3.6rem)}
.page-hero h1 em{color:var(--sage);font-style:normal}
.page-hero p{font-size:var(--fs-lead);color:#ffffffe0;text-shadow:0 1px 12px #0009;max-width:640px}
.page-hero__cta{flex-wrap:wrap;gap:1rem;margin-top:2.2rem;display:flex}

/* Proof strip under the hero CTA row */
.fc-proof{border-top:1px solid #ffffff2e;flex-wrap:wrap;gap:.5rem 0;margin-top:2.5rem;padding-top:1.25rem;display:flex}
.fc-proof span{letter-spacing:.025em;color:#ffffffb3;white-space:nowrap;border-right:1px solid #ffffff2e;margin-right:1.25rem;padding-right:1.25rem;font-size:.8rem;font-weight:500}
.fc-proof span:last-child{border-right:none;margin-right:0;padding-right:0}
@media (width<=640px){.fc-proof span{border-right:none;margin-right:0;padding-right:0}}

/* Hero link to the platform (used inline in hero copy) */
.fc-hero-link{color:var(--sage);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.fc-hero-link:hover{color:var(--white)}

/* ===================== SUB-NAV — sticky in-page nav ===================== */
.fc-subnav{z-index:40;background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:88px}
/* min-height fixes the bar at one size on every product page, whatever the
   lockup's own padding. The tallest lockup (Expert Services) is 62px, so
   86px clears it plus the block padding. The scroll-margin-top figures on the anchored sections assume an 88px
   header plus this bar. */
.fc-subnav__inner{scrollbar-width:none;align-items:center;gap:2.5rem;min-height:86px;padding-block:.75rem;display:flex;overflow-x:auto}
.fc-subnav__inner::-webkit-scrollbar{display:none}
.fc-subnav__links{scrollbar-width:none;align-items:center;gap:2.5rem;display:flex;overflow-x:auto}
.fc-subnav__links::-webkit-scrollbar{display:none}

/* Product lockup at the left of the bar, separated from the section links.
   The Oct 2026 product SVGs (images/products/*-lockup.svg) are all drawn at
   one scale, so the hexagon and the wordmark match across products as long as
   every lockup renders at the same multiple of its viewBox. Each width below
   is viewBox width x 0.43, which puts Expert Services (the tallest, with its
   frame) at 62px, just inside the 86px bar. Change all of them together. */
.fc-subnav__brand{flex:none;align-items:center;padding-right:1.75rem;border-right:1px solid var(--line);display:flex}
.fc-subnav__brand img{width:var(--lockup-w,190px);height:auto;display:block}
.fc-subnav__brand--facecapture{--lockup-w:180px}
.fc-subnav__brand--mineworks{--lockup-w:167px}
.fc-subnav__brand--expert-services{--lockup-w:211px}
/* Pages with no section links (expert-services) carry the lockup alone. */
.fc-subnav__brand--only{border-right:0;padding-right:0}
.fc-subnav__link{font-family:var(--font-body);letter-spacing:.025em;color:var(--slate);white-space:nowrap;transition:color var(--motion-color), border-color var(--motion-color);border-bottom:2px solid transparent;padding-bottom:.2rem;font-size:.83rem;font-weight:600;text-decoration:none}
.fc-subnav__link.is-active,.fc-subnav__link:hover{color:var(--olive-text);border-bottom-color:var(--olive)}
@media (width<=640px){.fc-subnav{display:none}}

/* ===================== STEPS (numbered process cards) ===================== */
.fc-steps{grid-template-columns:1fr auto 1fr auto 1fr;align-items:start;gap:1.25rem;margin-top:3.5rem;display:grid}
.fc-step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:2rem 1.75rem;transition:border-color var(--motion-color), box-shadow var(--motion-color)}
.fc-step:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
.fc-step__icon{background:var(--paper);border-radius:var(--radius);width:48px;height:48px;color:var(--mvs-green);justify-content:center;align-items:center;margin-bottom:1.25rem;display:flex}
.fc-step__icon svg{width:1.35rem;height:1.35rem}
.fc-step__num{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--olive-text);margin-bottom:.3rem;font-size:.72rem;font-weight:700;display:block}
.fc-step__label{font-family:var(--font-display);color:var(--ink);margin-bottom:.65rem;font-size:1.15rem;font-weight:600;display:block}
.fc-step__desc{color:var(--slate);margin:0;font-size:.9rem;line-height:1.65}
.fc-step__arrow{color:var(--slate);align-items:center;padding-top:2rem;display:flex}
.fc-step__arrow svg{flex-shrink:0;width:1.25rem;height:1.25rem}
@media (width<=768px){.fc-steps{grid-template-columns:1fr}.fc-step__arrow{display:none}}

.fc-how-it-works{background:var(--paper)}

.fc-benefits{grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);padding-top:clamp(2.5rem,5vw,4rem);display:grid}
.fc-benefits h3{margin-bottom:.8rem;font-size:clamp(1.15rem,1.8vw,1.35rem)}
.fc-benefits p{color:var(--slate);line-height:1.75}
@media (width<=640px){.fc-benefits{grid-template-columns:1fr}}

/* ===================== WORKFLOW DIAGRAM STRIP ===================== */
.fc-workflow{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);margin-top:3.5rem;overflow:hidden}
.fc-workflow__scroll{-webkit-overflow-scrolling:touch;padding:1.5rem 2rem;overflow-x:auto}
.fc-workflow__scroll a{display:block}
.fc-workflow__scroll img{width:100%;min-width:760px;height:auto;display:block}
.fc-workflow__caption{text-align:center;color:var(--slate);padding:0 2rem 1rem;font-size:.82rem;font-style:italic}

/* ===================== SEE THE DATA — 3D viewer section (dark) ===================== */
.fc-viewer-section{background:var(--carbon)}
.fc-viewer-section .section-head{text-align:left}
.fc-viewer-section .section-head p{max-width:720px;margin-inline:0;color:#ffffffb3}
.fc-viewer-section .eyebrow{color:var(--sage)}
.fc-viewer-section h2{color:var(--white)}
.fc-viewer{border-radius:var(--radius-lg);margin-top:3rem;overflow:hidden;box-shadow:0 24px 60px #00000080}
.fc-viewer img{object-fit:cover;width:100%;max-height:580px;display:block}
.fc-viewer__caption{color:#ffffffb8;text-align:center;background:#101418bf;padding:1.125rem 2rem;font-size:.88rem;line-height:1.7}
/* Iframe embed variant — frames one of the interactive 3D demo pages (out of scope, do not touch the demo itself) */
.fc-viewer--embed{padding:0;overflow:hidden}
.fc-viewer--embed iframe{border:none;width:100%;height:540px;display:block}
@media (width<=640px){.fc-viewer--embed iframe{height:360px}}

/* ===================== SEE THE PLAN WHILE YOU SCAN (#plan) ===================== */
#plan .showcase__row{grid-template-columns:3fr 2fr;align-items:center}
.fc-viewer--embed video{border:none;width:100%;height:540px;object-fit:cover;display:block;background:#000}
@media (width<=640px){.fc-viewer--embed video{height:360px}}

/* ===================== INTEGRATIONS / COMPATIBLE SOFTWARE ===================== */
.integrations{background:var(--paper)}
#results{background:#E0E1D7}
.compat-logo-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:clamp(2rem,4vw,3rem);margin-bottom:2rem;display:grid}
@media (width<=640px){.compat-logo-grid{grid-template-columns:repeat(2,1fr)}}
.compat-logo-cell{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);height:84px;transition:box-shadow var(--motion-color), border-color var(--motion-color);justify-content:center;align-items:center;padding:1.25rem 1.5rem;text-decoration:none;display:flex}
.compat-logo-cell:hover{box-shadow:var(--shadow-sm);border-color:var(--mvs-green)}
.compat-logo-cell img{object-fit:contain;filter:grayscale() brightness(.2);width:auto;max-width:100%;height:36px}
/* Maptek's mark is a swoosh over small lettering, nearly 2:1, so at 36px it
   reads far smaller than the wide wordmarks beside it. Give it the cell's full
   content height instead. */
.compat-logo-cell img.compat-logo--tall{height:44px}

/* ===================== WORKFLOW LIGHTBOX ===================== */
.fc-lightbox{z-index:900;background:#000000d6;justify-content:center;align-items:center;padding:4vw;display:none;position:fixed;inset:0}
.fc-lightbox.is-open{display:flex}
.fc-lightbox img{border-radius:var(--radius-lg);object-fit:contain;width:auto;max-width:min(88vw,1400px);height:auto;max-height:88vh;display:block;box-shadow:0 24px 80px #0000008c}
.fc-lightbox__close{color:var(--white);cursor:pointer;width:2.5rem;height:2.5rem;transition:background var(--motion-color);background:#ffffff1f;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;display:flex;position:fixed;top:1.25rem;right:1.25rem}
.fc-lightbox__close:hover{background:#ffffff38}
.fc-lightbox__close svg{width:1.1rem;height:1.1rem}
body.lightbox-open{overflow:hidden}

/* ===================== THE DEVICE ===================== */
.fc-device-section{padding-block:clamp(2rem,3.5vw,3rem);background:var(--paper)}
.fc-device-section__cta{margin-top:1.25rem;display:inline-flex}
/* Copy beside a still of the device (no video opener: the button beside it
   plays the video). Less row padding than the shared .showcase__row so the
   band sits tighter. */
.fc-device-section .showcase__row{grid-template-columns:3fr 2fr;align-items:center;padding-block:clamp(1rem,2vw,1.5rem)}
.fc-device-section .showcase__media img{max-width:70%;height:auto;margin:0 auto;display:block}
@media (width<=900px){.fc-device-section .showcase__row{grid-template-columns:1fr}.fc-device-section .showcase__media img{max-width:320px}}

/* ===================== OVERVIEW — VALUE SUMMARY CARDS ===================== */
.fc-value-summary{background:var(--white)}
.fc-value-cards{grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:3rem;display:grid}
@media (width<=900px){.fc-value-cards{grid-template-columns:repeat(2,1fr)}}
@media (width<=520px){.fc-value-cards{grid-template-columns:1fr}}
.fc-value-card{background-color:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);transition:border-color var(--motion-color), box-shadow var(--motion-color);background-image:radial-gradient(#ffffffe0 20%,transparent 72%),linear-gradient(#77864717 1px,transparent 1px),linear-gradient(90deg,#77864717 1px,transparent 1px);background-position:0 0,-1px -1px,-1px -1px;background-size:100% 100%,28px 28px,28px 28px;padding:1.75rem 1.5rem}
.fc-value-card:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
.fc-value-card__icon{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);width:40px;height:40px;color:var(--mvs-green);justify-content:center;align-items:center;margin-bottom:1.1rem;display:flex}
.fc-value-card__icon svg{width:1.1rem;height:1.1rem}
.fc-value-card h3{font-family:var(--font-display);color:var(--ink);margin:0 0 .5rem;font-size:1rem;font-weight:600}
.fc-value-card p{color:var(--slate);margin:0;font-size:.875rem;line-height:1.65}

/* ===================== HOW IT WORKS — INTEGRATED WORKFLOW (dark, duotone) ===================== */
.fc-integrated{background-color:#0d1a08;background-image:radial-gradient(110% 60%,#0d1a0800 30%,#0d1a08b3 75%),linear-gradient(#698c371a 1px,transparent 1px),linear-gradient(90deg,#698c371a 1px,transparent 1px);background-position:0 0,-1px -1px,-1px -1px;background-size:100% 100%,52px 52px,52px 52px}
.fc-integrated .section-head{text-align:left}
.fc-integrated .section-head h2{color:var(--white)}
.fc-integrated .section-head p{max-width:720px;margin-inline:0;color:#ffffffad}
.fc-integrated__eyebrow{font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:700;color:var(--sage) !important}

.fc-integrated-steps{grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:3rem;display:grid}
@media (width<=768px){.fc-integrated-steps{grid-template-columns:1fr}}
.fc-integrated-step{border-radius:var(--radius-lg);background:#ffffff0a;border:1px solid #ffffff1a;flex-direction:column;padding:2rem 1.75rem 1.5rem;display:flex;transition:border-color var(--motion-color)}
.fc-integrated-step:hover{border-color:var(--mvs-green)}
.fc-integrated-step__num{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--sage);margin-bottom:1rem;font-size:.72rem;font-weight:700;display:block}
.fc-integrated-step h3{font-family:var(--font-display);color:var(--white);margin:0 0 .75rem;font-size:1.15rem;font-weight:600}
.fc-integrated-step p{color:#ffffffa6;flex:1;margin:0;font-size:.9rem;line-height:1.7}
.fc-integrated-step__bar{background:var(--mvs-green);opacity:.8;border-radius:0;width:88px;height:3px;margin-top:1.75rem;display:block}

.fc-native-export{border-top:1px solid #ffffff1a;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;margin-top:2.5rem;padding-top:2rem;display:flex}
.fc-native-export__label{font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--sage);margin-right:.5rem;font-size:.7rem;font-weight:700}
.fc-native-export span:not(.fc-native-export__label){color:#ffffffb8;font-size:.95rem;font-weight:500}

/* Light-theme variants of the two components above, so the same
   "Integrated" layout can sit in a light section (used when a dark
   and a light duotone section swap places and need to swap palettes
   to keep the page's light/dark rhythm alternating). */
.fc-integrated--light{background-color:var(--white);background-image:none}
.fc-integrated--light .section-head h2{color:var(--ink)}
.fc-integrated--light .section-head p{color:var(--slate)}
.fc-integrated--light .fc-integrated__eyebrow{color:var(--olive-text) !important}
.fc-integrated--light .fc-native-export{border-top-color:var(--line)}
.fc-integrated--light .fc-native-export__label{color:var(--olive-text)}
.fc-integrated--light .fc-native-export span:not(.fc-native-export__label){color:var(--slate)}
.fc-integrated-steps--light .fc-integrated-step{background:var(--paper);border-color:var(--line)}
.fc-integrated-steps--light .fc-integrated-step:hover{border-color:var(--mvs-green)}
.fc-integrated-steps--light .fc-integrated-step__num{color:var(--olive-text)}
.fc-integrated-steps--light .fc-integrated-step h3{color:var(--ink)}
.fc-integrated-steps--light .fc-integrated-step p{color:var(--slate)}

/* Bone ground, used by the loop section on /mineworks. Pairs with
   --light, which carries all the dark-to-light text work; this only
   swaps the ground and lifts the step cards to white, because --light's
   paper cards are a shade off bone and disappear against it. */
.fc-integrated--bone{background-color:var(--ground-bone);background-image:none}
.fc-integrated--bone .fc-integrated-step{background:var(--white);border-color:var(--line)}

/* ===================== PRODUCT CAPABILITIES ===================== */
.fc-cap-grid{grid-template-columns:repeat(3,1fr);gap:2rem clamp(2rem,5vw,3.5rem);margin-top:3rem;display:grid}
@media (width<=768px){.fc-cap-grid{grid-template-columns:1fr;gap:2rem}}
.fc-cap-item__icon{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);width:44px;height:44px;color:var(--mvs-green);justify-content:center;align-items:center;margin-bottom:1.1rem;display:flex}
/* Dark-theme variant, for when this card grid sits inside .fc-integrated
   (the capabilities section now swaps places with the dark "Integrated"
   section and needs to swap palettes the other way). */
.fc-integrated .fc-cap-item__icon{background:#ffffff14;border-color:#ffffff26;color:var(--sage)}
.fc-integrated .fc-cap-item h3{color:var(--white)}
.fc-integrated .fc-cap-item p{color:#ffffffa6}

.fc-integrated .fc-value-card{background-color:#ffffff0a;border-color:#ffffff26;background-image:none}
.fc-integrated .fc-value-card:hover{border-color:var(--mvs-green)}
.fc-integrated .fc-value-card__icon{background:#ffffff14;border-color:#ffffff26;color:var(--sage)}
.fc-integrated .fc-value-card h3{color:var(--white)}
.fc-integrated .fc-value-card p{color:#ffffffa6}
.fc-cap-item__icon svg{width:1.15rem;height:1.15rem}
.fc-cap-item h3{font-family:var(--font-display);color:var(--ink);margin:0 0 .6rem;font-size:1.05rem;font-weight:600}
.fc-cap-item p{color:var(--slate);margin:0;font-size:.9rem;line-height:1.7}

/* ===================== ROI STRIP — slim CTA banner ===================== */
.roi-strip{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:clamp(3rem,5vw,4.5rem)}
.roi-strip__inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2rem;display:flex}
.roi-strip__text{font-family:var(--font-display);color:var(--ink);max-width:640px;font-size:clamp(1.2rem,2.2vw,1.7rem);font-weight:500;line-height:1.35}
.roi-strip__text em{color:var(--olive-text);font-style:normal}

/* ===================== PRODUCT VIDEO THUMB + LIGHTBOX ===================== */
.fc-video__thumb{position:relative;display:block;width:100%;padding:0;border:0;cursor:pointer;background:var(--ink);border-radius:var(--radius-lg);overflow:hidden}
.fc-video__thumb img{display:block;width:100%;height:auto}
.fc-video__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.fc-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)}
.fc-video__thumb:hover .fc-video__play svg{opacity:.85}

.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:var(--white);font-size:1.5rem;line-height:1;transition:background var(--motion-color)}
.video-lightbox__close:hover{background:rgba(255,255,255,.28)}
.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)}

/* ===================== FEEDS MINEWORKS (facecapture.html #mineworks) ===================== */
/* Five category links on the shared .fc-cap-grid (3 across, so 3 + 2 wrap). */
/* 88px fixed header + the 64px sticky sub-nav. Applies to every anchored
   section on the product pages that load this file. */
#the-device,#capabilities,#how-it-works,#plan,#see-the-data,#integrations,#results,#mineworks{scroll-margin-top:180px}
/* The sub-nav is hidden below 640px, so only the header needs clearing. */
@media (width<=640px){#the-device,#capabilities,#how-it-works,#plan,#see-the-data,#integrations,#results,#mineworks{scroll-margin-top:100px}}
.fc-platform-section{background:var(--paper)}
/* Lockup stands in for this section's text eyebrow. Sized to match the
   cap height the other MineWorks lockup uses, one step larger. */
.fc-platform__lockup{width:209px;height:auto;margin-bottom:1rem}
.fc-cap-item--link{border:1px solid var(--line);background:var(--white);padding:1.4rem;display:flex;flex-direction:column;transition:border-color var(--motion-color), box-shadow var(--motion-color)}
.fc-cap-item--link:hover{border-color:var(--mvs-green);box-shadow:var(--shadow-md)}
.fc-cap-item__link{font-family:var(--font-display);color:var(--olive-text);align-items:center;gap:.5rem;margin-top:1.1rem;font-size:.88rem;font-weight:600;display:inline-flex}
.fc-cap-item__link svg{width:15px;height:15px;transition:transform var(--motion-transform)}
.fc-cap-item--link:hover .fc-cap-item__link svg{transform:translateX(4px)}

/* /facecapture section grounds alternate down the page: device (paper),
   capabilities (dark), how it works (white), mine plan (paper), feeds
   MineWorks (white), integrations (paper), case studies (sediment). Scoped by
   id because .fc-value-summary and .fc-platform-section are shared with
   /mineworks. */
#plan.fc-value-summary{background:var(--paper)}
#mineworks.fc-platform-section{background:var(--white)}

/* Tighter vertical rhythm for the lower /facecapture bands (Nov 2026): less
   section padding than the shared --section-y, no extra padding around the
   mine plan video row, and no trailing margin under the integrations logos. */
#plan,#mineworks,#integrations{padding-block:clamp(3.5rem,6vw,5.5rem)}
#plan .showcase__row{padding-block:0 .5rem}
#plan .fc-viewer{margin-top:0}
#integrations .compat-logo-grid{margin-bottom:0}
