/* ============================================================
   Mine Vision Systems — Graphite & Olive v2a
   Shared design system: tokens, reset, nav, footer, buttons,
   hero, cards, CTA. Loaded on every page.
   ============================================================ */

:root{
  /* Surfaces */
  --ink:#101418;
  --carbon:#0B0E11;
  --paper:#F4F5F0;
  --stone:#E3E5DC;
  --moss:#2A331A; /* scrims / duotone only — never a flat surface */
  --white:#FFFFFF; /* lifted cards only — never a page background */

  /* Accent — one hue, four tones, chosen by what sits behind the text.
     Values are brand green-700/800/400 (Brand and Visual Identity Guide v1.0,
     p.14) — green-600 "MVS Green" is reserved for large type/UI accents only
     and must never back these small/body-sized roles (fails AA below large-type size). */
  --olive:#435513;       /* fills: buttons, rules, nodes (green-700) */
  --olive-hover:#2F3D0E; /* primary button hover / darken one step (green-800) */
  --sage:#89A247;        /* accent text on dark: eyebrows, step numbers, metric labels (green-400) */
  --olive-text:#435513;  /* accent text on Paper/White (green-700) */
  --olive-text-hover:#2F3D0E;
  --olive-deep:#435513;  /* accent text on Stone (green-700) */
  --olive-soft:#E3EAD0;  /* light olive tint, badge/outline fills on Paper (green-100) */

  /* Neutrals */
  --slate:#5F655E;   /* body copy on light */
  --line:#C8CCC2;    /* hairlines, card edges on light */

  /* Legacy aliases — kept so pages not yet migrated to the v2a
     component set still inherit the new palette without breaking */
  --charcoal:var(--carbon);
  --charcoal-2:#171B14;
  --mist:var(--stone);
  --grey-500:var(--slate);
  --grey-700:var(--slate);

  /* Brand and Visual Identity Guide v1.0, p.14 — full documented token set,
     source of truth for new work. Existing --olive/--sage/etc. above are
     this site's pre-existing token names, now pointed at the correct values;
     the names below are additive, not a replacement for them. */
  --mvs-green:#67831D;      --mvs-grey:#4D4948;
  --ground-paper:#FFFFFF;   --ground-bone:#F0F2EA;
  --ground-sediment:#DBDDD1; --ground-pit:#11190C;
  --ground-void:#0E1012;
  --green-50:#F2F5E8;  --green-100:#E3EAD0;  --green-200:#C8D5A4;
  --green-300:#A9BD74; --green-400:#89A247;  --green-500:#778647;
  --green-600:#67831D; --green-700:#435513;  --green-800:#2F3D0E;
  --green-900:#1A230A;
  --stone-50:#F7F7F4;  --stone-100:#F0F2EA;  --stone-200:#DBDDD1;
  --stone-300:#BCBEB2; --stone-400:#8F8D88;  --stone-500:#6B6866;
  --stone-600:#4D4948; --stone-700:#3A3736;  --stone-800:#262423;
  --stone-900:#1A1918;
  --success:#67831D;   --success-surface:#F2F5E8;
  --warning:#C08A1E;   --warning-surface:#FBF3E0;
  --error:#C0442E;     --error-surface:#FBEDEA;
  --info:#3D6B8C;      --info-surface:#EDF2F6;
  --text-primary:var(--stone-900);  --text-body:var(--stone-600);
  --text-muted:var(--stone-500);    --text-on-dark:var(--ground-bone);
  --text-muted-dark:#8D918A;
  --action:var(--green-700);        --action-hover:var(--green-800);
  --action-on-dark:var(--green-400);
  --rule:var(--stone-300);          --rule-dark:var(--stone-800);

  /* Type — Brand and Visual Identity Guide v1.0, p.10 */
  --font-display:"Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body:"IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono:"IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-hero:clamp(2.4rem, 4.6vw, 3.8rem);
  --fs-h2:clamp(1.9rem, 3.4vw, 3rem);
  --fs-h3:1.2rem;
  --fs-lead:clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body:1.02rem;
  --fs-small:.85rem;

  /* Layout */
  /* Height of the announcement bar. 0 unless js/announcement.js has one to
     show, and it sets the measured height here. Every page's body padding
     and fixed header offset read it, so it must stay defined site-wide. */
  --annc-h:0px;
  --section-y:clamp(4.5rem, 9vw, 8rem);
  --radius:0px;
  --radius-lg:0px;
  --maxw:1440px;
  --page-maxw:1760px;
  --shadow-sm:0 1px 3px #14181a0f, 0 6px 18px #14181a0d;
  --shadow-md:0 10px 40px #14181a1a;

  /* Motion — Brand and Visual Identity Guide v1.0, p.15. 120ms instant (hover,
     focus, small colour change), 200ms standard (dropdowns, toggles), 320ms
     considered (modals, expanding a record), 500ms deliberate — the ceiling,
     nothing is slower. No lift, no scale. */
  --ease:cubic-bezier(.2,0,.2,1);
  --motion-color:120ms var(--ease);
  --motion-transform:200ms var(--ease);
  --motion-considered:320ms var(--ease);
  --motion-deliberate:500ms var(--ease);
}

*,:before,:after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{overflow-x:hidden}
body{background:var(--carbon);color:var(--ink);font-family:var(--font-body);font-size:var(--fs-body);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;line-height:1.65;padding-top:calc(88px + var(--annc-h));transition:padding-top var(--motion-considered)}
/* Whole site is letterboxed on a black canvas beyond --page-maxw */
.site-header,main,.footer{max-width:var(--page-maxw);margin-inline:auto;position:relative}
/* Header is fixed and transparent; photo heroes pull up underneath it so the photo shows through the nav */
.hero,.page-hero,.legal-hero{margin-top:-88px}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--ink);margin:0;font-weight:600;line-height:1.08}
h1{letter-spacing:-.025em;font-weight:700}
h2{letter-spacing:-.02em}
h3,h4{letter-spacing:-.015em}
/* Base sizes from the type tokens, so a heading without its own rule never
   falls back to the browser default (h2 used to render at 1.5em, ~24px).
   Component rules further down still override these. */
h1{font-size:var(--fs-hero)}
h2{font-size:var(--fs-h2)}
h3{font-size:var(--fs-h3)}
h4{font-size:1rem}
p{margin:0;color:var(--slate)}
::selection{background:var(--olive);color:var(--ink)}

:focus-visible{outline:2px solid var(--olive);outline-offset:2px}

.skip-link{position:absolute;left:-9999px;top:0;z-index:200;padding:.6rem 1rem;background:var(--ink);color:var(--white);font-weight:600;border-radius:0 0 var(--radius) 0}
.skip-link:focus{left:0}

.container{width:min(100% - 2.5rem, var(--maxw));margin-inline:auto}
.section{padding-block:var(--section-y)}

/* Eyebrow — mono, caps, positive tracking */
.eyebrow{font-family:var(--font-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--olive-text);margin-bottom:1rem;font-size:.75rem;font-weight:500;display:inline-block}
.section-head{max-width:720px;margin-bottom:3.2rem}
.section-head p{color:var(--slate);font-size:var(--fs-lead);margin-top:1rem}
.split-head{grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:end;margin-bottom:3.2rem;display:grid}
.split-head__title h2{margin-top:.6rem;font-size:clamp(2.4rem,4.4vw,3.8rem);line-height:1.05}
.split-head__lead{color:var(--slate);font-size:clamp(1.15rem,1.9vw,1.45rem);line-height:1.55}
@media (width<=760px){.split-head{grid-template-columns:1fr}}

/* Status tag / badge — Brand and Visual Identity Guide v1.0, p.14: maturity,
   not marketing. Three states: available now (filled sage), in deployment
   (filled stone), expanding (dashed outline, no fill). */
.status-tag{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;font-size:.62rem;font-weight:700;padding:.3rem .65rem;border-radius:4px;white-space:nowrap;display:inline-block}
.status-tag--filled{background:var(--green-100);color:var(--green-800)}
.status-tag--outline{background:var(--stone-200);color:var(--stone-600);border:1px solid var(--stone-300)}
.status-tag--dashed{background:transparent;color:var(--stone-500);border:1px dashed var(--stone-400)}

/* ===================== HEADER / NAV — transparent on photography, solid Paper once scrolled ===================== */
.site-header{z-index:50;transition:background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), top var(--motion-considered);background:transparent;border-bottom:1px solid transparent;position:fixed;top:var(--annc-h);left:0;right:0}
.site-header.scrolled{background:#F4F5F0e6;backdrop-filter:saturate(180%) blur(14px);border-color:var(--line);box-shadow:0 1px #14181a0a}
.nav{justify-content:flex-start;align-items:center;height:88px;display:flex}
.nav__logo{position:relative;display:inline-flex;align-items:center}
.nav__logo-white,.nav__logo-color{width:auto;height:46.5px;transition:opacity var(--motion-color)}
.nav__logo-color{position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:0}
.nav__logo-white{opacity:1}
.site-header.scrolled .nav__logo-white{opacity:0}
.site-header.scrolled .nav__logo-color{opacity:1}
.nav__links{align-items:center;gap:1.9rem;margin:0 2.6rem 0 auto;padding:0;list-style:none;display:flex}
.nav__item{position:relative}
.nav__link{font-family:var(--font-body);color:#ffffffcc;cursor:pointer;transition:color var(--motion-color);background:0 0;border:0;align-items:center;gap:.35rem;padding:.25rem 0;font-size:.94rem;font-weight:500;display:inline-flex}
.nav__link:hover{color:var(--white)}
.site-header.scrolled .nav__link{color:var(--slate)}
.site-header.scrolled .nav__link:hover{color:var(--ink)}
.site-header:not(.scrolled) .nav__actions .btn--primary{background:transparent;color:var(--white);border-color:#ffffff66}
.site-header:not(.scrolled) .nav__actions .btn--primary:hover{background:#ffffff1f;border-color:#ffffffa6}
.nav__caret{width:13px;height:13px;transition:transform var(--motion-transform)}
.nav__item--open .nav__caret{transform:rotate(180deg)}
.nav__menu{border:1px solid var(--line);border-radius:var(--radius);min-width:220px;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;z-index:60;background:var(--white);margin:0;padding:.5rem;list-style:none;position:absolute;top:calc(100% + 16px);left:50%;transform:translate(-50%) translateY(6px)}
.nav__menu:before{content:"";height:16px;position:absolute;top:-16px;left:0;right:0}
.nav__item:hover>.nav__menu,.nav__item:focus-within>.nav__menu,.nav__item--open>.nav__menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%) translateY(0)}
.nav__menu a{color:var(--slate);white-space:nowrap;transition:background var(--motion-color), color var(--motion-color);border-radius:4px;padding:.6rem .8rem;font-size:.92rem;font-weight:500;display:block}
.nav__menu a:hover,.nav__menu a:focus-visible{background:var(--olive-soft);color:var(--olive-deep);outline:none}
.nav__actions{align-items:center;gap:1rem;display:flex}
.nav__toggle{cursor:pointer;background:0 0;border:0;width:44px;height:44px;padding:10px;display:none}
.nav__toggle span{background:var(--white);height:2px;transition:background var(--motion-color), transform .2s var(--ease), opacity .2s var(--ease);border-radius:2px;display:block}
.site-header.scrolled .nav__toggle span{background:var(--ink)}
.nav__toggle span+span{margin-top:6px}

/* ===================== BUTTONS — Brand and Visual Identity Guide v1.0, p.14: 4px radius on controls ===================== */
.btn{font-family:var(--font-body);letter-spacing:0;cursor:pointer;transition:background var(--motion-color), color var(--motion-color), border-color var(--motion-color);border:1px solid transparent;border-radius:4px;align-items:center;gap:.55rem;padding:.85rem 1.5rem;font-size:.95rem;font-weight:600;display:inline-flex}
.btn svg{width:16px;height:16px;transition:transform var(--motion-transform)}
.btn:hover svg{transform:translateX(3px)}
.btn--primary{background:var(--olive);color:var(--white)}
.btn--primary:hover{background:var(--olive-hover)}
.btn--dark{background:var(--ink);color:var(--paper)}
.btn--dark:hover{background:var(--olive);color:var(--white)}
.btn--ghost{color:var(--ink);border-color:var(--line);background:transparent}
.btn--ghost:hover{border-color:var(--olive);background:var(--olive);color:var(--white)}
.btn--light{color:var(--ink);background:var(--white)}
.btn--light:hover{background:var(--olive);color:var(--white)}

.fullbleed{width:100%}

/* ===================== ANNOUNCEMENT BAR =====================
   Rendered by js/announcement.js above the fixed header, and only when an
   announcement is scheduled for right now. The bar is fixed too, so the
   header's `top` and the body's `padding-top` are both offset by --annc-h,
   which the script sets to the bar's measured content height (0px before it
   exists, and back to 0px on dismiss). Animating the three together is what
   keeps the page from jumping when the bar arrives after first paint; the
   global prefers-reduced-motion rule drops the animation.
   Height is measured rather than hardcoded because a 90-character message
   plus a link wraps to two lines on a phone and on a narrow laptop. */
/* A dark band in normal flow, holding one bordered box: message on the
   left, and when there is a link, its own button sub-box on the right.

   This used to be a fixed strip above the header, which is why --annc-h
   exists. It no longer is, and nothing sets that property any more - but
   the token stays defined at 0 in :root because the header's `top`, the
   body's padding-top and the home hero's height all still read it. */
.annc{background:var(--ink);color:var(--white);transition:opacity var(--motion-considered)}
.annc.is-closing{opacity:0}
.annc__inner{position:relative;width:min(100% - 2.5rem, var(--maxw));margin-inline:auto;display:flex;align-items:center;gap:.5rem;padding-block:clamp(1.5rem,3vw,2.25rem)}
.annc__box{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:clamp(1rem,3vw,2rem);background:#ffffff0a;border:1px solid #ffffff26;border-radius:var(--radius);padding:clamp(1rem,2vw,1.35rem) clamp(1.1rem,2.5vw,1.75rem)}
.annc__msg{margin:0;color:var(--white);font-size:clamp(1rem,1.5vw,1.12rem);font-weight:500;line-height:1.4}
/* .btn already carries the shape; this only stops the label wrapping and
   keeps it from being squeezed by a long message. */
.annc__cta{flex:none;white-space:nowrap}
/* 44px square: the tap target is the minimum even though the icon is 20px. */
.annc__dismiss{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:none;color:#ffffff8c;cursor:pointer;transition:color var(--motion-color)}
.annc__dismiss svg{width:20px;height:20px}
.annc__dismiss:hover{color:var(--white)}
/* On a phone the message stacks above the button, and the dismiss moves
   out of the row and onto the box's top-right corner - left in the row it
   would eat 44px of an already narrow box and squeeze both to about
   two-thirds width. The box's extra right padding is the room it needs. */
@media (width<=760px){
  .annc__inner{display:block}
  .annc__box{width:100%;flex-direction:column;align-items:stretch;gap:1.1rem;padding-right:3.25rem}
  .annc__msg{align-self:flex-start}
  .annc__cta{width:100%;justify-content:center}
  .annc__dismiss{position:absolute;top:clamp(1.5rem,3vw,2.25rem);right:0}
}
.annc *:focus-visible{outline:2px solid var(--white);outline-offset:2px}
/* The home page's anchored sections clear the fixed header. --annc-h stays
   in the sum only because the token is still defined site-wide; it is always
   0 now that the announcement is in normal flow rather than fixed on top. */
#solutions,#outcomes,#cases,#latest{scroll-margin-top:calc(104px + var(--annc-h))}

/* ===================== HERO — Ink over photography ===================== */
.hero{aspect-ratio:2.24;color:var(--white);isolation:isolate;position:relative;align-items:center;min-height:650px;max-height:950px;display:flex;overflow:hidden}
.hero__bg{z-index:-2;background-position:50%;background-size:cover;position:absolute;inset:0;transform-origin:center center;animation:kenBurns 20s ease-out forwards}
.page-hero{position:relative}
.page-hero__bg{transform-origin:center center;animation:kenBurns 20s ease-out forwards}
/* 1536x1105 source in a 2.24:1 frame, so cover keeps 62% of the height.
   Biased to 70% rather than centred so the miner stands clear of the bottom
   edge, with the wet floor and his reflection under him. What it gives up is
   the top of the arch, which is unlit anyway. */
.hero__bg--home{background-image:url(../images/hero-index-face-scan.webp);background-position:50% 70%}
.cta__bg--mine{background-image:url(../images/cta-background.webp)}
.page-hero__bg--mine{background-image:url(../images/hero-partners.webp)}
.page-hero__bg--about{background-image:url(../images/hero-about.webp)}
.page-hero__bg--contact{background-image:url(../images/hero-contact.webp)}
.page-hero__bg--careers{background-image:url(../images/hero-careers-team.webp)}
.page-hero__bg--partners{background-image:url(../images/hero-partners.webp)}
.page-hero__bg--roi{background-image:url(../images/hero-roi-loader.webp)}
.page-hero__bg--facecapture{background-image:url(../images/facecapture-hero.webp)}
.page-hero__bg--events{background-image:url(../images/hero-events-team.webp)}
/* Hero scrim: Ink to transparent, bottom-up — 78% solid / 52% mid / 20% top */
.hero:after{content:"";z-index:-1;background:linear-gradient(0deg, #101418c7 0%, #10141885 42%, #10141833 100%);position:absolute;inset:0}
.hero__inner{max-width:900px;padding-block:3rem}
.hero .eyebrow{color:var(--sage)}
.hero h1{color:var(--white);font-size:var(--fs-hero);margin-bottom:1.4rem;font-weight:700;line-height:.98;letter-spacing:-.03em}
.hero h1 em{color:var(--sage);font-style:normal}
.hero__subhead{font-family:var(--font-display);color:var(--white);max-width:640px;margin-bottom:.9rem;font-size:clamp(1.3rem,2.2vw,1.65rem);font-weight:600;line-height:1.3}
.hero__lead{font-size:var(--fs-lead);color:#ffffffd9;max-width:560px;margin-bottom:0}
.hero__cta{flex-wrap:wrap;gap:1rem;display:flex}
.hero__row{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap}
.hero__actions{flex:none;padding-bottom:.4rem}
@media (width<=760px){.hero__row{flex-direction:column;align-items:stretch}.hero__actions .btn{justify-content:center;width:100%}}

/* ===================== LOGO MARQUEE ===================== */
.logos{border-bottom:1px solid var(--line);background:var(--white);padding-block:3.2rem}
.logos__label{text-align:center;font-family:var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--slate);margin-bottom:2rem;font-size:.72rem}
#trusted-by .logos__label{text-align:left}

/* Auto-scrolling logo strip (matches about.html's proof band) */
.proof-band{background:var(--white);padding-block:2.8rem}
.marquee{position:relative;overflow:hidden;margin-top:1.6rem;padding-bottom:1.8rem;border-bottom:1px solid var(--line);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8% 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8% 92%,transparent)}
#trusted-by .marquee{border-bottom:none;padding-bottom:0}
.marquee__track{align-items:center;gap:clamp(2rem,5vw,3.2rem);width:max-content;animation:48s linear infinite scroll-x;display:flex}
.marquee:hover .marquee__track{animation-play-state:paused}
.marquee__track img{height:52px;width:auto;filter:grayscale(1) brightness(0) opacity(.7);transition:filter .12s var(--ease);flex:none}
.marquee__track img:hover{filter:grayscale(1) brightness(0) opacity(1)}
@media (width>900px){
  #trusted-by .container{max-width:1440px}
  #trusted-by .marquee__track{gap:clamp(1rem,2vw,1.8rem)}
  #trusted-by .marquee__track img{height:34px}
}
@keyframes scroll-x{0%{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes kenBurns{from{transform:scale(1)}to{transform:scale(1.08)}}
.proof-band__traction{text-align:center;color:var(--olive-text);font-weight:600;margin-block:2.6rem 1.2rem;font-size:var(--fs-lead)}

/* Pull quote under the traction line. Same type treatment as the
   .cs-blockquote on the case-study and solutions pages, centred and
   rule-topped for the full-width proof band. It is a separate class
   because styles.css is the only stylesheet the home page loads. */
.proof-quote{max-width:max(70%,32rem);margin:1.8rem auto 0;padding-top:1.6rem;border-top:1px solid var(--line);text-align:center}
.proof-quote p{color:var(--ink);margin:0 0 .8rem;font-size:clamp(1.05rem,1.7vw,1.2rem);font-style:italic;line-height:1.65}
.proof-quote cite{color:var(--slate);font-size:.88rem;font-style:normal;display:block}
/* In the home page Case studies section the quote sits left-aligned, on the
   same edge as the cards above and the button below. */
.cases .proof-quote{text-align:left;margin-left:0}

/* ===================== SOLUTIONS (#solutions) =====================
   Five picture cards, one per discipline, each a door into that page.
   Rendered by js/home.js from MVS_CONFIG.homeSolutions. */
.solutions-home{background:var(--stone)}
.sol-grid{list-style:none;grid-template-columns:repeat(5,1fr);gap:1.4rem;margin:0;padding:0;display:grid}
.sol-card{background:var(--white);border:1px solid var(--line);transition:border-color var(--motion-color), box-shadow var(--motion-color);flex-direction:column;padding-bottom:1.3rem;display:flex;position:relative}
.sol-card:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
/* The image is absolutely positioned so its own ratio cannot override the
   frame and make one card in the row taller than the rest. */
.sol-card__media{aspect-ratio:4/3;background:var(--stone-100);position:relative;overflow:hidden}
.sol-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.sol-card__label{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--olive-text);margin:1.1rem 1.2rem .55rem;font-size:.62rem;font-weight:700}
.sol-card__title{font-family:var(--font-display);color:var(--ink);margin:0 1.2rem .5rem;font-size:1.05rem;font-weight:600;line-height:1.25}
.sol-card__body{color:var(--slate);margin:0 1.2rem 1.1rem;font-size:.88rem;line-height:1.6}
.sol-card__link{font-family:var(--font-display);color:var(--olive-text);align-items:center;gap:.5rem;margin:auto 1.2rem 0;font-size:.9rem;font-weight:600;display:inline-flex}
.sol-card__link svg{width:15px;height:15px;transition:transform var(--motion-transform)}
.sol-card:hover .sol-card__link svg{transform:translateX(4px)}
.sol-card:hover .sol-card__link{color:var(--olive-text-hover)}
/* Stretched link: the whole card is clickable, while the card still carries
   exactly one <a>, so there is one tab stop and one accessible name. */
.sol-card__link:after{content:"";position:absolute;inset:0}

/* Stagger left to right. The global prefers-reduced-motion rule drops
   transitions entirely, so everything is visible on load. */
.sol-card.reveal:nth-child(2){transition-delay:.08s}
.sol-card.reveal:nth-child(3){transition-delay:.16s}
.sol-card.reveal:nth-child(4){transition-delay:.24s}
.sol-card.reveal:nth-child(5){transition-delay:.32s}

/* Tablet: three up, then the last two centred under them - a 6-column grid
   with every card spanning 2 is the simplest way to halve-offset a row. */
@media (width>=768px) and (width<=1199px){
  .sol-grid{grid-template-columns:repeat(6,1fr)}
  .sol-card{grid-column:span 2}
  .sol-card:nth-child(4){grid-column:2/4}
  .sol-card:nth-child(5){grid-column:4/6}
}
@media (width<=767px){
  .sol-grid{grid-template-columns:1fr;gap:1.6rem}
  /* A 4:3 frame five times over makes the page very long on a phone. */
  .sol-card__media{aspect-ratio:16/9}
}

/* ===================== VALUE / FEATURE CARDS ===================== */
.value{background:var(--paper)}
.value__grid{grid-template-columns:repeat(4,1fr);gap:1.4rem;display:grid}
.feature{border:1px solid var(--line);border-radius:var(--radius);transition:border-color var(--motion-color), box-shadow var(--motion-color);background-color:var(--white);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:2rem 1.6rem}
.feature:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
.feature__num{font-family:var(--font-mono);letter-spacing:.1em;color:var(--olive-text);margin-bottom:1.4rem;font-size:.75rem;font-weight:700}
.feature h3{font-size:var(--fs-h3);margin-bottom:.7rem}
.feature p{color:var(--slate);font-size:.97rem}
.value__explore{margin-top:2.8rem}

/* ===================== SHOWCASE ROWS ===================== */
.showcase__row{grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding-block:clamp(2.5rem,5vw,4rem);display:grid}
.showcase__row+.showcase__row{border-top:1px solid var(--line)}
.showcase__row.reverse .showcase__media{order:-1}
.showcase__media img{width:100%;background:var(--stone)}
.showcase__text h3{margin-bottom:1rem;font-size:clamp(1.5rem,2.6vw,2.1rem)}
.showcase__text p{color:var(--slate)}

/* ===================== CASE TILES — photography, tile scrim 96%→20% ===================== */
.cases{background:var(--paper);padding-block:clamp(3.6rem,7.2vw,6.4rem)}
.cases .section-head{max-width:1200px}
.cases__title{font-size:clamp(1.7rem,2.7vw,2.3rem);line-height:1.15;white-space:nowrap}
@media (width<=640px){.cases__title{white-space:normal}}
.cases h2{color:var(--ink)}
.cases .section-head p{color:var(--slate)}
.cases__grid{grid-template-columns:repeat(3,1fr);gap:1.4rem;display:grid}
.case{border-radius:var(--radius);min-height:260px;position:relative;isolation:isolate;overflow:hidden;transition:border-color var(--motion-color);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;padding:1.8rem}
/* Serves both forms: the home page renders an <img> here (so it can
   lazy-load), while expert-services.html and facecapture.html still use a
   <span> painted by the .case__bg--* rules below. */
.case__bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;background-position:50%;background-size:cover;transition:transform var(--motion-transform)}
.case__bg--oceanagold{background-image:url(../images/hero-oceanagold.webp)}
.case__bg--south32{background-image:url(../images/hero-south32.webp)}
.case__bg--coeur{background-image:url(../images/hero-kensington.webp)}
.case:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg, #101418f5 0%, #10141880 55%, #1014182e 100%)}
.case:hover{border-color:var(--mvs-green)}
.case__tag{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--sage);font-size:.7rem;margin-bottom:.5rem;display:block}
.case h3{color:var(--white);font-size:1.25rem;line-height:1.3;margin-bottom:1.4rem}
.case__link{font-family:var(--font-display);color:var(--white);align-items:center;gap:.5rem;font-size:.9rem;font-weight:600;display:inline-flex}
.case__link svg{width:15px;height:15px;transition:transform var(--motion-transform)}
.case:hover .case__link svg{transform:translateX(4px)}

/* ===================== ROI (Proven impact) ===================== */
.roi__grid{grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,5vw,4.5rem);display:grid}
.roi__stats{flex-direction:column;gap:1.4rem;margin-top:2rem;display:flex}
.stat{border-left:3px solid var(--mvs-green);padding-left:1.2rem}
.stat__num{font-family:var(--font-display);color:var(--ink);font-size:clamp(2.2rem,4vw,3.2rem);font-weight:600;line-height:1}
.stat__label{color:var(--slate);margin-top:.4rem}
.roi__media img{border-radius:var(--radius-lg);width:100%}

.pi{background:var(--ink)}
.pi .eyebrow{color:var(--sage)}
.pi__head{max-width:640px}
.pi__head h2{color:var(--white);margin:.6rem 0 1.1rem;font-size:clamp(1.9rem,3.4vw,2.8rem)}
.pi__lead{color:#ffffffb3;font-size:var(--fs-lead);margin-bottom:.4rem}
.pi__grid{grid-template-columns:1fr 1fr;align-items:start;gap:clamp(3rem,6vw,6rem);display:grid}
.pi__stats{flex-direction:column;display:flex}
.pi__stat{border-top:1px solid #ffffff1f;align-items:baseline;gap:1.1rem;padding:1.15rem 0;display:flex}
.pi__stat-num{font-family:var(--font-display);color:var(--mvs-green);flex:none;font-size:1.6rem;font-weight:700;white-space:nowrap}
.pi__stat-num--mono{font-family:var(--font-mono);font-weight:400;font-size:1.2rem}
.pi__stat-label{color:#ffffffb3;font-size:.97rem}

.roi-panel__header{border-bottom:1px solid #ffffff24;justify-content:space-between;margin-bottom:1.4rem;padding-bottom:1rem;display:flex}
.roi-panel__header span{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:#ffffffb3;font-size:.65rem;font-weight:700}
.roi-panel__rows{flex-direction:column;display:flex}
.roi-panel__row{border-bottom:1px solid #ffffff1a;padding:1.4rem 0}
.roi-panel__row--last{border-bottom:none}
.roi-panel__row-top{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.85rem;display:flex}
.roi-panel__name{font-family:var(--font-display);color:var(--white);font-size:1.1rem;font-weight:600}
.roi-panel__value{font-family:var(--font-display);color:var(--white);white-space:nowrap;font-size:clamp(1.5rem,2.6vw,1.9rem);font-weight:700}
.roi-panel__track{background:#ffffff1f;border-radius:0;height:7px;margin-bottom:.85rem;overflow:hidden}
.roi-panel__fill{background:var(--mvs-green);height:100%;border-radius:0}
.roi-panel__fill--100{width:100%}
.roi-panel__fill--88{width:88%}
.roi-panel__fill--69{width:69%}
.roi-panel__desc{color:#ffffff8c;margin:0;font-size:.93rem;line-height:1.65}
.roi-panel__note{color:#ffffff5c;border-top:1px solid #ffffff1a;margin-top:1.5rem;padding-top:1.2rem;font-size:.8rem;line-height:1.5}
@media (width<=900px){.pi__grid{grid-template-columns:1fr}}
.pi__note{font-family:var(--font-mono);color:#ffffff5c;letter-spacing:.04em;text-transform:uppercase;border-top:1px solid #ffffff1a;margin-top:2.5rem;padding-top:1.4rem;font-size:.7rem}

/* ===================== OUTCOMES (#outcomes) =====================
   The ROI figures on ink. The case studies sit in their own .cases
   section on paper underneath - the whole proof story on one dark ground
   read as a wall. The ROI half is the .pi rules above, unchanged. */
/* Case-study result line. Ships empty on every card; set `result` in
   MVS_CONFIG.homeCaseStudies and it appears under the title. White because
   it sits on the tile's photo scrim, not on the section background. */
.case__result{color:var(--white);margin:-.9rem 0 1.4rem;font-size:.95rem;font-weight:600;line-height:1.4}

/* ===================== THE LATEST (#latest) ===================== */
/* Stone, not paper: .cases sits directly above it on paper, and two
   identical light bands in a row read as one very long section. */
.latest{background:var(--stone)}
.latest-grid{grid-template-columns:repeat(3,1fr);gap:1.4rem;display:grid}
.latest-card{background:var(--white);border:1px solid var(--line);transition:border-color var(--motion-color);flex-direction:column;gap:.45rem;padding:1.6rem 1.5rem;display:flex}
.latest-card:hover{border-color:var(--mvs-green)}
.latest-card__date{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--slate);font-size:.72rem;font-weight:500}
.latest-card__source{color:var(--text-muted);font-size:.8rem}
.latest-card__title{font-family:var(--font-display);color:var(--ink);margin:.2rem 0 0;font-size:1.08rem;font-weight:600;line-height:1.35}
/* Media and News titles can run to 200 characters; the card shows three lines. */
.latest-card__link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.latest-card__link:hover{color:var(--olive-text)}
.latest-card__link svg{width:13px;height:13px;margin-left:.35rem;color:var(--olive-text);display:inline-block;vertical-align:-1px}
@media (width<=980px){.latest-grid{grid-template-columns:1fr}}

/* ===================== GLOBAL REACH ===================== */
.global{background:var(--paper);text-align:center}
.global .section-head{margin-inline:auto}
.global__map{margin-top:2.5rem}
.global__map img{width:100%;max-width:833px;margin-inline:auto}

/* ===================== CTA — Ink over photography ===================== */
.cta{color:var(--white);isolation:isolate;position:relative;overflow:hidden}
/* index.html uses an <img> here so it can lazy-load; every other page
   still uses a <div> with the .cta__bg--mine background. */
.cta__bg{z-index:-2;width:100%;height:100%;object-fit:cover;background-position:50%;background-size:cover;position:absolute;inset:0}
/* CTA scrim over images/cta-background.webp, measured rather than eyeballed:
   the quartz veins run straight through the text, so the worst pixel behind
   the lead paragraph sets the floor. Flat 60% keeps it at 4.9:1 or better on
   narrow screens, where the copy spans the band. From 1024px the copy sits in
   the middle, so the scrim holds 60% behind it and fades to 12% at the edges.
   Re-measure if the photo changes. */
.cta:after{content:"";z-index:-1;background:#10141899;position:absolute;inset:0}
@media (width>=1024px){.cta:after{background:radial-gradient(ellipse 60% 80% at 50% 50%,#10141899 0%,#10141899 55%,#1014181f 100%)}}
.cta__inner{text-align:center;max-width:720px;margin-inline:auto;padding-block:clamp(4.5rem,8vw,7rem)}
.cta h2{color:var(--white);font-size:var(--fs-h2);margin-bottom:1.2rem}
.cta p{color:#ffffffd9;font-size:var(--fs-lead);margin-bottom:2.2rem}

/* ===================== FOOTER — Carbon ===================== */
.footer{background:var(--carbon);color:#ffffffb3;padding-block:4rem 2.2rem}
/* Brand + four link columns: Solutions / Products / Company / Legal, mirroring the header menus. */
.footer__top{border-bottom:1px solid #ffffff1a;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:2.8rem;display:grid}
.footer__brand img{height:44px;margin-bottom:1.2rem}
.footer__brand p{max-width:280px;font-size:.95rem;color:#F4F5F0C7}
.footer__brand address{margin-top:1.2rem;font-size:.9rem;font-style:normal;line-height:1.7}
.footer h4{font-family:var(--font-mono);color:var(--white);letter-spacing:.14em;text-transform:uppercase;margin-bottom:1.1rem;font-size:.72rem}
.footer ul{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}
.footer ul a{transition:color var(--motion-color);font-size:.94rem;color:#ffffffb8}
.footer ul a:hover{color:var(--white)}
.footer__bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-top:1.8rem;font-size:.85rem;color:#ffffff8c;display:flex}
.footer__social{align-items:center;gap:1.1rem;display:flex}
.footer__social a{color:inherit;align-items:center;display:inline-flex}
.footer__social svg{width:22px;height:22px;display:block}
.footer__social a:hover{color:var(--white)}

/* ===================== REVEAL ===================== */
.reveal{opacity:0;transition:opacity .5s var(--ease), transform .5s var(--ease);transform:translateY(24px)}
.reveal.is-visible{opacity:1;transform:none}

/* ===================== RESPONSIVE ===================== */
@media (width<=1180px){.footer__top{grid-template-columns:1.4fr 1fr 1fr;row-gap:2.4rem}}
@media (width<=980px){.value__grid{grid-template-columns:repeat(2,1fr)}.cases__grid{grid-template-columns:1fr}.footer__top{grid-template-columns:1fr 1fr}}
@media (width<=900px){
  .nav__links,.nav__actions{display:none}
  .nav__toggle{display:block;margin-left:auto}
  .nav[data-open=true] .nav__links{border-bottom:1px solid var(--line);background:var(--white);flex-direction:column;align-items:stretch;gap:.15rem;max-height:calc(100vh - 88px - var(--annc-h));padding:1rem 1.5rem 1.5rem;display:flex;position:absolute;top:88px;left:0;right:0;overflow-y:auto}
  .nav__link{justify-content:space-between;width:100%;padding:.8rem 0;font-size:1rem}
  .nav[data-open=true] .nav__link{color:var(--slate)}
  .nav[data-open=true] .nav__link:hover{color:var(--ink)}
  .nav__menu{border-radius:0;min-width:0;padding:.1rem 0 .6rem .7rem;display:none;box-shadow:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:auto!important;background:transparent!important;border:0!important;transition:none!important;position:static!important;transform:none!important}
  .nav__menu:before{display:none}
  .nav__item--open>.nav__menu{display:block}
  .nav__menu a{border-radius:0;padding:.55rem .2rem;display:block;color:var(--slate)!important}
}
@media (width<=760px){.showcase__row{grid-template-columns:1fr}.showcase__row.reverse .showcase__media{order:0}.roi__grid,.value__grid{grid-template-columns:1fr}.footer__top{grid-template-columns:1fr;gap:2rem}}
@media (width<=600px){.hero{aspect-ratio:auto;min-height:0;max-height:none;padding-block:5rem 4rem}.hero h1{margin-bottom:.9rem;font-size:clamp(1.75rem,8.5vw,2.2rem)}.hero__lead{margin-bottom:1.6rem;font-size:1rem}.hero__cta{flex-direction:column;align-items:stretch}.hero__cta .btn{justify-content:center}}
/* Reduced motion: killing the transition is not enough on its own, because
   .reveal starts at opacity:0 and only becomes visible when the observer
   adds .is-visible. Reset the start state too, so content is visible on
   load whether or not the observer has fired. */
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}.reveal{opacity:1;transform:none}}

/* Customer logo ticker when placed inside the dark Expert Services section */
.cases__ticker{margin-top:clamp(2.5rem,5vw,4rem)}
.cases__ticker>.container{padding-top:clamp(2rem,4vw,3rem);border-top:1px solid var(--line)}
.cases__ticker .logos__label{color:var(--slate);text-align:left;margin-bottom:1.4rem}
.name-row{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:1.2rem;row-gap:.8rem;width:100%}
.name-row li{font-family:var(--font-display);color:var(--ink);font-weight:600;font-size:1rem}

/* ===================== HAIRLINE LIST ROW — numbered, rules top/bottom, no box ===================== */
.list-row-group{margin-top:2rem}
.list-row{border-top:1px solid var(--line)}
.list-row:last-child{border-bottom:1px solid var(--line)}
.list-row__inner{display:flex;gap:1.4rem;align-items:baseline;padding-block:1.5rem}
.list-row__num{font-family:var(--font-mono);color:var(--olive-text);font-size:.85rem;font-weight:700;flex:none;width:1.6rem}
.list-row__title{font-family:var(--font-display);color:var(--ink);font-size:1.35rem;font-weight:600;margin-bottom:.4rem}
.list-row__desc{color:var(--slate);font-size:1.05rem}

/* ===================== METRIC ROW — square rule, figures in Grotesk ===================== */
.metric-row{grid-template-columns:repeat(3,1fr);gap:clamp(2rem,4vw,3.5rem);margin-top:3rem;display:grid}
.metric{border-top:2px solid var(--mvs-green);padding-top:1.4rem}
.metric__num{font-family:var(--font-display);color:var(--white);font-size:clamp(2.2rem,4vw,2.8rem);font-weight:700;line-height:1;margin-bottom:.7rem}
.metric__label{color:var(--white);font-weight:600;margin-bottom:.5rem}
.metric__desc{color:#ffffff8c;font-size:.92rem;line-height:1.6}
@media (width<=760px){.metric-row{grid-template-columns:1fr}}

/* ===================== MI-STACK — platform cards (image card pattern) ===================== */
.mi-stack{grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:1rem;display:grid}
@media (width<=900px){.mi-stack{grid-template-columns:1fr}}
.mi-stack--4{grid-template-columns:repeat(2,1fr)}
@media (width<=560px){.mi-stack--4{grid-template-columns:1fr}}
.mi-card{background-color:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:grid;grid-template-rows:1fr 1fr;aspect-ratio:8/5;transition:border-color var(--motion-color), box-shadow var(--motion-color)}
.mi-card:hover{box-shadow:var(--shadow-md);border-color:var(--mvs-green)}
.mi-card__media{overflow:hidden;min-height:0}
.mi-card__media img{width:100%;height:100%;object-fit:cover;transition:transform var(--motion-transform)}
.mi-card__body{padding:1rem 1.4rem 1.2rem;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.mi-card__body>p{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.9rem;line-height:1.5;margin:0 0 1.1rem}
/* The fixed aspect-ratio card (grid-template-rows:1fr 1fr above) doesn't
   leave reliable room for a 2-line-clamped body once a card's copy runs
   past ~2 lines - mi-card__link ends up clipped by mi-card__body's
   overflow:hidden. mineworks.css hit the same issue and fixed it
   by switching to natural height; same fix here, scoped to this section
   so the base .mi-card used elsewhere is untouched. */
#capabilities .mi-card{aspect-ratio:auto;display:flex;flex-direction:column;position:relative}
/* Whole card links to its page, like the Solutions cards. */
#capabilities .mi-card__link:after{content:"";position:absolute;inset:0}
#capabilities .mi-card__media{height:220px}
#capabilities .mi-card__body{min-height:0}
#capabilities .mi-card__body>p{-webkit-line-clamp:unset;overflow:visible}
/* Product glyph above the kicker. One width for all of them: the hexagon is
   the same size and dead-centre on every glyph artboard, so they align. */
/* Product glyphs render at one shared scale (viewBox x 0.625, set by each
   img's width/height), so their hexagons match but their heights differ.
   The 90px slot, bottom-aligned, keeps the card titles on one line. */
.mi-card__glyph-box{align-items:flex-end;height:90px;margin-bottom:.9rem;display:flex}
.mi-card__glyph{height:auto}
.mi-card__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}
.mi-card__kicker{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--olive-text);font-size:.62rem;font-weight:700}
.mi-card__badge{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;font-size:.58rem;font-weight:700;padding:.26rem .6rem;border-radius:4px;white-space:nowrap}
.mi-card__badge--now{background:var(--green-100);color:var(--green-800)}
.mi-card__badge--soon{background:var(--stone-200);color:var(--stone-600);border:1px solid var(--stone-300)}
.mi-card__badge--expanding{background:transparent;color:var(--stone-500);border:1px dashed var(--stone-400)}
.mi-card h3{font-family:var(--font-display);color:var(--ink);font-size:1.15rem;font-weight:600;margin:0 0 .5rem}
.mi-card__list{list-style:none;margin:0 0 1.4rem;padding:0;display:grid;gap:.5rem}
.mi-card__list li{position:relative;padding-left:1.35rem;color:var(--slate);font-size:.88rem;line-height:1.5}
.mi-card__list li:before{content:"";position:absolute;left:0;top:.5em;width:7px;height:7px;border-radius:1px;background:var(--mvs-green)}
.mi-card__link{margin-top:auto;font-family:var(--font-display);color:var(--olive-text);font-weight:600;font-size:.92rem;display:inline-flex;align-items:center;gap:.5rem}
.mi-card__link svg{width:15px;height:15px;transition:transform var(--motion-transform)}
.mi-card:hover .mi-card__link svg{transform:translateX(4px)}
.mi-card:hover .mi-card__link{color:var(--olive-text-hover)}

/* ============================================================
   Cookie consent bar (js/cookie-consent.js)
   Bottom-anchored on purpose: the header is fixed at 88px with a sticky
   sub-nav beneath it, and every anchored section's scroll-margin-top is
   measured against that pair. A top bar would shift all of them.
   The global prefers-reduced-motion rule above already kills the slide-in.
   ============================================================ */
.cc{background:var(--ink);border-top:1px solid #ffffff1f;box-shadow:var(--shadow-md);z-index:1200;transition:transform var(--motion-considered);position:fixed;bottom:0;left:0;right:0;transform:translateY(100%)}
.cc.cc--open{transform:translateY(0)}
.cc__inner{width:min(100% - 2.5rem, var(--maxw));margin-inline:auto;padding:1.5rem 0 1.6rem}
.cc--hidden{display:none}

.cc__title{font-family:var(--font-display);color:var(--white);margin:0 0 .5rem;font-size:1.1rem;font-weight:600}
.cc__title:focus-visible{outline:2px solid var(--sage);outline-offset:4px}
.cc__text{color:#ffffffbf;max-width:68ch;margin:0 0 1.1rem;font-size:.92rem;line-height:1.65}
.cc__link{color:var(--sage);text-decoration:underline;text-underline-offset:2px}
.cc__link:hover{color:var(--white)}

.cc__actions{flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}
.cc__btn{font-size:.9rem}
/* A text-weight third option, not a third button — "Manage preferences" is a
   detour, while Accept and Reject are the two real answers and must look it. */
.cc__manage{font-family:var(--font-body);color:#ffffffbf;cursor:pointer;background:none;border:0;padding:.85rem .4rem;font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.cc__manage:hover{color:var(--white)}
.cc *:focus-visible{outline:2px solid var(--sage);outline-offset:3px}

.cc__cats{list-style:none;margin:0 0 1.3rem;padding:0;display:grid;gap:1.1rem}
.cc__cat-row{align-items:center;gap:.6rem;display:flex}
.cc__checkbox{accent-color:var(--green-400);width:17px;height:17px;flex:none;margin:0}
.cc__checkbox:disabled{opacity:.65}
.cc__cat-name{font-family:var(--font-display);color:var(--white);cursor:pointer;font-size:.95rem;font-weight:600}
.cc__checkbox:disabled + .cc__cat-name{cursor:default}
.cc__cat-note{color:#ffffff99;max-width:72ch;margin:.3rem 0 0 1.6rem;font-size:.86rem;line-height:1.6}

@media (max-width:640px){
  .cc__inner{padding:1.2rem 0 1.3rem}
  .cc__text{font-size:.88rem}
  .cc__actions{align-items:stretch;flex-direction:column;gap:.6rem}
  .cc__btn{justify-content:center;width:100%}
  .cc__manage{text-align:center;padding:.5rem}
  .cc__cat-note{margin-left:0}
}

/* Footer "Cookie preferences" trigger — a button, since it opens a dialog
   rather than navigating anywhere. Styled to sit with the copyright line. */
.footer__prefs{font-family:var(--font-body);color:#ffffff8c;cursor:pointer;background:none;border:0;padding:0;font-size:.85rem;text-decoration:underline;text-underline-offset:2px}
.footer__prefs:hover{color:var(--white)}

/* Inline text link in body copy, on light grounds (partners, /facecapture
   how it works). Matches the consent-line link treatment. */
.text-link{color:var(--olive-text);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.text-link:hover{color:var(--olive-text-hover)}

/* Footer bottom bar: legal links in a row with dividers (cookie preferences
   last), social icons on the right, copyright on its own line beneath. */
.footer__legal ul{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 0}
.footer__legal li+li{border-left:1px solid #ffffff33;margin-left:1rem;padding-left:1rem}
.footer .footer__legal a,.footer__legal .footer__prefs{color:#ffffffb8;font-size:.88rem;line-height:1.2;text-decoration:none}
.footer .footer__legal a:hover,.footer__legal .footer__prefs:hover{color:var(--white)}
.footer__copy{flex-basis:100%;margin:0;font-size:.85rem;color:#ffffff8c}
@media (width<=760px){.footer__legal li+li{border-left:0;margin-left:0;padding-left:0}.footer__legal ul{gap:.7rem 1.4rem}}
