/* ============================================================================
   ACTEON homepage - track-final "tech premium", adjusted after Laurent's review
   All Inter Tight. Regular 400 for titles, Regular body, Medium labels
   (Light 300 kept only for the large key-figure numerals).
   Foundation: ../tokens.css (imposed, not modified here).
   ========================================================================== */

/* ---- local scale --------------------------------------------------------- */
:root {
  --nav-h: 76px;
  /* padding that aligns a full-bleed scroller with the 1200px container */
  --bleed-pad: calc(max((100vw - var(--container)) / 2, 0px) + var(--gutter));
  /* semantic z-scale */
  --z-nav: 30;
  --z-hero-controls: 10;
  --z-skip: 999;

  /* "custom" cloudy gradient, brand book p.47 - opaque brand colours only:
     near-white top-right, deep navy top-left, signature blue centre-bottom */
  --grad-custom:
    radial-gradient(90% 150% at 97% -20%, #F9F7F6 0%, rgba(249, 247, 246, 0) 42%),
    radial-gradient(70% 120% at 86% 22%, #9FCEE3 0%, rgba(159, 206, 227, 0) 55%),
    radial-gradient(110% 150% at 58% 135%, #00B0DB 0%, rgba(0, 176, 219, 0) 60%),
    radial-gradient(130% 190% at 0% -20%, #0E1D28 0%, rgba(14, 29, 40, 0) 75%),
    linear-gradient(115deg, #0E1D28 0%, #173E5A 100%);
}

h1, h2, h3, .hero-title { text-wrap: balance; }
p { text-wrap: pretty; }

/* ============================================================ BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 var(--sp-6);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
}
.btn-primary:hover { background: var(--btn-primary-hover); }

/* on photography / dark gradients */
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--blue-light); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }


/* ================================================================ NAV ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--surface);          /* opaque from the start - no glass */
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* fixed nav height on scroll - only the shadow / hairline marks detachment */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: var(--nav-h);
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  min-width: 0;
}
.nav-logo { display: inline-flex; align-items: center; flex: none; }
.nav-logo img {
  height: 23px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 var(--sp-3);
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--ink);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-item:hover { color: var(--accent-text); background: var(--surface-2); }
.nav-item .caret { width: 11px; height: 11px; color: var(--mid-grey); }
.nav-item:hover .caret { color: var(--accent-text); }

/* conversion path visible from the header (ROI Calculator in blue) */
.nav-item-roi { color: var(--accent-text); }
.nav-item-roi:hover { background: var(--surface-blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
}
.nav-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}
.nav-iconbtn:hover { background: var(--surface-2); }
.nav-iconbtn svg { width: 21px; height: 21px; }

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--sp-3);
  background: none;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}
.nav-lang:hover { background: var(--surface-2); }
.nav-lang svg { width: 19px; height: 19px; }
.nav-lang .caret { width: 10px; height: 10px; color: var(--mid-grey); }

.nav-cta { margin-left: var(--sp-2); }
.nav-burger { display: none; }

@media (max-width: 960px) {
  .nav-menu,
  .nav-iconbtn:not(.nav-burger),
  .nav-lang { display: none; }
  .nav-burger { display: inline-grid; }
  .nav-cta { margin-left: 0; min-height: 40px; padding-inline: var(--sp-4); }
}

/* ========================================================= MEGA MENUS ===== */

/* trigger keeps its hover voice while its panel is open */
.nav-item[aria-expanded="true"] { color: var(--accent-text); background: var(--surface-2); }
.nav-item[aria-expanded="true"] .caret { color: var(--accent-text); }

/* full-width panels anchored under the fixed-height bar - zero layout shift */
.mega { position: absolute; top: 100%; left: 0; right: 0; }

.mega-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);            /* opaque, per palette rule */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility 0s linear var(--dur);
}
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}

/* ---- shared vocabulary ---------------------------------------------------- */

/* menu column label (h4) - same voice as the footer column heads, on light */
.mm-label {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* master-detail rail: white (Straumann-style), active item = light-blue highlight
   (--surface-blue is opaque per the palette rule but reads as the translucent-blue
   highlight); a hairline separates the rail from the detail */
.mm-rail {
  margin: 0;
  padding: var(--sp-2) 0;
  list-style: none;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding-block: var(--sp-3) var(--sp-6);  /* 12px top, 24px bottom */
}
.mm-rail-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  min-height: 42px;
  padding: var(--sp-2) var(--sp-4);
  background: none;
  border: 0;
  text-align: left;
  font-size: 15px;
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.mm-rail-btn:hover { background: var(--surface-3); color: var(--ink); }
.mm-rail-btn.is-active {
  background: var(--surface-blue);
  color: var(--accent-text);
  font-weight: var(--fw-medium);
}
.mm-chev {
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--accent-text);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.mm-rail-btn:hover .mm-chev,
.mm-rail-btn.is-active .mm-chev { opacity: 1; transform: none; }
.mm-rail-lab {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
}
.mm-rail-lab img { flex: none; }

.mm-view[hidden] { display: none; }

/* ---- Products panel -------------------------------------------------------- */

.mm-products {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);   /* ROI column removed */
  gap: clamp(20px, 2.5vw, 40px);
  padding-block: 0;                               /* rail flush to panel top/bottom */
}

/* detail carries the vertical breathing room so the rail band stays flush */
.mm-detail { display: flex; flex-direction: column; min-height: 0; padding-block: var(--sp-6); }
.mm-detail .link-more { margin-top: var(--sp-2); margin-bottom: 0; }

.mm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
}
.mm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.mm-chip:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* featured tiles - TEST variant (track-final): grey surface, blue scan on hover */
.mm-prods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* fluid, up to 4 across */
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mm-prod a { display: block; }
.mm-media {
  position: relative;
  display: block;
  aspect-ratio: 1;                     /* square product visuals */
  overflow: hidden;
  background: var(--surface-2);        /* grey (test vs gradient on V2) */
}
.mm-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur) var(--ease-out);
}
.mm-scan {
  position: absolute;
  inset: 10%;
  pointer-events: none;
  opacity: 0;                          /* blue scan revealed on hover/focus */
  transition: opacity var(--dur) var(--ease-out);
  background:
    linear-gradient(var(--blue), var(--blue)) left top    / 15% 2px,
    linear-gradient(var(--blue), var(--blue)) left top    / 2px 15%,
    linear-gradient(var(--blue), var(--blue)) right top   / 15% 2px,
    linear-gradient(var(--blue), var(--blue)) right top   / 2px 15%,
    linear-gradient(var(--blue), var(--blue)) left bottom / 15% 2px,
    linear-gradient(var(--blue), var(--blue)) left bottom / 2px 15%,
    linear-gradient(var(--blue), var(--blue)) right bottom / 15% 2px,
    linear-gradient(var(--blue), var(--blue)) right bottom / 2px 15%;
  background-repeat: no-repeat;
}
.mm-prod a:hover .mm-scan,
.mm-prod a:focus-visible .mm-scan { opacity: 1; }
.mm-prod a:hover .mm-media { box-shadow: var(--shadow-md); }
.mm-prod a:hover .mm-media img { transform: scale(1.03); }
.mm-prod-name {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.mm-prod-name .tag { flex: none; }
.mm-prod-cat {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.mm-prod a:hover .mm-prod-name { color: var(--accent-text); }

/* featured items without a packshot yet: typographic rows (drop an .mm-prod
   tile in when the visual arrives - same anatomy, media block added) */
.mm-lines {
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
}
.mm-prods + .mm-lines { margin-top: var(--sp-6); }
.mm-lines a {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 52px;
  padding-block: var(--sp-2);
  border-top: 1px solid var(--border);
}
.mm-line-name {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.mm-line-cat {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-align: right;
}
.mm-lines a:hover .mm-line-name { color: var(--accent-text); }
.mm-lines a:hover .cat-arrow { color: var(--accent-text); transform: translateX(4px); }

/* ---- Solutions panel ------------------------------------------------------- */

.mm-solhdr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.mm-solhdr-label {
  margin-right: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}
.mm-aud {
  display: inline-flex;
  align-items: center;
  min-height: 30px;                    /* same size as Products sub-categories (.mm-chip) */
  padding: 0 var(--sp-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.mm-aud:hover { border-color: var(--accent-text); color: var(--accent-text); }

.mm-solutions {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: 0;                    /* rail + detail flush under the "I am a" hairline */
}

.mm-intro {
  margin-bottom: var(--sp-4);
  max-width: 44em;
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

/* 4-step care workflow - grey aplat panels (structure), ordered by Step n labels */
.mm-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mm-step {
  padding: var(--sp-4);
  background: var(--surface-2);
}
.mm-step-n {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mm-step-t {
  margin-top: 2px;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
}
/* each product on a white aplat inside the grey step panel, with a blue
   left-marker (relocated brand tick - client-requested accent per product) */
.mm-step-prods {
  margin: var(--sp-3) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.mm-step-prods a {
  display: block;
  padding: 6px var(--sp-2);
  background: var(--surface);
  border-left: 2px solid var(--blue);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  transition: color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.mm-step-prods a:hover { color: var(--accent-text); box-shadow: var(--shadow-sm); }

/* ---- About / Support panels ------------------------------------------------ */

.mm-about { padding-block: var(--sp-8); }
.mm-title {
  margin-bottom: var(--sp-6);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mm-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}
.mm-support { padding-block: var(--sp-8); }

.mm-colhead {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-2);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mm-lock { width: 14px; height: 14px; flex: none; }

.mm-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mm-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color var(--dur-fast) var(--ease);
}
.mm-links a:hover { color: var(--accent-text); }
/* external-link glyph on Careers + Dealer Portal items (light context),
   desktop mega-menu (.mm-links) and mobile drawer (.mnav-links) */
.mm-links a .ext,
.mnav-links a .ext {
  width: 13px;
  height: 13px;
  flex: none;
  margin-left: 6px;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}
.mm-links a:hover .ext,
.mnav-links a:hover .ext { color: var(--accent-text); transform: translate(1px, -1px); }

/* My Resources: the one highlighted block of the Support panel */
.mm-res { padding: var(--sp-6); background: var(--surface-2); }
.mm-res-pic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--graphite);
}
.mm-res-pic svg { width: 22px; height: 22px; }
.mm-res-name {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mm-res-desc {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.mm-res .btn { margin-top: var(--sp-4); }

@media (max-width: 960px) {
  .mega { display: none; }
}

/* ================================================= MOBILE MENU (<960px) ==== */
/* Panel drill-down: root -> menu -> (Solutions) workflow. One panel visible at a
   time; panels slide horizontally inside a clipped viewport (iOS-style push). */

.no-scroll { overflow: hidden; }

.nav-burger .ic-close { display: none; }
.nav-burger.is-open .ic-burger { display: none; }
.nav-burger.is-open .ic-close { display: block; }

/* drawer shell: fills below the fixed nav; column = sliding viewport + pinned CTA */
.mnav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-top: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility 0s linear var(--dur);
}
.mnav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}
@media (min-width: 961px) {
  .mnav { display: none; }
}

/* clipped stage the panels slide within.
   overflow:clip (not hidden) so it is NOT a scroll container - otherwise focusing
   an off-stage panel scrolls the viewport sideways and breaks the layout. */
.mnav-viewport {
  position: relative;
  flex: 1 1 auto;
  overflow: clip;
}

.mnav-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transform: translateX(100%);              /* off to the right by default */
  transition: transform var(--dur) var(--ease-out);
}
.mnav-panel.is-active { transform: translateX(0); }
.mnav-panel.is-behind { transform: translateX(-100%); } /* an ancestor, off left */

/* sub-panel header: back affordance + current title */
.mnav-head {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--gutter) var(--sp-4);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mnav-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  min-height: 32px;
  padding: 0 var(--sp-2) 0 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease);
}
.mnav-back svg { width: 16px; height: 16px; flex: none; }
.mnav-back:hover { color: var(--accent-text); }
.mnav-heading {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* scroll region of each panel */
.mnav-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-2) var(--gutter) var(--sp-8);
}

.mnav-menu { margin: 0; padding: 0; list-style: none; }

/* top-level rows: drill buttons + direct link, same weight */
.mnav-drill,
.mnav-direct {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 60px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--ink);
  cursor: pointer;
}
.mnav-direct { color: var(--accent-text); }
.mnav-direct span { margin-left: auto; }
.mnav-arr {
  width: 16px;
  height: 16px;
  flex: none;
  margin-left: auto;
  color: var(--mid-grey);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.mnav-drill:hover .mnav-arr { transform: translateX(2px); color: var(--accent-text); }

/* section labels inside a panel (Solutions) */
.mnav-kicker {
  margin: var(--sp-6) 0 var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mnav-kicker:first-child { margin-top: var(--sp-2); }
.mnav-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.mnav-group + .mnav-group { margin-top: var(--sp-6); }
.mnav-body .mm-colhead { margin-top: var(--sp-4); }

.mnav-links { margin: 0; padding: 0; list-style: none; }
.mnav-links a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 48px;
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.mnav-links .cat-arrow { margin-left: auto; color: var(--mid-grey); }

/* clinical-need rows carry a pictogram + drill arrow */
.mnav-need,
.mnav-cat {
  min-height: 56px;
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--ink-2);
}
.mnav-pic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.mnav-pic img { width: 22px; height: 22px; }

/* Products drill: featured-product rows (mini packshot + name + sub-category) */
.mprod-list { margin: 0; padding: 0; list-style: none; }
.mprod-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 64px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}
.mprod-thumb {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);   /* coherent with desktop .mm-media: no border, no radius */
}
.mprod-thumb img { width: 36px; height: 36px; object-fit: contain; }
.mprod-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mprod-nm { font-size: var(--fs-base); color: var(--ink); }
.mprod-ct { font-size: var(--fs-sm); color: var(--ink-muted); }
.mprod-row .cat-arrow { margin-left: auto; color: var(--mid-grey); }

/* Solutions workflow (level 2) - reuse the desktop grey-aplat steps, stacked */
.mnav-intro {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.mnav-flow {
  margin: 0 0 var(--sp-6);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* pinned primary CTA, always reachable across panels */
.mnav-foot {
  flex: none;
  padding: var(--sp-4) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mnav-foot .btn { width: 100%; }

/* drawer utilities: search field, Customer Space, language selector */
.mnav-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  height: 48px;
  margin: var(--sp-4) 0 var(--sp-4);   /* un peu d'air au-dessus du champ search */
  padding: 0 var(--sp-3);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.mnav-search-ic { width: 20px; height: 20px; flex: none; color: var(--ink-muted); }
.mnav-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  font-size: var(--fs-base);
  color: var(--ink);
}
.mnav-search-input::placeholder { color: var(--ink-muted); }
.mnav-search-input:focus { outline: none; }

.mnav-utility { margin-top: var(--sp-4); }
.mnav-util {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 56px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: var(--fs-base);
  color: var(--ink);
  cursor: pointer;
}
.mnav-util > svg:first-child { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.mnav-util .ext { width: 14px; height: 14px; margin-left: auto; color: var(--mid-grey); }
.mnav-util-val { margin-left: auto; font-size: var(--fs-sm); color: var(--ink-muted); }
.mnav-util .mnav-arr { margin-left: 0; }
.mnav-langs a[aria-current="true"] { color: var(--accent-text); font-weight: var(--fw-medium); }

/* motion hygiene: the reset zeroes durations but not delays */
@media (prefers-reduced-motion: reduce) {
  .mega-panel,
  .mnav { transition-delay: 0s !important; }
  .mnav-panel { transition: none !important; }   /* panels appear, never slide */
  .mm-prod a:hover .mm-media img { transform: none; }
  .mm-lines a:hover .cat-arrow { transform: none; }
}

/* =============================================================== HERO ===== */

.hero { position: relative; background: var(--surface-dark); }

.hero-slides { display: grid; }

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82svh, 780px);
  padding-block: var(--sp-16) calc(var(--sp-16) + 56px); /* room for controls */
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease),
              visibility 0s linear var(--dur-slow);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s, 0s;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-left);      /* the one justified transparency */
}

.hero-slide-product { background: var(--grad-dark); }
/* brand precision-grid on the LEFT only, fading out to the right so it never
   reaches the packshot. Solid line colour (no transparent fill) - the gaps
   reveal the gradient. */
.hero-slide-product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 80%);
  mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero-slide-product .hero-layout { z-index: 1; }

.hero-layout {
  position: relative;
  width: 100%;
}
.hero-layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--sp-12);
}

.hero-copy {
  max-width: 34em;
  transform: translateY(14px);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out),
              opacity var(--dur-slow) var(--ease-out);
}
.hero-slide.is-active .hero-copy {
  transform: none;
  opacity: 1;
  transition-delay: 120ms;
}

.hero-eyebrow {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--blue);                 /* signature blue, decorative on dark */
}
.hero-title {
  font-size: clamp(2.625rem, 1.6rem + 4.1vw, 4.25rem); /* 42 -> 68, tuned for 400 */
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--white);
}
/* echo of the official KV typography (cyan words on dark) - test Laurent session 3;
   signature blue on the dark photo = large text, ~6.6:1 on the navy zone */
.hero-title-accent { color: var(--blue); }
.hero-lead {
  margin-top: var(--sp-6);
  max-width: 30em;
  font-size: var(--fs-lg);
  line-height: var(--lh-body);
  color: var(--white);
}
.hero-lead-dim { color: var(--on-dark-2); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* packshot staged with the brand "scan" corner brackets -
   the product fills the bracket frame instead of floating in it */
.hero-packshot {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  height: clamp(340px, 30vw, 460px);  /* DEFINITE height - identical scan frame every slide */
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);  /* definite cell so the img max-height resolves */
  place-items: center;
  padding: clamp(20px, 2.4vw, 36px);
  margin: 0;
}
.hero-packshot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;                   /* product contained + centred in the fixed box */
  filter: drop-shadow(0 24px 48px rgba(6, 0, 0, 0.45));
}

.scan {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--blue);
}
.scan.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.scan.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.scan.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.scan.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* grouped control pill - arrows + dots, bottom center */
.hero-controls {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-hero-controls);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1);
  background: var(--surface-dark);    /* opaque, per palette rule */
  border-radius: var(--radius-pill);
}
.hero-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}
.hero-arrow:hover { background: var(--surface-dark-2); }
.hero-arrow svg { width: 18px; height: 18px; }

.hero-dots { display: inline-flex; }
.hero-dot {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
/* active marker = a brighter white dot (not an elongated bar) */
.hero-dot span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mid-grey);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero-dot[aria-current="true"] span { background: var(--white); transform: scale(1.22); }


@media (max-width: 720px) {
  .hero-slide {
    min-height: clamp(540px, 74svh, 620px);
    align-items: flex-end;
    padding-block: var(--sp-12) calc(var(--sp-12) + 64px);
  }
  .hero-media { object-position: 70% center; }
  /* same official scrim recipe, stretched so the fade point clears the
     narrow viewport (copy spans the full width on mobile) */
  .hero-scrim {
    /* mobile: bottom-anchored vertical scrim (like the manifesto) - image/subject
       stays clear at the top, only the text zone at the bottom is darkened */
    background: linear-gradient(to top, rgba(6,10,14,.78) 0%, rgba(6,10,14,.6) 28%, rgba(6,10,14,.24) 55%, rgba(6,10,14,0) 80%);
    background-size: 100% 100%;
  }
  .hero-layout-split {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .hero-packshot {
    order: -1;                        /* product first, copy under it */
    width: min(74vw, 300px);
    height: min(74vw, 300px);         /* square scan frame, definite height */
  }
  /* keep the grid on the left, fading right (single column on mobile) */
  .hero-slide-product::before {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 46%, transparent 88%);
    mask-image: linear-gradient(to right, #000 0%, #000 46%, transparent 88%);
  }
  .hero-title { font-size: var(--fs-h1); }
  h1.hero-title { font-size: clamp(3rem, 1.6rem + 7vw, 3.4rem); }  /* ~52px @375 */
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =========================================================== PRODUCTS ===== */

.products { padding-block: var(--sp-section); }

/* brand grid, redone: an ample full-bleed layer behind the whole section
   header band, fading out with a clean linear mask (Products + Expertises) */
.products,
.expertises { position: relative; }
.demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(260px, 30vw, 400px);
  z-index: 0;
  background-image:
    linear-gradient(var(--grey) 1px, transparent 1px),
    linear-gradient(90deg, var(--grey) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
  pointer-events: none;
}

.zone-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
/* compact ROI entry, R3: solid navy tile, bare calculator icon, facing the
   zone title - small but assertive */
.roi-mini {
  align-self: end;
  /* zone-head carries padding-block sp-4: mirror it so the tile's bottom edge
     sits level with the intro text, not with the padding box */
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: clamp(16px, 2vw, 24px);
  background: var(--ink);
  text-decoration: none;
  transition: box-shadow var(--dur) var(--ease);
}
.roi-mini:hover { box-shadow: var(--shadow-md); }
.roi-mini-ic { width: 32px; height: 32px; flex: none; color: var(--blue); }
.roi-mini-copy { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.roi-mini-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--white);
  line-height: var(--lh-snug);
}
.roi-mini-cta {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--blue);
}
.roi-mini:hover .roi-mini-cta { text-decoration: underline; text-underline-offset: 3px; }

/* mobile: stack the ROI tile under the intro (placed AFTER the base rule so it
   wins the cascade - the earlier media query was being overridden) */
@media (max-width: 900px) {
  .zone-head-row { grid-template-columns: minmax(0, 1fr); }
  .roi-mini { align-self: stretch; margin-bottom: 0; }
}

.zone-head {
  position: relative;
  max-width: 56em;
  padding-block: var(--sp-4);
}

.eyebrow {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-text);
}
.zone-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}
.zone-sub {
  margin-top: var(--sp-4);
  max-width: 38em;
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

/* the 5 sub-blocks read as ONE linked zone: single shared background
   (wireframe intent) + the same small blue tick signing every block title */
.block-title {
  position: relative;
  padding-top: var(--sp-3);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.block-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

/* ---- 1. New products strip ---------------------------------------------- */

.np { margin-top: clamp(28px, 4vw, 48px); }

.np-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.np-nav { display: flex; gap: var(--sp-2); }

.strip-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
}
.strip-arrow:hover { background: var(--surface-2); border-color: var(--graphite); }
.strip-arrow[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.strip-arrow svg { width: 18px; height: 18px; }

/* full-bleed scroller whose first card aligns with the container */
.np-strip {
  display: flex;
  gap: var(--sp-6);
  margin: 0;
  padding: var(--sp-2) var(--bleed-pad) var(--sp-4);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--bleed-pad);
  scrollbar-width: none;
}
.np-strip::-webkit-scrollbar { display: none; }

.pcard {
  flex: 0 0 clamp(240px, 24vw, 316px);
  scroll-snap-align: start;
}
.pcard a { display: block; }

.pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;               /* square vignette, imposed ratio */
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
  /* New-products gradient v2, recalibrated on the brand book custom gradient
     (more vivid than the product-example reconstruction - see GRADIENT-NP-RECIPE.md) */
  background:
    radial-gradient(41% 41% at 100% 1%, #FFFFFF 0%, rgba(255,255,255,0) 100%),
    radial-gradient(70% 70% at 100% 0%, #E9F5FB 0%, rgba(233,245,251,0) 100%),
    radial-gradient(80% 65% at 38% 112%, #00C4F2 0%, rgba(0,196,242,0) 100%),
    radial-gradient(32% 32% at 0% 0%, #0C1B33 0%, rgba(12,27,51,0) 100%),
    radial-gradient(62% 62% at 3% 3%, #123052 0%, rgba(18,48,82,0) 100%),
    linear-gradient(125deg, #24557C 0%, #00B6E6 100%);
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* delivered squares are composed full-bleed */
  transition: transform var(--dur-slow, 400ms) var(--ease);
}
/* scan brackets drawn in code (spec in GRADIENT-NP-RECIPE.md): white L corners,
   frame inscribed ~26%, branches ~15% of the frame, 2px stroke */
.pcard-scan {
  position: absolute;
  inset: 16%;
  pointer-events: none;
  background:
    linear-gradient(#fff, #fff) left top    / 15% 2px,
    linear-gradient(#fff, #fff) left top    / 2px 15%,
    linear-gradient(#fff, #fff) right top   / 15% 2px,
    linear-gradient(#fff, #fff) right top   / 2px 15%,
    linear-gradient(#fff, #fff) left bottom / 15% 2px,
    linear-gradient(#fff, #fff) left bottom / 2px 15%,
    linear-gradient(#fff, #fff) right bottom / 15% 2px,
    linear-gradient(#fff, #fff) right bottom / 2px 15%;
  background-repeat: no-repeat;
  transition: transform var(--dur-slow, 400ms) var(--ease);
}
.pcard a:hover .pcard-media { box-shadow: var(--shadow-md); }
.pcard a:hover .pcard-media img { transform: scale(1.03); }
.pcard a:hover .pcard-scan,
.pcard a:focus-visible .pcard-scan { transform: scale(1.05); }

/* brand-book label pill (p.54): gradient from the derived blue to deep navy,
   white uppercase text - small size + casing keep it distinct from buttons */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(90deg, #007BA3 0%, #173E5A 55%, #0E1D28 100%);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.pcard-name {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.pcard-name .tag { flex: none; }
.pcard-cat {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.pcard a:hover .pcard-name { color: var(--accent-text); }

/* ---- 2 + 3. Browse band (category / workflow) ---------------------------- */

.browse-band {
  margin-top: clamp(28px, 4vw, 48px);
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--surface-2);
}

.browse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
}

.cat-list {
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 52px;
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--border-strong);
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.cat-list a:hover { color: var(--accent-text); }
.cat-arrow {
  color: var(--mid-grey);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast) var(--ease);
}
.cat-list a:hover .cat-arrow {
  color: var(--accent-text);
  transform: translateX(4px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--accent-text);
}
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* workflow pictos in circular pastilles (brand book p.55) */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2) var(--sp-6);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}
.wf {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 68px;
  padding: var(--sp-2) 0;
  border-radius: var(--radius);
}
.wf-pic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wf-pic img { width: 30px; height: 30px; }
.wf-label {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.wf:hover .wf-pic { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.wf:hover .wf-label { color: var(--accent-text); }

/* ---- 4. Profiles ---------------------------------------------------------- */

.profiles-wrap { margin-top: clamp(32px, 4vw, 56px); }

.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-8);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}
.profile {
  display: block;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-strong);
  transition: border-color var(--dur) var(--ease);
}
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.profile-name {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.profile-go {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.profile-go svg { width: 17px; height: 17px; }
.profile-desc {
  display: block;
  margin-top: var(--sp-2);
  max-width: 24em;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.profile:hover { border-top-color: var(--blue); }
.profile:hover .profile-name { color: var(--accent-text); }
.profile:hover .profile-go {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: var(--white);
}

/* ---- 5. ROI encart --------------------------------------------------------- */



/* ============================================================================
   FULL PAGE - sections 3 to 9 (key figures, expertises, human care,
   conversion, events, support, footer). Same "tech premium" register:
   Inter Tight only, Light 300 display, precision, whitespace.
   ========================================================================== */

/* shared section title (one step below the Products zone-title) */
.sec-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

/* additional button voice: outline on light surfaces (Dealer Portal) */
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }

/* shared circular arrow affordance for fully-clickable cards (events) */
.card-go {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.card-go svg { width: 17px; height: 17px; }

/* eyebrow on dark surfaces: signature blue is decorative-safe on dark */
.eyebrow-on-dark { color: var(--blue); }

/* ------------------------------------------------- scroll reveal (JS) ---- */
/* transform-only: content is never hidden (no opacity gate), it only
   settles 16px into place; .reveal-init is added by JS right before
   observing, so no-JS / headless / reduced-motion all get the final state */
.reveal-init { transform: translateY(24px); }
.reveal-in {
  transform: none;
  transition: transform var(--dur-reveal) var(--ease-glide);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}

/* ======================================================== KEY FIGURES ===== */

.figures {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--surface-3);
}
.figures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
}
.figure {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--sp-4);
}
/* the small blue tick of the Products sub-titles, echoed on each figure */
.figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--blue);
}
.figure-value {
  order: -1;                         /* number first, label below */
  margin: 0;
  font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4rem);
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.figure-label {
  margin-top: var(--sp-3);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (max-width: 720px) {
  .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-6); }
}

/* ========================================================= EXPERTISES ===== */

.expertises { padding-block: var(--sp-section); }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-8);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.exp-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.exp-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exp-name {
  margin-top: var(--sp-6);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.exp-desc {
  margin-top: var(--sp-2);
  max-width: 28em;
  font-size: var(--fs-base);
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .exp-figure { aspect-ratio: 16 / 9; }
}

/* ========================================================= HUMAN CARE ===== */

.care { background: var(--surface-dark); }

.care-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 64svh, 640px);
  padding-block: var(--sp-16);
  overflow: hidden;
}
.care-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;          /* empty wall left, team right */
}
.care-scrim {
  position: absolute;
  inset: 0;
  /* same official scrim recipe as the hero, stretched so the readable
     zone covers the full quote measure (justified transparency) */
  background: var(--scrim-left);
  background-size: 150% 100%;
}
.care-layout { position: relative; width: 100%; }
.care-quote {
  max-width: 17em;
  font-size: clamp(1.625rem, 1.25rem + 1.55vw, 2.375rem);
  font-weight: var(--fw-regular);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

.care-pillars { padding-block: clamp(56px, 7vw, 96px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-8);
  margin: var(--sp-8) 0 0;
  padding: 0;
  list-style: none;
}
.pillar {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-dark);
}
.pillar-pic { display: block; color: var(--blue); }
.pillar-pic svg { width: 28px; height: 28px; }
.pillar-name {
  margin-top: var(--sp-4);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--white);
}
.pillar-desc {
  margin-top: var(--sp-2);
  font-size: var(--fs-base);
  line-height: 1.6;                 /* light on dark breathes a little more */
  color: var(--on-dark-2);
}
.care-action { margin-top: clamp(40px, 5vw, 56px); }

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .care-hero { min-height: 520px; align-items: flex-end; }
  .care-media { object-position: 50% 15%; }  /* portrait mobile KV: show the child (top), crop the calm bottom */
  /* portrait mobile KV is already deep-navy: replace the heavy left scrim with a
     light bottom veil, just enough to seat the quote (ferré bas) */
  .care-scrim { background: linear-gradient(to top, rgba(6,10,14,.5) 0%, rgba(6,10,14,.2) 34%, rgba(6,10,14,0) 62%); background-size: 100% 100%; }
  .pillars { grid-template-columns: 1fr; gap: var(--sp-6); }
  .care-action .btn { width: 100%; }
}

/* ========================================================= CONVERSION ===== */

.demo {
  position: relative;
  isolation: isolate;
  padding-block: var(--sp-section);
  /* light echo of the p.47 cloudy gradient behind the conversion moment
     (opaque brand tints fading to the white surface, AA-checked) */
  background:
    radial-gradient(85% 75% at 98% -6%, #D9EBF1 0%, rgba(217, 235, 241, 0) 55%),
    radial-gradient(70% 60% at -4% 104%, #D9EBF1 0%, rgba(217, 235, 241, 0) 50%),
    var(--surface);
}

.demo-wrap {
  position: relative;
  z-index: 1; max-width: calc(640px + 2 * var(--gutter)); }

.demo-form { margin-top: clamp(32px, 4vw, 48px); }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}
.form-field { margin-bottom: var(--sp-4); }
.form-row .form-field { margin-bottom: 0; }
.form-row { margin-bottom: var(--sp-4); }

.form-label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.form-input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease);
}
.form-input:hover { border-color: var(--graphite); }
.form-input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.form-input.is-invalid { border-color: #B3261E; }

.form-selectwrap { position: relative; display: block; }
.form-selectwrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: var(--sp-12);
  cursor: pointer;
}
.form-caret {
  position: absolute;
  top: 50%;
  right: var(--sp-4);
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.form-check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent-text);
  cursor: pointer;
}
.form-label-inline {
  margin-bottom: 0;
  font-weight: var(--fw-regular);
  color: var(--ink-2);
  cursor: pointer;
}

.form-submit { width: 100%; }

.form-error {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: #B3261E;                    /* AA on white, form-scoped semantic red */
}
.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: var(--surface-blue);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--deep);
}

.demo-alt {
  margin-top: var(--sp-8);
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.demo-alt-link { min-height: 0; margin: 0; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-field { margin-bottom: var(--sp-4); }
}

/* ============================================================= EVENTS ===== */

.events {
  padding-block: var(--sp-section);
  background: var(--surface-2);
}

.events-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.events-head .link-more { margin: 0 0 var(--sp-1); }

/* calendar-style date block: month / day / year, one clean aligned unit */
/* D2: bare typographic date - big Light day + small month/year pile behind a
   vertical hairline; nothing between the date row and the title */
.event-date {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.event-my {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--sp-3);
  border-left: 1px solid var(--border-strong);
}
.event-month {
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.event-day {
  font-size: 3rem;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}
.event-year {
  font-size: 12px;
  color: var(--ink-muted);
}

/* top row of a card: date block + (featured) event logo */
.event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.event-logo-sm {
  width: 44px;
  height: 44px;
  flex: none;
}
.event-logo {
  width: min(180px, 46%);
  height: auto;
  align-self: center;
}

.event-name {
  margin-top: var(--sp-4);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.event-name-lg { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }

.event-meta {
  margin: var(--sp-3) 0 0;
  padding: 0;
  list-style: none;
}
.event-meta li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-block: 3px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.event-ic { width: 17px; height: 17px; flex: none; color: var(--mid-grey); }

/* tag + arrow pinned to the bottom of every event card */
.event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: auto;
  padding-top: var(--sp-6);
}

/* featured event - compact, fully clickable */
.event-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.event-featured-media {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.event-featured-body {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
}

/* secondary events - each card fully clickable */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
}
.event-card {
  background: var(--surface);
  transition: box-shadow var(--dur) var(--ease);
}
.event-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 2.5vw, 32px);
}

.event-featured:hover,
.event-card:hover { box-shadow: var(--shadow-md); }
.event-featured:hover .event-name,
.event-card-link:hover .event-name { color: var(--accent-text); }
.event-featured:hover .card-go,
.event-card-link:hover .card-go,
.event-featured:focus-visible .card-go,
.event-card-link:focus-visible .card-go {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: var(--white);
}

@media (max-width: 900px) {
  .event-featured { grid-template-columns: 1fr; }
  .event-featured-media { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .event-grid { grid-template-columns: 1fr; }
}

/* ============================================================ SUPPORT ===== */

.support { padding-block: var(--sp-section); }

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;               /* right cards flush with the title */
}
.support-list { margin-top: var(--sp-8); }

.support-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.res-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface-2);
}
.res-pic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--graphite);
}
.res-pic svg { width: 26px; height: 26px; }
.res-name {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.res-desc {
  margin-top: var(--sp-2);
  max-width: 30em;
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.res-btn { margin-top: var(--sp-6); }

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .res-card { flex-direction: column; }
  .res-btn { width: 100%; }
}

/* ============================================================= FOOTER ===== */

.foot {
  background: var(--surface-dark);
  color: var(--on-dark-2);
  padding-block: clamp(56px, 7vw, 88px) var(--sp-8);
}

/* newsletter */
.foot-nl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border-dark);
}
.foot-nl-copy {
  font-size: var(--fs-base);
  color: var(--on-dark-2);
  max-width: 34em;
}
.foot-nl-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  color: var(--white);
}
.foot-nl-form {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  flex: 0 0 auto;                    /* keep input + button on one line */
}
.foot-nl-input {
  min-height: 48px;
  width: 300px;                      /* explicit: the intrinsic input size
                                        would otherwise mis-size the form */
  padding: 0 var(--sp-6);
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-base);
  color: var(--ink);
}
.foot-nl-input::placeholder { color: var(--ink-2); }
.foot-nl-input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.foot-nl-btn { min-height: 48px; }
.foot-nl-status {
  width: 100%;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--blue);
}

/* columns */
.foot-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(40px, 5vw, 64px);
}

.foot-badge { width: 176px; height: 176px; }
.foot-badge-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.265em;           /* tuned so 2 repetitions close the ring */
  fill: var(--blue);
}
/* the text ring slowly orbits the fixed central logo */
.foot-badge-rot {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: badge-spin 48s linear infinite;
}
@keyframes badge-spin {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .foot-badge-rot { animation: none; }
}

.foot-h {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a {
  display: flex;
  align-items: center;
  min-height: 44px;                  /* AA target size everywhere */
  font-size: var(--fs-sm);
  color: var(--on-dark-2);
  transition: color var(--dur-fast) var(--ease);
}
.foot-links a:hover { color: var(--white); }

/* external spaces sit in the Support column like any item, plus an
   external-link glyph */
.foot-links a .ext {
  width: 13px;
  height: 13px;
  flex: none;
  vertical-align: -1px;
  margin-left: 2px;
  color: var(--on-dark-muted);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.foot-links a:hover .ext { color: var(--on-dark); transform: translate(1px, -1px); }

/* social + other websites */
.foot-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-6);
  border-top: 1px solid var(--border-dark);
}
.foot-social {
  display: flex;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--on-dark-2);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.foot-social a:hover { color: var(--white); border-color: var(--on-dark-muted); }
.foot-social svg { width: 17px; height: 17px; }

.foot-other { font-size: var(--fs-sm); color: var(--on-dark-muted); }
.foot-other a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: var(--fw-medium);
  color: var(--on-dark-2);
}
.foot-other a:hover { color: var(--white); }

/* legal */
.foot-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-6);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-dark);
}
.foot-copyright { font-size: var(--fs-sm); color: var(--on-dark-muted); }
.foot-legal-links {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  transition: color var(--dur-fast) var(--ease);
}
.foot-legal-links a:hover { color: var(--white); }

@media (max-width: 1080px) {
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-nl-form { width: 100%; flex: 1 1 100%; }
  .foot-nl-input { width: auto; flex: 1 1 200px; }
}
@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-nl-btn { width: 100%; }
}

/* ======================================================== RESPONSIVE ===== */

@media (max-width: 900px) {
  .browse-grid { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; gap: var(--sp-6); }
  }

@media (max-width: 560px) {
  .wf-grid { grid-template-columns: 1fr; }
  .pcard { flex-basis: 78vw; }
  }

/* ==================================================== REDUCED MOTION ===== */
/* tokens.css already zeroes durations globally; here we only neutralize
   the entrance offsets so nothing waits on a transition to become visible */
@media (prefers-reduced-motion: reduce) {
  .hero-copy { transform: none; opacity: 1; }
  .pcard a:hover .pcard-media img { transform: none; }
  .pcard a:hover .pcard-scan,
  .pcard a:focus-visible .pcard-scan { transform: none; }
  .cat-list a:hover .cat-arrow { transform: none; }
  .reveal-init { opacity: 1; transform: none; }
}
