/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

/* ─────────────────────────────────────────
   CeLLife — Brand tokens
   Source: Brand Guidelines CeLLife 2026
   ───────────────────────────────────────── */

:root {
  /* ── Primary palette ── */
  --color-azure:  #0798E8;  /* main backgrounds & large surfaces */
  --color-navy:   #022A54;  /* hierarchy, highlights, variation  */
  --color-orange: #FF6F00;  /* contrast / key actions only       */
  --color-white:  #FFFFFF;  /* text on primary backgrounds       */

  /* ── Secondary / support palette ── */
  --color-orange-light: #FFA979;
  --color-green:        #4DAA72;
  --color-grey:         #C8C8D7;

  /* ── Semantic roles ── */
  --color-text:            var(--color-navy);
  --color-text-inverse:    var(--color-white);
  --color-bg:              var(--color-white);
  --color-bg-dark:         var(--color-navy);
  --color-accent:          var(--color-orange);
  --color-link:            var(--color-azure);

  /* ── Hero ── */
  --hero-overlay-color:    var(--color-azure);
  --hero-overlay-opacity:  0.25;                 /* 25% azure overlay */
  --hero-bottom-gradient:  var(--color-white);   /* fades into page bg */

  /* ── Industry image gradient (top-left → bottom-right) ── */
  --industry-gradient: linear-gradient(135deg,
                          var(--color-azure) 0%,
                          rgba(7, 152, 232, 0) 100%);

  /* ── Typography ── */
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', 'Montserrat', system-ui, -apple-system, sans-serif;

  --font-weight-body:    400;
  --font-weight-medium:  500;
  --font-weight-bold:    700;

  /* ── Layout ── (from front-page wireframe)
     Frame = 1400px max, with fluid side padding clamp(24px, 5vw, 96px).
     => content area is ~1208px on wide viewports, shrinking gracefully. */
  --content-max-width: 1400px;
  --content-gutter:    1rem;   /* side gutter below 1400; matches HubSpot dnd column padding */

  /* Vertical section rhythm (wireframe scale) */
  --space-y-xl: clamp(96px, 14vw, 200px);
  --space-y-lg: clamp(72px, 10vw, 144px);
  --space-y-md: clamp(48px, 7vw, 96px);

  /* ── Spacing scale (from design-specs doc) ── */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;

  --gap-card:     24px;                       /* card grid gap */
  --gap-split:    clamp(48px, 7vw, 96px);     /* two-column split gap */
  --pad-card:     32px;                       /* card inner padding (28–40) */

  /* ── Border radius ── design system is sharp-cornered (0). */
  --radius: 0px;

  /* ── Type scale (from design-specs doc) ──
     family + weight + size(clamp) + line-height + letter-spacing per role */
  --t-h1-size: clamp(40px, 5.6vw, 76px);
  --t-h1-lh: 1.04;
  --t-h1-ls: -0.02em;

  --t-h2-size: clamp(30px, 3.6vw, 52px);
  --t-h2-lh: 1.1;
  --t-h2-ls: -0.015em;

  --t-h3-size: clamp(20px, 1.6vw, 24px);
  --t-h3-lh: 1.25;
  --t-h3-ls: -0.005em;
  --t-h3-weight: 500;                         /* H3 is lighter (Montserrat 500) */

  --t-body-size: 17px;
  --t-body-lh: 1.55;

  --t-lead-size: clamp(17px, 1.3vw, 20px);
  --t-lead-lh: 1.55;

  --t-small-size: 14px;
  --t-small-lh: 1.5;

  --t-eyebrow-size: 12px;
  --t-eyebrow-ls: 0.22em;

  --t-quote-size: clamp(22px, 2.4vw, 32px);
  --t-quote-lh: 1.35;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}
/* ─────────────────────────────────────────
   CeLLife – Layout & shared component styles
   (colours/fonts are TBD — placeholders used)
   ───────────────────────────────────────── */

/* Prevent horizontal overflow from full-bleed (100vw) elements like the hero.
   `clip` (not `hidden`) avoids creating a scroll container, so the sticky/
   fixed header keeps working. */
html,
.body-wrapper {
  overflow-x: clip;
}

/* The hero is a self-contained, full-bleed section — strip the global
   vertical_spacing (.dnd-section padding: 96px 1rem) from whichever section
   wraps it, so it sits flush under the overlaid header with no white gap.
   Other sections keep their rhythm. */
.dnd-section:has(.hero-video) {
  padding: 0 !important;
}

/* CTA/meetings section is full-bleed too — its background photo should
   reach the viewport edges (content stays constrained by content-wrapper). */
.dnd-section:has(.cta-contact) {
  padding: 0 !important;
}

/* Quote carousel sits closer to the hero — drop the section's bottom padding
   (the module provides a smaller bottom gap of its own). */
.dnd-section:has(.quote-carousel) {
  padding-bottom: 0 !important;
}

/* Content width: constrained to --content-max-width, centered within the
   1400px design frame, with a minimum side gutter on narrow viewports. */
.content-wrapper {
  /* 1400 column with a 1rem gutter on narrower viewports — matches the dnd
     sections, which inset their content by 1rem until the 1400 row is fully
     realized. */
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

/* Once the viewport clears the 1400 frame + both gutters (1400 + 2rem = 1432px),
   the max-width already supplies the side margin and the dnd rows centre their
   1400 row with no column gutter. Drop the content-wrapper gutter here so the
   header/hero/footer line up with the dnd sections instead of sitting 1rem to
   the right. */
@media (min-width: 1432px) {
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

/* When a section nests rows inside a wrapper column (e.g. The Product, References),
   HubSpot applies its 1rem column padding at BOTH levels — doubling the side
   inset. Zero the outer wrapper column so only the inner column keeps the 1rem,
   matching the inset of flat single-column sections. */
.dnd-column:has(.row-fluid-wrapper) {
  padding-left: 0;
  padding-right: 0;
}

/* ── Stat highlight (900x) ── left-aligned per design */
.stat-highlight {
  text-align: left;          /* keep the text left-aligned */
  width: fit-content;        /* but center the whole block within its column */
  margin-inline: auto;
  display: grid;             /* stack slides in one cell (stable height) */
}
.stat-highlight__slide {
  grid-area: 1 / 1;          /* every slide occupies the same cell */
}
/* When looping, only the active slide is visible (cross-fade). */
.stat-highlight--loop .stat-highlight__slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stat-highlight--loop .stat-highlight__slide.is-active {
  visibility: visible;
  opacity: 1;
}

.stat-highlight__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-orange);
}

.stat-highlight__label {
  color: var(--color-white);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  max-width: 320px;
  margin: var(--space-sm) 0 0;
}

/* ── Eyebrow labels ── (DM Sans 600, 12px, .22em; muted grey per design) */
.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: var(--t-eyebrow-ls);
  font-size: var(--t-eyebrow-size);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: rgba(
    2,
    42,
    84,
    0.45
  ); /* muted navy-grey, matches "Trusted by" label */
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ─────────────────────────────────────────
   Per-section hooks
   Each frontpage section carries a class via its dnd_section:
     .section-hero · .section-trusted · .section-industries
     .section-technology · .section-references · .section-news · .section-cta
   Use these to target a single section with custom CSS.
   ───────────────────────────────────────── */

/* Industries heading locked to navy (overrides any inline editor colour).
   Matched by content (:has(.industry-card)) too, so it also applies on pages
   created before the .section-industries class was added. */
.section-industries h2,
.dnd-section:has(.industry-card) h2 {
  color: var(--color-navy) !important;
  padding-bottom: 3rem;
}

/* ── Technology / "Behind the Speed" section (dark navy) ──
   Targeted by content (:has(.stat-highlight)) so it also applies to pages
   created before the .section-technology class existed. */

/* Decorative azure dot-cluster in the bottom-right corner */
.section-technology,
.dnd-section:has(.stat-highlight) {
  position: relative;
  overflow: hidden;
}
.section-technology::after,
.dnd-section:has(.stat-highlight)::after {
  content: "";
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: clamp(180px, 16vw, 320px);
  aspect-ratio: 345 / 337;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22Layer_2%22%20data-name%3D%22Layer%202%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20345.43%20336.66%22%3E%3Cdefs%3E%3Cstyle%3E%0A%20%20%20%20%20%20.cls-1%20%7B%0A%20%20%20%20%20%20%20%20fill%3A%20%230798e8%3B%0A%20%20%20%20%20%20%20%20fill-rule%3A%20evenodd%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22Layer_1-2%22%20data-name%3D%22Layer%201%22%3E%3Cg%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M127.15%2C240.15c9.35%2C2.58%2C18.74-2.8%2C21.35-12.23%2C2.61-9.44-2.5-19.55-11.85-22.14-9.35-2.58-19.6%2C3.29-22.21%2C12.72-2.61%2C9.44%2C3.36%2C19.06%2C12.7%2C21.65Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M143.16%2C195.24c13.35%2C3.69%2C27.69-3.95%2C31.6-18.11%2C3.73-13.48-4.46-28.07-17.81-31.77-14.02-3.88-27.87%2C4.63-31.6%2C18.11-3.91%2C14.15%2C3.79%2C27.89%2C17.81%2C31.77Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M206.11%2C180.72c16.69%2C4.61%2C34.44-4.99%2C39.1-21.84%2C4.84-17.52-5.45-34.88-22.15-39.49-16.69-4.61-33.77%2C5.17-38.62%2C22.7-4.66%2C16.85%2C4.97%2C34.02%2C21.66%2C38.63Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M305.03%2C160.91c16.69%2C4.61%2C34.44-4.99%2C39.29-22.51%2C4.66-16.85-5.64-34.2-22.33-38.82-16.69-4.61-33.77%2C5.17-38.43%2C22.02-4.84%2C17.52%2C4.78%2C34.69%2C21.48%2C39.31Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M237.6%2C98.02c20.7%2C5.72%2C42.05-6.51%2C47.83-27.41%2C5.78-20.89-6.26-42.36-26.96-48.08-20.7-5.72-42.05%2C6.51-47.83%2C27.4-5.78%2C20.89%2C6.26%2C42.36%2C26.96%2C48.08Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M132.76%2C100.23c27.38%2C7.57%2C55.37-7.91%2C63.01-35.54%2C7.64-27.63-8.43-55.29-35.81-62.86-26.71-7.38-54.71%2C8.09-62.34%2C35.72-7.64%2C27.63%2C8.43%2C55.29%2C35.14%2C62.67Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M48.03%2C149.36c20.7%2C5.72%2C42.05-6.51%2C47.83-27.41%2C5.78-20.89-6.26-42.36-26.96-48.08-20.7-5.72-42.05%2C6.51-47.83%2C27.4-5.78%2C20.89%2C6.26%2C42.36%2C26.96%2C48.08Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M28.41%2C241.14c20.7%2C5.72%2C42.05-6.51%2C47.83-27.41s-6.26-42.36-26.96-48.08c-20.7-5.72-42.05%2C6.51-47.83%2C27.4-5.78%2C20.89%2C6.26%2C42.36%2C26.96%2C48.08Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M62.85%2C298.55c13.35%2C3.69%2C27.87-4.63%2C31.6-18.11%2C3.73-13.48-4.46-28.07-17.81-31.77-13.35-3.69-27.87%2C4.63-31.6%2C18.11-3.73%2C13.48%2C4.46%2C28.07%2C17.81%2C31.77Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M107.74%2C336.01c10.02%2C2.77%2C21.12-3.59%2C24.1-14.38%2C2.98-10.78-3.46-21.27-13.48-24.04-10.68-2.95-21.6%2C2.73-24.58%2C13.52-2.98%2C10.78%2C3.28%2C21.94%2C13.96%2C24.9Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat right bottom / contain;
  pointer-events: none;
  z-index: 0;
}
/* Keep section content above the decorative graphic */
.section-technology > *,
.dnd-section:has(.stat-highlight) > * {
  position: relative;
  z-index: 1;
}

/* Extra vertical breathing room, per design */
.section-technology,
.dnd-section:has(.stat-highlight) {
  padding-top: clamp(96px, 12vw, 180px) !important;
  padding-bottom: clamp(96px, 12vw, 180px) !important;
}

/* Eyebrow in orange accent */
.section-technology .section-eyebrow,
.dnd-section:has(.stat-highlight) .section-eyebrow {
  color: var(--color-orange);
}

/* "Explore the technology" — outlined ghost button on the dark background */
.section-technology .button,
.dnd-section:has(.stat-highlight) .button {
  padding: 14px 22px;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.section-technology .button:hover,
.section-technology .button:focus,
.dnd-section:has(.stat-highlight) .button:hover,
.dnd-section:has(.stat-highlight) .button:focus {
  background: var(--color-white);
  color: var(--color-navy);
}

/* ── References section: centered header + footer ── */
.ref-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}
.ref-head .lead {
  margin-left: auto;
  margin-right: auto;
}
.ref-foot {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* References heading locked to navy (same as industries) */
.section-references h2,
.dnd-section:has(.reference-card) h2 {
  color: var(--color-navy) !important;
}

/* "More customer results" — left-aligned header + spacing */
.section-more-results h2,
.dnd-section:has(.result-card) h2 {
  color: var(--color-navy) !important;
  margin-bottom: var(--space-xl);
}
.section-more-results .link-arrow,
.dnd-section:has(.result-card) .link-arrow {
  display: inline-block;
  margin-top: var(--space-xl);
}

/* ── Reference cards: CSS grid with equal-height rows ──
   Same approach as the industry cards below: grid rows (1fr) equalize the
   card heights, auto-fit wraps 3 -> 2 -> 1, and height:100% propagates
   through the column (.span4) + module wrapper (.hs_cos_wrapper) to the card. */
.row-fluid:has(.reference-card):not(:has(.row-fluid)) {
  display: grid !important;
  grid-auto-rows: 1fr;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%/1, max(360px, 100%/3)), 1fr));
}
.row-fluid:has(.reference-card):not(:has(.row-fluid)) > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.row-fluid:has(.reference-card):not(:has(.row-fluid)) > *,
.row-fluid:has(.reference-card):not(:has(.row-fluid)) > * > *,
.row-fluid:has(.reference-card):not(:has(.row-fluid)) > * > * > * {
  height: 100%;
}

/* ── Result cards ("More customer results", 2-up): same grid so they get a
   gap (and equal height) when stacked into one column on mobile. ── */
.row-fluid:has(.result-card):not(:has(.row-fluid)) {
  display: grid !important;
  grid-auto-rows: 1fr;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}
.row-fluid:has(.result-card):not(:has(.row-fluid)) > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.row-fluid:has(.result-card):not(:has(.row-fluid)) > *,
.row-fluid:has(.result-card):not(:has(.row-fluid)) > * > *,
.row-fluid:has(.result-card):not(:has(.row-fluid)) > * > * > * {
  height: 100%;
}

/* ── Industry cards: CSS grid with equal-height rows ──
   The cards row is a grid whose 1fr rows stretch every column to equal
   height; auto-fit wraps the columns 3 -> 2 -> 1 as the viewport narrows.
   Height:100% is then propagated down through the column/module wrappers
   so each card fills its stretched cell (equal heights + bottom CTA),
   without depending on HubSpot's exact nesting. */
.row-fluid:has(.industry-card):not(:has(.row-fluid)) {
  display: grid !important;
  min-height: 500px;
  grid-auto-rows: 1fr;
  grid-template-rows: 1fr;
  gap: 20px 24px;
  align-content: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%/1, max(350px, 100%/3)), 1fr));
}
/* Reset the grid children (columns) — override HubSpot's generated
   `.row-fluid .span4 { width }` so the grid controls their size. Use `> *`
   because the columns are .span4 (not necessarily .dnd-column). */
.row-fluid:has(.industry-card):not(:has(.row-fluid)) > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Fill height down through the column (.span4) and the module wrapper
   (.hs_cos_wrapper) so the card fills its equal-height cell. */
.row-fluid:has(.industry-card):not(:has(.row-fluid)) > *,
.row-fluid:has(.industry-card):not(:has(.row-fluid)) > * > *,
.row-fluid:has(.industry-card):not(:has(.row-fluid)) > * > * > * {
  height: 100%;
}

/* ── Arrow links ── */
.link-arrow {
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
  padding-bottom: 2px;
}
.link-arrow:hover {
  color: var(--color-azure);
  border-color: var(--color-azure);
}

/* ── Hub filter bar ── */
.hub-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.hub-filter__tag {
  display: inline-block;
  padding: 0.3em 0.85em;
  border-radius: 2em;
  border: 1px solid currentColor;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s;
}

.hub-filter__tag--active {
  /* TODO: brand active state */
}

/* ── Post meta ── */
.post-meta {
  font-size: 0.875rem;
  opacity: 0.6;
}

/* ─────────────────────────────────────────
   Footer — navy background, white text
   ───────────────────────────────────────── */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.footer a {
  color: #e6e6e6;
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-white);
}

.footer__inner {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

/* Brand (wider) + 3 menu columns */
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Brand block */
/* Cap the logo regardless of the uploaded asset's dimensions. */
.footer__brand img {
  max-width: 210px;
  width: auto;
  height: auto;
}
.footer__brand .footer__company {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  color: #e6e6e6; /* match the other footer text (no close brand token) */
  margin: 1.5rem 0 0.75rem;
}
.footer__brand .footer__addr {
  color: #e6e6e6;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Extra .footer specificity so these survive the theme-generated
   `.footer p/li { color: … }` rule in theme-overrides.css (loads last). */
.footer .footer__menu-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: #e6e6e6;
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Menu lists (simple_menu output) */
.footer__menu-col ul,
.footer__legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__menu-col li {
  margin-bottom: 0.75rem;
}
.footer__menu-col a,
.footer__legal a {
  font-size: 0.9375rem;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #dcdcdc;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}
.footer .footer__bottom p {
  margin: 0;
  color: #e6e6e6;
  font-size: 0.9375rem;   /* match the footer body/link text (not the smaller bottom-bar default) */
}
.footer__legal ul {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.8rem;
  color: #e6e6e6;
}
.footer__legal a:hover {
  color: var(--color-white);
}

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}


@media (max-width: 767px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .stat-highlight__value {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  /* Industries: tighter card content on phones. */
  .industry-card__content {
    padding: 20px;
    gap: 0.5rem;
  }

  /* 900x section: give the stat room above it, shrink the corner graphic
     and drop it below the text (extra bottom padding gives it room). */
  .section-technology .stat-highlight,
  .dnd-section:has(.stat-highlight) .stat-highlight {
    margin-top: 2.5rem;
  }
  .section-technology,
  .dnd-section:has(.stat-highlight) {
    padding-bottom: 190px !important;
  }
  .section-technology::after,
  .dnd-section:has(.stat-highlight)::after {
    width: clamp(120px, 34vw, 160px);
    right: 16px;
    bottom: 16px;
  }
}

/* ─────────────────────────────────────────
   Case study page
   ───────────────────────────────────────── */

/* Testimonial under the Solution copy: separated by a hairline,
   with extra breathing room above and below. */
.section-case-solution .quote-carousel {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-top: 1px solid rgba(2, 42, 84, 0.14);
}

/* Related cases: heading on the left, "All references" link on the right. */
.case-related__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.case-related__head h2 {
  margin: var(--space-xs) 0 0;
  color: var(--color-navy);
}
.case-related__head .link-arrow {
  white-space: nowrap;
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: var(--t-body-size);
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--color-navy);
}

/* ── Type scale (design-specs doc) ──
   Scoped to .body-wrapper so it overrides HubSpot's theme-generated heading
   CSS regardless of stylesheet load order. */
.body-wrapper h1 {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-lh);
  letter-spacing: var(--t-h1-ls);
  font-weight: var(--font-weight-bold);
  text-wrap: balance;
}
.body-wrapper h2 {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-lh);
  letter-spacing: var(--t-h2-ls);
  font-weight: var(--font-weight-bold);
  text-wrap: balance;
}
.body-wrapper h3 {
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-lh);
  letter-spacing: var(--t-h3-ls);
  font-weight: var(--t-h3-weight); /* lighter — Montserrat 500 */
}

/* Lead paragraph helper */
.lead,
.body-wrapper .lead {
  font-size: var(--t-lead-size);
  line-height: var(--t-lead-lh);
  color: var(--color-text);
  max-width: 60ch;
}

/* Small / meta text */
.text-small {
  font-size: var(--t-small-size);
  line-height: var(--t-small-lh);
}

/* Anchors use brand link colour */
a {
  color: var(--color-link);
}

/* Italics — quotes / short highlights only (per brand guidelines) */
blockquote,
em.brand-quote {
  font-style: italic;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button,
.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: normal;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ── Brand button styles ── (design-specs: 14/22 padding, 12px, .12em, sharp) */
.btn,
.hs-button {
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Primary — orange accent (use sparingly, per brand guidelines) */
.btn--primary,
.hs-button {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.btn--primary:hover,
.hs-button:hover {
  background-color: #e56300;
  border-color: #e56300;
  color: var(--color-white);
}

/* Secondary — azure */
.btn--secondary {
  background-color: var(--color-azure);
  border-color: var(--color-azure);
  color: var(--color-white);
}

/* Outline — for use on photos / dark backgrounds */
.btn--outline {
  background-color: transparent;
  border-color: currentColor;
  color: var(--color-white);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

/* Header container */

.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}

/* Logo */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: #000;
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}
/* ─────────────────────────────────────────
   CeLLife — Header: transparent bar + hamburger + full-screen overlay
   Loads AFTER boilerplate _header.css so these win.
   ───────────────────────────────────────── */

/* Top bar — absolute over the top of the page (transparent); becomes fixed
   only while the menu is open so the close (X) is always reachable. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  padding-top: clamp(5px, 1vw, 7px);
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  transition: min-height 0.35s ease;
}

/* ── Solid bar once the page is scrolled ── */
.site-header {
  transition: background-color 0.35s ease, padding 0.35s ease,
    box-shadow 0.35s ease;
}
/* Once scrolled, the bar goes white and a little shorter; the toggle becomes
   a solid navy button with white lines. Not while the menu is open. The
   colour + size changes fade in via the transitions here and below. */
body.header-scrolled .site-header {
  background-color: var(--color-white);
  padding-top: clamp(8px, 1.1vw, 12px);
  padding-bottom: clamp(8px, 1.1vw, 12px);
  box-shadow: 0 1px 0 rgba(2, 42, 84, 0.08);
}
body.header-scrolled .site-header__inner {
  min-height: 40px;
}
body.header-scrolled:not(.menu-open) .site-header__logo img {
  filter: none;                    /* show the logo's colour variant */
}
body.header-scrolled:not(.menu-open) .site-header__toggle {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  filter: none;                    /* solid button — drop shadow not needed */
}
body.header-scrolled:not(.menu-open) .site-header__bar {
  background: var(--color-white);
}

/* Logo */
.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}
/* Strip any padding / centering the logo module's own wrappers add, so the
   image sits flush with the content gutter. */
.site-header__logo :where(a, span, div, picture) {
  margin: 0;
  padding: 0;
  text-align: left;
}
.site-header__logo img {
  display: block;
  width: auto;             /* aspect ratio drives width … */
  height: auto;
  max-width: 200px;        /* … capped at 200px wide … */
  max-height: 40px;        /* ← adjust the logo height here */
  margin-left: 0;
  object-fit: contain;
  object-position: left center;
  transition: filter 0.35s ease;
}

/* Hamburger toggle — transparent square (border + bars only), with the
   same drop shadow as the hero elements so it reads over any background. */
.site-header__toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--color-navy);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.3));
  transition: background-color 0.35s ease, border-color 0.35s ease,
    opacity 0.15s ease;
}
.site-header__toggle:hover {
  opacity: 0.7;
}
.site-header__bar {
  width: 26px;
  height: 2px;               /* integer height so all three bars render equal */
  background-color: var(--color-navy);
  transition: transform 0.25s ease, opacity 0.2s ease,
    background-color 0.35s ease;
}
/* Over a hero image the icon goes white (like the logo) — not while the
   white overlay is open. */
body:has(main .hero-video):not(.menu-open) .site-header__toggle {
  border-color: var(--color-white);
}
body:has(main .hero-video):not(.menu-open) .site-header__bar {
  background: var(--color-white);
}
/* Menu open → the toggle is over the white overlay: force navy border + navy
   X on a transparent background, regardless of hero / scrolled states. */
body.menu-open .site-header__toggle {
  border-color: var(--color-navy);
  background: transparent;
}
body.menu-open .site-header__bar {
  background: var(--color-navy);
}
body.menu-open .site-header__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .site-header__bar:nth-child(2) {
  opacity: 0;
}
body.menu-open .site-header__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── White logo when the bar sits over a hero image (before the menu opens) ── */
body:has(main .hero-video) .site-header__logo img {
  filter: brightness(0) invert(1); /* stand-in until a true white logo asset is set */
}
/* …but not while the (white) overlay is open */
body.menu-open .site-header__logo img {
  filter: none;
}

/* ── Full-screen overlay ── */
.site-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.9);   /* translucent white — page shows faintly through */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .site-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-nav-overlay__label {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(2, 42, 84, 0.45);
}

.site-nav-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 18px);
}
/* One top-level item + its children */
.site-nav-overlay__group {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.9vw, 12px);
}
.site-nav-overlay__link {
  width: max-content;
  max-width: 100%;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: clamp(26px, 4.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--color-navy);
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.2s ease;
}
/* Links animate on hover; the static heading does not */
a.site-nav-overlay__link:hover {
  opacity: 0.45;
  transform: translateX(6px);
}
.site-nav-overlay__link.is-active {
  border-bottom: 2px solid var(--color-navy);
  padding-bottom: 4px;
}
/* Label-only top-level item (no page) — reads as a section heading */
.site-nav-overlay__link--static {
  cursor: default;
}

/* Sub-level: indented, smaller than the main items */
.site-nav-overlay__sub {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.7vw, 8px);
  margin-left: clamp(16px, 2vw, 28px);
}
.site-nav-overlay__sublink {
  width: max-content;
  max-width: 100%;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: rgba(2, 42, 84, 0.72);
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.2s ease, color 0.15s ease;
}
.site-nav-overlay__sublink:hover {
  color: var(--color-navy);
  transform: translateX(5px);
}
.site-nav-overlay__sublink.is-active {
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
  padding-bottom: 2px;
}

.site-nav-overlay__foot {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav-overlay__signin {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: rgba(2, 42, 84, 0.7);
  text-decoration: none;
}
.site-nav-overlay__signin:hover {
  color: var(--color-navy);
}
.site-nav-overlay__arrow {
  transition: transform 0.2s ease;
}
.site-nav-overlay__signin:hover .site-nav-overlay__arrow {
  transform: translateX(3px);
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}