/*
  MediPharmaco Law — design refresh
  Loaded last on every page. Keeps the original colour pattern (deep teal,
  mid teal, bright teal, light grey and cyan accent) and modernises the type,
  shapes, spacing and motion. Selectors are prefixed with html[lang] so they
  outrank the earlier #main-content-scoped rules without resorting to !important.
*/

:root {
  --c-deep: #00313d;
  --c-mid: #0e4651;
  --c-bright: #00647b;
  --c-light: #d5dddf;
  --c-paper: #f7fafb;
  --c-ink: #15282e;
  --c-ink-teal: #005366;
  --c-accent: #00c3ed;
  --c-accent-on-light: #00819d;
  --c-button: #00647b;
  --c-button-hover: #087d94;
  --c-copy: #d4e2e6;
  --c-line: rgba(255, 255, 255, .15);
  --c-line-light: rgba(21, 40, 46, .16);
  --r-radius: 20px;
  --r-radius-lg: 28px;
  --r-ease: cubic-bezier(.2, .75, .25, 1);
  --r-ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-header-h: 4.75rem;
  --r-section-y: clamp(2.5rem, 4.5vw, 4rem);
  --m-ticker-h: clamp(3.5rem, 6vw, 5.25rem);
  --c-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Type: Inter for text, Inter Display for headings ---------- */

html[lang] body {
  font-family: 'Inter', 'Avenir Next', Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang] body #main-content p:not(.eyebrow):not(.eyebrow--light),
html[lang] body #main-content li,
html[lang] body #main-content blockquote,
html[lang] body .v4-metric > span {
  font-family: 'Inter', 'Avenir Next', Arial, sans-serif;
}

html[lang] body #main-content p:not(.eyebrow):not(.eyebrow--light),
html[lang] body #main-content li {
  font-size: 1.0625rem;
  line-height: 1.7;
}

html[lang] body #main-content :is(h1, h2, h3, h4) {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-weight: 500;
  text-wrap: balance;
}

html[lang] body #main-content h1 {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}

html[lang] body #main-content h2 {
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.022em;
}

html[lang] body #main-content h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -.012em;
}

/* Keep the founder letter's handwritten voice */
html[lang] body #main-content .v4-founder-letter .v4-founder-copy p {
  font-family: 'Kalam', cursive;
  font-size: 1.51rem;
  line-height: 1.63;
}

html[lang] body .v4-problem-emphasis {
  font-weight: 600;
}

/* ---------- Section labels ---------- */

html[lang] .eyebrow,
html[lang] .eyebrow--light {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
}

html[lang] .eyebrow::before,
html[lang] .eyebrow--light::before,
html[lang] .v4-hero-inner > .eyebrow::before {
  content: none;
}

/* ---------- Buttons & links ---------- */

html[lang] .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .25s var(--r-ease), border-color .25s var(--r-ease), color .25s var(--r-ease), transform .25s var(--r-ease), box-shadow .25s var(--r-ease);
}

html[lang] .button::after {
  content: '→';
  font-size: 1rem;
  transition: transform .3s var(--r-ease);
}

html[lang] .button:hover::after {
  transform: translateX(3px);
}

html[lang] .button--filled,
html[lang] .site-nav .header-contact {
  border-color: var(--c-button);
  background: var(--c-button);
  color: #fff;
}

html[lang] .button--filled:hover,
html[lang] .site-nav .header-contact:hover {
  border-color: var(--c-button-hover);
  background: var(--c-button-hover);
  color: #fff;
  box-shadow: 0 .6rem 1.6rem rgba(0, 100, 123, .35);
}

html[lang] .site-nav .header-contact::after {
  content: none;
}

html[lang] .v4-text-link > span {
  display: inline-block;
  transition: transform .25s var(--r-ease);
}

html[lang] a:hover .v4-text-link > span,
html[lang] .v4-text-link:hover > span {
  transform: translate(2px, -2px);
}

/* ---------- Header ---------- */

html[lang] .site-header,
html[lang] .site-header--solid,
html[lang] .site-header.is-compact,
html[lang] .site-header--solid.is-compact {
  padding: 0;
  border-bottom: 1px solid var(--c-line);
  background: rgba(0, 49, 61, .9);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

html[lang] .site-header .nav-shell,
html[lang] .site-header.is-compact .nav-shell {
  width: var(--container);
  max-width: none;
  min-height: var(--r-header-h);
  padding-inline: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[lang] .brand,
html[lang] .site-header.is-compact .brand {
  width: 12.5rem;
  height: 3.4rem;
}

html[lang] .site-nav__links a {
  color: rgba(255, 255, 255, .8);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s var(--r-ease);
}

/* Only the page you are on is blue and underlined */
html[lang] .site-nav__links a[aria-current] {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .55em;
}

/* Hover colour only where a real pointer can hover (taps leave hover stuck) */
@media (hover: hover) and (pointer: fine) {
  html[lang] .site-nav__links a:hover {
    color: var(--c-accent);
  }
}

/* Keyboard focus: no box, the link turns blue instead */
html[lang] .site-nav__links a:focus-visible {
  outline: none;
  color: var(--c-accent);
}

html[lang] .site-nav .header-contact {
  min-height: 2.6rem;
  padding: .55rem 1.25rem;
  font-size: .9rem;
}

/* ---------- Section rhythm ---------- */

html[lang] .section {
  padding-block: var(--r-section-y);
}

/* The header is only fixed while ScrollSmoother runs; otherwise it is sticky and
   already takes up its own space, so inner pages need no spacer above them. */
html[lang] body:not(.home-page--gsap-text) #smooth-wrapper {
  padding-top: 0;
}

html[lang] body.has-scroll-smoother:not(.home-page--gsap-text) #smooth-wrapper {
  padding-top: calc(var(--r-header-h) + 1px);
}

/* ---------- Home: hero ---------- */

/* Hero and sector ticker together fill the first screen, so nothing is cut off */
html[lang] .v4-hero {
  display: flex;
  align-items: center;
  min-height: max(26rem, calc(100svh - var(--m-ticker-h)));
  padding-top: calc(var(--r-header-h) + .85rem);
}

html[lang] .v4-hero > .v4-hero-inner {
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(1.25rem, 5svh, 4.5rem);
}

html[lang] .v4-hero-image {
  will-change: transform;
}

html[lang] body.home-page--gsap-text #main-content .v4-hero h1 {
  max-width: 16ch;
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(2.5rem, min(5.4vw, 9.5svh), 5.25rem);
  line-height: 1.04;
}

html[lang] body #main-content .v4-hero-tagline {
  max-width: 34rem;
  margin-bottom: 2.5rem;
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  line-height: 1.6;
}

/* ---------- Home: sector ticker ---------- */

.m-marquee {
  display: flex;
  align-items: center;
  height: var(--m-ticker-h);
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  background: var(--c-deep);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.m-marquee__track {
  display: flex;
  width: max-content;
  animation: m-marquee 70s linear infinite;
}

.m-marquee__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
}

.m-marquee__group span {
  color: rgba(255, 255, 255, .9);
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.m-marquee__group span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .55);
}

.m-marquee__group i {
  flex: 0 0 auto;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 1rem rgba(0, 195, 237, .7);
}

.m-marquee:hover .m-marquee__track {
  animation-play-state: paused;
}

@keyframes m-marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Home: audience pathways (light) ---------- */

html[lang] .v4-pathways {
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}

html[lang] .v4-pathway-grid {
  gap: 1.25rem;
}

html[lang] .v4-pathway,
html[lang] .v4-pathway:first-child,
html[lang] .v4-pathway:last-child {
  padding: 2rem 2rem 1.75rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .45);
  transition: background-color .3s var(--r-ease), border-color .3s var(--r-ease), transform .3s var(--r-ease), box-shadow .3s var(--r-ease);
}

html[lang] .v4-pathway:hover {
  border-color: rgba(0, 129, 157, .45);
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 49, 61, .12);
  transform: translateY(-4px);
}

html[lang] .v4-index {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}

html[lang] body #main-content .v4-pathway h2 {
  max-width: 24ch;
  margin: 1.25rem 0 2.25rem;
  font-size: clamp(1.2rem, 1.45vw, 1.4rem);
  line-height: 1.32;
  letter-spacing: -.01em;
}

html[lang] .v4-pathway .v4-text-link {
  margin-top: auto;
}

/* ---------- Home: the problem and our answer ---------- */

html[lang] .v4-why {
  background: var(--c-deep);
}

.v4-why__row {
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.v4-why__row--problem {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr);
}

.v4-why__row--answer {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

html[lang] .v4-why .v4-why__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.1rem;
}

html[lang] .v4-why .v4-why__eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

html[lang] body #main-content .v4-why h2 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.v4-why__list {
  margin: clamp(1.25rem, 2.2vw, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .v4-why__list li {
  position: relative;
  padding: .4rem 0 .4rem 2.1rem;
  color: var(--c-copy);
  font-size: 1.02rem;
  line-height: 1.5;
}

.v4-why__list li::before {
  position: absolute;
  top: .35rem;
  left: .1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.v4-why__list--no li::before {
  content: '✕';
  color: #ff5b66;
}

.v4-why__list--yes li::before {
  content: '✓';
  color: var(--c-accent);
}

/* Image beside a bright panel */
.v4-why__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  overflow: hidden;
  border-radius: var(--r-radius);
}

.v4-why__media {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: var(--c-mid);
}

.v4-why__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keeps the red-lit vial in frame at every crop */
  object-position: 50% 58%;
}

.v4-why__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--c-accent);
  color: var(--c-deep);
}

.v4-why__panel--solo {
  border-radius: var(--r-radius);
}

html[lang] body #main-content p.v4-why__big:not(.eyebrow) {
  margin: 0;
  color: var(--c-deep);
  font: 700 clamp(2.1rem, 3.6vw, 3.4rem)/1.02 'Inter Display', 'Inter', sans-serif;
  letter-spacing: -.03em;
}

html[lang] body #main-content p.v4-why__caption:not(.eyebrow) {
  margin: .7rem 0 1.25rem;
  color: var(--c-deep);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
}

html[lang] body #main-content .v4-why__panel p:not(.eyebrow):not(.v4-why__big):not(.v4-why__caption):not(.v4-why__close) {
  margin: 0 0 .9rem;
  color: #04323d;
  font-size: .98rem;
  line-height: 1.6;
}

html[lang] body #main-content p.v4-why__close:not(.eyebrow) {
  margin: auto 0 0;
  padding-top: .6rem;
  color: var(--c-deep);
  font: 600 clamp(1.15rem, 1.5vw, 1.4rem)/1.3 'Inter Display', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

@media (max-width: 66rem) {
  .v4-why__row--problem,
  .v4-why__row--answer {
    grid-template-columns: 1fr;
  }

  /* The answer reads headline first, panel second */
  .v4-why__row--answer .v4-why__intro {
    order: -1;
  }
}

@media (max-width: 48rem) {
  .v4-why__card {
    grid-template-columns: 1fr;
  }

  .v4-why__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Home: testimonial ---------- */

html[lang] .v4-testimonial.section {
  padding-block: var(--r-section-y);
}

html[lang] .v4-testimonial {
  text-align: center;
}

html[lang] .v4-testimonial .eyebrow {
  display: block;
  margin-inline: auto;
  text-align: center;
}

html[lang] body.home-page--gsap-text .v4-quote-mark,
html[lang] .v4-quote-mark {
  height: 2.75rem;
  margin: 1.25rem auto 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6rem;
  line-height: 1;
}

html[lang] body #main-content .v4-testimonial blockquote {
  max-width: 30ch;
  margin: 0 auto;
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}

/* Word-by-word highlight driven by scroll (motion.js) */
.m-words .m-word {
  opacity: .22;
  transition: opacity .25s linear;
}

.m-words .m-word.is-lit {
  opacity: 1;
}

/* ---------- Home: introduction film ---------- */

html[lang] .v4-presenting-player {
  position: relative;
  overflow: hidden;
}

html[lang] .v4-presenting-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-radius);
  background: rgba(0, 49, 61, .55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* ---------- Home: integrated practice ---------- */

html[lang] .v4-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  border-top: 0;
}

html[lang] .v4-expertise-grid article,
html[lang] .v4-expertise-grid article:nth-child(n) {
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s var(--r-ease), background-color .3s var(--r-ease);
}

html[lang] .v4-expertise-grid article:hover {
  border-color: rgba(0, 195, 237, .4);
}

html[lang] .v4-expertise-grid .v4-expertise-icon {
  width: 2.5rem;
  height: 2.5rem;
}

html[lang] body #main-content .v4-expertise-grid h3,
html[lang] .v4-expertise-grid .v4-expertise-icon + h3 {
  max-width: 26ch;
  min-height: 0;
  margin: 1.5rem 0 .85rem;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
}

html[lang] body #main-content .v4-expertise-grid p {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
}

html[lang] .v4-section-heading {
  margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem);
}

html[lang] body #main-content .v4-section-heading h2 {
  margin: 1rem 0 0;
}

/* ---------- Home: outcomes (light) ---------- */

html[lang] .v4-traction.section {
  padding-block: var(--r-section-y);
}

html[lang] .v4-traction .v4-metrics {
  column-gap: 2rem;
  row-gap: 0;
}

html[lang] .v4-traction .v4-metric {
  position: relative;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--c-line-light);
  border-bottom: 0;
}

/* Read-out styling: a lit segment on each rule and bold monospaced figures */
html[lang] .v4-traction .v4-metric::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--c-accent-on-light);
  box-shadow: 0 0 .65rem rgba(0, 195, 237, .55);
}

html[lang] body.home-page--gsap-text .v4-traction .v4-metric strong,
html[lang] .v4-metric strong {
  color: var(--c-ink-teal);
  font-family: var(--c-mono);
  font-size: clamp(1.9rem, 2.9vw, 2.9rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums slashed-zero;
  line-height: 1;
  letter-spacing: -.05em;
}

html[lang] body #main-content .v4-metric > span,
html[lang] .v4-metric span {
  display: block;
  margin-top: .85rem;
  font-size: .95rem;
  line-height: 1.45;
}

/* ---------- Home: sectors carousel (bright teal) ---------- */

html[lang] .sector-slide,
html[lang] body.home-page--gsap-text .v4-sector-carousel [data-sector-carousel].is-carousel-enhanced .sector-slide {
  overflow: hidden;
  border-radius: var(--r-radius);
}

html[lang] .sector-slide strong {
  font-family: 'Inter Display', sans-serif;
  font-weight: 500;
  letter-spacing: -.01em;
}

html[lang] .carousel-controls button {
  min-width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  transition: border-color .2s var(--r-ease), background-color .2s var(--r-ease);
}

html[lang] .carousel-controls button:hover:not(:disabled) {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

html[lang] .v4-carousel-toolbar {
  margin-bottom: 1.25rem;
}

/* Track only as tall as the front card, so there is no empty band around it */
html[lang] body.home-page--gsap-text .v4-sector-carousel [data-sector-carousel].is-carousel-enhanced .sector-carousel-track {
  height: 34.25rem;
}

@media (max-width: 48rem) {
  html[lang] body.home-page--gsap-text .v4-sector-carousel [data-sector-carousel].is-carousel-enhanced .sector-carousel-track {
    height: 31.85rem;
  }
}

/* ---------- Closing call to action ---------- */

html[lang] .v4-cta.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

html[lang] .v4-cta.section--light {
  background:
    radial-gradient(55% 80% at 50% 115%, rgba(0, 195, 237, .22), transparent 70%),
    var(--c-light);
}

/* Left-aligned, with the title beside the action, on every page */
html[lang] .v4-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  align-items: end;
  text-align: left;
}

html[lang] body #main-content .v4-cta-grid h2 {
  max-width: 18ch;
  margin: 1rem 0 0;
}

html[lang] body #main-content .v4-cta-grid p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0 0 1.25rem;
}

html[lang] .v4-cta-grid .button {
  margin-top: 0;
}

@media (max-width: 48rem) {
  html[lang] .v4-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Inner pages ---------- */

html[lang] .page-hero,
html[lang] .page-hero--about,
html[lang] .page-hero--knowledge-centre.page-hero {
  margin-top: 0;
  padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(2rem, 4vw, 3.25rem);
}

/* Keep the line art from stretching the hero taller than its text */
html[lang] .page-hero--illustrated .page-hero__title-row {
  align-items: center;
}

html[lang] .page-hero--illustrated .page-hero__art {
  max-height: clamp(7rem, 20vw, 15rem);
  width: auto;
  max-width: 100%;
}

/* Phones: the globe sits beside the title (as on About and Knowledge Centre), not on a row of its own */
@media (max-width: 48rem) {
  html[lang] .page-hero--sectors-served .page-hero__title-row {
    grid-template-columns: minmax(0, 1fr) clamp(5.5rem, 26vw, 7.5rem);
    grid-template-areas: 'title art';
    align-items: center;
    gap: .7rem;
  }

  html[lang] .page-hero--sectors-served .page-hero__art {
    width: 100%;
    justify-self: end;
  }
}

html[lang] body #main-content .page-hero h1 {
  max-width: 18ch;
  margin-top: 1rem;
}

html[lang] body #main-content .page-hero .lede {
  max-width: 44rem;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
}

/* Page heroes rise in on load */
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero__inner > *,
  .js .page-hero__title-row > * {
    animation: m-rise 1s var(--r-ease-out) both;
  }

  .js .page-hero__inner > :nth-child(2),
  .js .page-hero__title-row > :nth-child(2) { animation-delay: .1s; }
  .js .page-hero__inner > :nth-child(3) { animation-delay: .2s; }
  .js .page-hero__inner > :nth-child(4) { animation-delay: .3s; }
}

@keyframes m-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Legal documents read as documents, not posters */
html[lang] body #main-content .policy h2 {
  margin: 3rem 0 .85rem;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

html[lang] body #main-content .policy p,
html[lang] body #main-content .policy li {
  font-size: 1rem;
  line-height: 1.75;
}

/* Cards & images on inner pages pick up the softer shape language */
html[lang] .v4-solution-card,
html[lang] .v4-sector-photo {
  overflow: hidden;
  border-radius: var(--r-radius);
}

html[lang] .v4-sector-jump a {
  border-radius: 999px;
}

/* Solutions overview: cards size to their content instead of a fixed height */
html[lang] .v4-solutions .v4-section-heading {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

html[lang] body #main-content .v4-solutions .v4-section-heading h1 {
  margin: .75rem 0 0;
}

html[lang] .v4-solutions .v4-solution-grid {
  row-gap: clamp(1.75rem, 3vw, 2.5rem);
}

html[lang] .v4-solutions .v4-solution-card {
  min-height: 0;
}

html[lang] body #main-content .v4-solutions .v4-solution-card h3 {
  margin: 1rem 0 .6rem;
}

html[lang] body #main-content .v4-solutions .v4-solution-card p {
  margin-bottom: 1.1rem;
}

html[lang] .contact-section .field label {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[lang] .contact-section .field input,
html[lang] .contact-section .field select,
html[lang] .contact-section .field textarea {
  border-radius: 12px;
}

html[lang] .v4-founder-message-more > summary {
  margin: 0 auto;
  border-radius: 999px;
}

/* About: the co-founders' message is centred, like the client quote on the homepage */
html[lang] .v4-founder-letter {
  max-width: 56rem;
  margin-inline: auto;
}

html[lang] .v4-founder-letter__header {
  margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
}

html[lang] .v4-founder-letter__header .eyebrow {
  margin: 0 auto 1rem;
  text-align: center;
}

html[lang] body #main-content .v4-founder-letter__header h2 {
  margin: 0 auto;
  text-align: center;
}

html[lang] .v4-founder-letter .v4-founder-copy {
  max-width: 48rem;
  margin: 0 auto;
}

html[lang] body #main-content .v4-founder-letter .v4-founder-copy p {
  text-align: center;
}

html[lang] .v4-founder-signoff {
  margin-inline: auto;
  text-align: center;
}

html[lang] .v4-founder-signatures {
  margin: 0 auto;
}

/* About: core values in two rows of three from tablet width up */
html[lang] body #main-content .v4-values h3 {
  margin: 1rem 0 .35rem;
}

html[lang] body #main-content .v4-values p {
  margin: 0;
}

@media (min-width: 48.001rem) {
  html[lang] .v4-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[lang] .v4-values article:nth-child(n) {
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    border-top: 0;
    border-right: 1px solid var(--rule);
  }

  html[lang] .v4-values article:nth-child(3n+1) {
    padding-left: 0;
  }

  html[lang] .v4-values article:nth-child(3n) {
    padding-right: 0;
    border-right: 0;
  }

  html[lang] .v4-values article:nth-child(n+4) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 48rem) {
  html[lang] .v4-values article:nth-child(n) {
    padding-block: 1.25rem;
  }
}

/* ---------- Sectors served: scroll timeline with a sticky detail panel ---------- */

html[lang] .sx {
  --sx-progress: 0;
  overflow: visible;
}

.sx-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

html[lang] body #main-content .sx-heading h2 {
  margin: 1rem 0 1rem;
}

html[lang] body #main-content .sx-heading p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--c-copy);
}

.sx-layout {
  position: relative;
}

.sx-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Rail and scroll-linked progress fill */
.sx-timeline::before,
.sx-timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.1rem;
  width: 2px;
  border-radius: 2px;
}

.sx-timeline::before {
  background: rgba(255, 255, 255, .18);
}

.sx-timeline::after {
  background: linear-gradient(180deg, var(--c-accent), #7fe3f7);
  transform: scaleY(var(--sx-progress));
  transform-origin: top;
  box-shadow: 0 0 .75rem rgba(0, 195, 237, .6);
}

html[lang] .sx-step {
  position: relative;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem) 3.75rem;
  scroll-margin-top: calc(var(--r-header-h) + 2rem);
}

.sx-step__dot {
  position: absolute;
  z-index: 1;
  top: .3rem;
  left: calc(1.1rem + 1px);
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: var(--c-bright);
  transform: translateX(-50%);
  transition: background-color .4s var(--r-ease), border-color .4s var(--r-ease), box-shadow .4s var(--r-ease), transform .4s var(--r-ease);
}

.sx-step.is-passed .sx-step__dot,
.sx-step.is-active .sx-step__dot {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.sx-step.is-active .sx-step__dot {
  box-shadow: 0 0 0 6px rgba(0, 195, 237, .22), 0 0 1.25rem rgba(0, 195, 237, .8);
  transform: translateX(-50%) scale(1.15);
}

.sx-step__num {
  display: block;
  margin-bottom: .6rem;
  color: var(--c-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
}

html[lang] body #main-content .sx-step__title {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.022em;
}

.sx-step__title a {
  color: inherit;
  text-decoration: none;
}

.sx-step__title a::after {
  content: '';
  position: absolute;
  inset: -1rem -1rem 0 2.5rem;
}

.sx-step__title a:focus-visible {
  outline: none;
}

.sx-step__title a:focus-visible::after {
  border-radius: var(--r-radius);
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}

html[lang] body #main-content .sx-step__overview {
  max-width: 34rem;
  margin: 0;
  color: var(--c-copy);
  font-size: 1.05rem;
}

/* Detail card (inline on small screens, inside the sticky panel on large) */
.sx-detail {
  position: relative;
  margin-top: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-radius-lg);
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(0, 195, 237, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--c-deep);
  box-shadow: 0 2rem 4rem rgba(0, 22, 28, .35);
}

.sx-detail:focus {
  outline: none;
}

.sx-detail__aside {
  padding: 1rem 1rem 0;
}

/* Photo in full colour, framed by the viewfinder corners */
.sx-detail__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #00313d;
  isolation: isolate;
}

.sx-detail__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Viewfinder corners */
.sx-detail__media::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 12px;
  background:
    linear-gradient(var(--c-accent), var(--c-accent)) left top / 18px 2px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) left top / 2px 18px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) right top / 18px 2px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) right top / 2px 18px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 18px 2px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 2px 18px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) right bottom / 18px 2px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) right bottom / 2px 18px no-repeat;
  opacity: .9;
  pointer-events: none;
}

/* Scan line that sweeps the photo when a sector becomes active */
.sx-detail__scan {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 195, 237, .18) 80%, rgba(127, 227, 247, .85) 100%);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.sx-detail.is-active .sx-detail__scan {
  animation: sx-scan 1.9s var(--r-ease-out) .25s 1 both;
}

@keyframes sx-scan {
  0% { opacity: 1; transform: translateY(-100%); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(360%); }
}

/* Large index + progress ticks (shown in the desktop panel) */
.sx-detail__index {
  display: none;
}

.sx-detail__count {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.sx-detail__num {
  color: #fff;
  font: 200 clamp(3.25rem, 4.6vw, 4.75rem)/.9 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
}

.sx-detail__total {
  color: rgba(255, 255, 255, .5);
  font: 500 .8rem/1 var(--c-mono);
  letter-spacing: .14em;
}

.sx-ticks {
  display: flex;
  gap: 4px;
}

.sx-ticks i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .14);
}

.sx-ticks i.is-on {
  background: var(--c-accent);
  box-shadow: 0 0 6px rgba(0, 195, 237, .55);
}

.sx-detail__body {
  position: relative;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 2.25rem) clamp(1.5rem, 2.5vw, 2rem);
}

html[lang] body #main-content .sx-detail__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.022em;
}

html[lang] .sx-detail .eyebrow.sx-detail__label {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .6rem;
  color: var(--c-accent);
  font: 500 .78rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sx-detail__label::before {
  content: '';
  flex: 0 0 auto;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0, 195, 237, .18);
  animation: sx-pulse 2.4s ease-in-out infinite;
}

.sx-detail__label span {
  padding: .15rem .45rem;
  border: 1px solid rgba(0, 195, 237, .4);
  border-radius: 999px;
  color: #fff;
}

@keyframes sx-pulse {
  50% { box-shadow: 0 0 0 7px rgba(0, 195, 237, 0); }
}

.sx-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: svc;
}

html[lang] body #main-content .sx-services li {
  position: relative;
  padding: .55rem 0 .55rem 2.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--c-copy);
  font-size: .9rem;
  line-height: 1.4;
  counter-increment: svc;
  transition: color .2s var(--r-ease);
}

.sx-services li::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: .62rem;
  left: 0;
  color: var(--c-accent);
  font: 500 .75rem/1.4 var(--c-mono);
  letter-spacing: .04em;
  opacity: .85;
}

html[lang] body #main-content .sx-services li:hover {
  color: #fff;
}

/* Large screens: split view, details move into the sticky panel */
@media (min-width: 66.001rem) {
  .sx-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }

  .sx-panel {
    position: sticky;
    top: calc(var(--r-header-h) + 1.5rem);
    height: calc(100vh - var(--r-header-h) - 3rem);
    min-height: 34rem;
  }

  .sx-panel.is-pinned {
    position: relative;
    top: auto;
  }

  .sx-stage {
    position: relative;
    height: 100%;
  }

  .sx.is-split .sx-detail {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: clamp(14rem, 40%, 24rem) minmax(0, 1fr);
    /* Photo and text sit as one block in the middle of the panel; the row
       shrinks (and the text scrolls) when a long list needs more room */
    grid-template-rows: minmax(0, auto);
    align-content: center;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.985);
    transition: opacity .55s var(--r-ease-out), transform .7s var(--r-ease-out), visibility 0s linear .55s;
  }

  .sx.is-split .sx-detail.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .55s var(--r-ease-out), transform .7s var(--r-ease-out), visibility 0s;
  }

  /* Photo and text start on the same line, with matching padding on both sides */
  .sx.is-split .sx-detail__aside {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    min-height: 0;
    padding: clamp(1.5rem, 2.6vw, 2.5rem);
  }

  /* Full-height divider between photo and text */
  .sx.is-split .sx-detail::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(14rem, 40%, 24rem);
    width: 1px;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
  }

  .sx.is-split .sx-detail__media {
    flex: 0 1 auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .sx.is-split .sx-detail__media img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1.6s var(--r-ease-out);
  }

  .sx.is-split .sx-detail.is-active .sx-detail__media img {
    transform: scale(1);
  }

  .sx.is-split .sx-detail__index {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .sx.is-split .sx-ticks i.is-on {
    opacity: 0;
    transition: opacity .3s ease calc(var(--i) * 45ms + .3s);
  }

  .sx.is-split .sx-detail.is-active .sx-ticks i.is-on {
    opacity: 1;
  }

  .sx.is-split .sx-detail__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    overflow: auto;
    padding: clamp(1.5rem, 2.6vw, 2.5rem);
  }

  .sx.is-split .sx-services {
    grid-template-columns: 1fr;
  }

  .sx.is-split .sx-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(15rem, 34vh, 22rem);
    padding-bottom: 0;
    opacity: .4;
    transition: opacity .45s var(--r-ease);
  }

  .sx.is-split .sx-step.is-active {
    opacity: 1;
  }

  .sx.is-split .sx-step__dot {
    top: 50%;
    margin-top: -.5rem;
  }

  .sx.is-split .sx-step:hover {
    opacity: .85;
  }

  .sx.is-split .sx-step.is-active:hover {
    opacity: 1;
  }
}

@media (max-width: 66rem) {
  .sx-panel {
    display: none;
  }

  .sx-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 48rem) {
  html[lang] .sx-step {
    padding-left: 2.75rem;
  }

  .sx-timeline::before,
  .sx-timeline::after {
    left: .65rem;
  }

  .sx-step__dot {
    left: calc(.65rem + 1px);
  }

  .sx-step__title a::after {
    left: 1.75rem;
  }

  .sx-services {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll reveals & card glow (motion.js) ---------- */

.m-ready [data-m] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--r-ease-out), transform 1s var(--r-ease-out);
  transition-delay: var(--m-delay, 0s);
}

.m-ready [data-m].is-in {
  opacity: 1;
  transform: none;
}

.m-ready [data-m='clip'] {
  opacity: 1;
  transform: none;
  clip-path: inset(12% 8% 12% 8% round var(--r-radius));
  transition: clip-path 1.3s var(--r-ease-out);
}

.m-ready [data-m='clip'].is-in {
  clip-path: inset(0 0 0 0 round var(--r-radius));
}

[data-glow] {
  position: relative;
  isolation: isolate;
}

[data-glow]::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 50%), rgba(0, 195, 237, .16), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--r-ease);
  pointer-events: none;
}

[data-glow]:hover::before {
  opacity: 1;
}

/* ---------- Footer ---------- */

html[lang] .footer-brand {
  width: 12rem;
  height: 3.4rem;
}

html[lang] .footer-policies a,
html[lang] .footer-preferences {
  font-size: .85rem;
  transition: color .2s var(--r-ease);
}

html[lang] .footer-policies a:hover,
html[lang] .footer-preferences:hover {
  color: #fff;
}

html[lang] .footer-touch > p {
  font-family: 'Inter Display', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
}

/* ---------- Privacy banner: compact floating card ---------- */

html[lang] .consent-banner {
  right: auto;
  bottom: 1.25rem;
  left: 1.25rem;
  width: min(30rem, calc(100% - 2.5rem));
  padding: 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius);
  background: rgba(0, 49, 61, .96);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

html[lang] .consent-banner__inner {
  display: block;
  width: auto;
}

html[lang] .consent-banner h2 {
  margin: .5rem 0;
  font-family: 'Inter Display', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

html[lang] .consent-banner__copy p:not(.eyebrow) {
  font-size: .9rem;
  font-weight: 400;
}

html[lang] .consent-actions {
  margin-top: 1.25rem;
}

html[lang] .consent-button {
  min-height: 2.75rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[lang] .consent-manage {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Small-screen legibility & tap targets ---------- */

html[lang] .outcome-row__action {
  font-size: .8rem;
}

html[lang] .v4-audience-card__label,
html[lang] .v4-audience-cta--solutions .v4-audience-card__label {
  font-size: .78rem;
}

html[lang] .check input[type='checkbox'] {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .2rem;
  accent-color: var(--c-button);
}

/* ---------- Responsive ---------- */

@media (max-width: 66rem) {
  /* A backdrop-filter makes the header the containing block for fixed
     descendants, which would trap the full-screen menu inside the header. */
  html[lang] .site-header,
  html[lang] .site-header--solid,
  html[lang] .site-header.is-compact,
  html[lang] .site-header--solid.is-compact {
    background: var(--c-deep);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Open the menu flush under the (slimmer) header */
  html[lang] .site-nav,
  html[lang] body.nav-open .site-header.is-compact .site-nav,
  html[lang] body.nav-open .site-header--solid.is-compact .site-nav {
    inset: calc(var(--r-header-h) + 1px) 0 0;
  }

  html[lang] .site-nav .header-contact {
    width: 100%;
    min-height: 3.25rem;
    font-size: 1rem;
  }

  html[lang] .site-nav__links a {
    color: #fff;
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    letter-spacing: -.02em;
  }

  html[lang] .v4-pathway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  html[lang] body #main-content h1,
  html[lang] body.home-page--gsap-text #main-content .v4-hero h1 {
    font-size: clamp(2.3rem, 9vw, 2.75rem);
  }

  html[lang] body.home-page--gsap-text #main-content .v4-hero h1 {
    font-size: clamp(2rem, min(9vw, 5.8svh), 2.75rem);
  }

  html[lang] body #main-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.1rem);
  }

  html[lang] .v4-hero {
    min-height: max(24rem, calc(100svh - var(--m-ticker-h)));
  }

  html[lang] .v4-expertise-grid {
    grid-template-columns: 1fr;
  }

  html[lang] .v4-traction .v4-metrics {
    column-gap: 1.25rem;
  }

  html[lang] .consent-banner {
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    width: auto;
    padding: 1.25rem;
  }
}

@media (max-width: 66rem) and (prefers-reduced-motion: no-preference) {
  .nav-open .site-nav__links a,
  .nav-open .site-nav .header-contact {
    animation: m-rise .6s var(--r-ease-out) both;
  }

  .nav-open .site-nav__links a:nth-child(2) { animation-delay: .05s; }
  .nav-open .site-nav__links a:nth-child(3) { animation-delay: .1s; }
  .nav-open .site-nav__links a:nth-child(4) { animation-delay: .15s; }
  .nav-open .site-nav .header-contact { animation-delay: .22s; }
}

@media (prefers-reduced-motion: reduce) {
  .m-ready [data-m],
  .m-ready [data-m='clip'] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  html[lang] .v4-pathway,
  html[lang] .button,
  html[lang] .button::after,
  html[lang] .v4-text-link > span,
  .sx-step,
  .sx-detail,
  .sx-detail__media img,
  .sx-ticks i {
    transition: none !important;
  }

  .sx-detail__scan,
  .sx-detail__label::before {
    animation: none !important;
  }

  html[lang] .v4-pathway:hover {
    transform: none;
  }
}

/* Inline (small-screen) details already sit under the sector title */
.sx:not(.is-split) .sx-detail__title {
  display: none;
}

.sx-services.is-collapsed li:nth-child(n+6) {
  display: none;
}

.sx-more[hidden] {
  display: none;
}

.sx-more {
  display: block;
  margin: -.75rem 0 1.5rem;
  padding: .35rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--c-accent);
  font: 500 .9rem/1.4 'Inter', sans-serif;
  cursor: pointer;
}

/* Shorter laptop screens: tighten the details so long lists fit the panel */
@media (min-width: 66.001rem) and (max-height: 900px) {
  .sx.is-split .sx-detail__aside,
  .sx.is-split .sx-detail__body {
    padding-block: 1.5rem;
  }

  html[lang] body #main-content .sx.is-split .sx-detail__title {
    margin-bottom: .85rem;
    font-size: clamp(1.45rem, 1.9vw, 1.85rem);
  }

  html[lang] body #main-content .sx.is-split .sx-services li {
    padding-block: .3rem;
    font-size: .85rem;
    line-height: 1.35;
  }

  .sx.is-split .sx-services li::before {
    top: .38rem;
  }

  .sx.is-split .sx-services {
    margin-bottom: 1.1rem;
  }

  .sx.is-split .sx-detail .button {
    min-height: 2.75rem;
    padding-block: .6rem;
  }
}

@media (min-width: 66.001rem) and (max-height: 760px) {
  html[lang] .sx.is-split .sx-detail .eyebrow.sx-detail__label {
    display: none;
  }

  html[lang] body #main-content .sx.is-split .sx-services li {
    padding-block: .2rem;
  }

  .sx.is-split .sx-services li::before {
    top: .28rem;
  }

  .sx-detail__num {
    font-size: 3rem;
  }
}

/* ---------- Knowledge Centre: section shortcuts, training, template library (knowledge.js) ---------- */

@media (min-width: 48.001rem) {
  html[lang] .page-hero--knowledge-centre .page-hero__title-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(10rem, .45fr);
    grid-template-areas: 'title art';
  }
}

/* Hero shortcuts to the three sections below */
.kc-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

html[lang] .kc-hub__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    'index title arrow'
    'text text text';
  align-content: start;
  align-items: center;
  gap: .4rem .75rem;
  padding: 1rem 1.15rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  text-decoration: none;
  transition: border-color .25s var(--r-ease), background-color .25s var(--r-ease), transform .25s var(--r-ease);
}

html[lang] .kc-hub__item:hover {
  border-color: rgba(0, 195, 237, .55);
  background: rgba(0, 195, 237, .08);
  transform: translateY(-2px);
}

html[lang] .kc-hub__item:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.kc-hub__index {
  grid-area: index;
  color: var(--c-accent);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .08em;
}

.kc-hub__title {
  grid-area: title;
  font: 500 1.15rem/1.2 'Inter Display', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

.kc-hub__text {
  grid-area: text;
  color: var(--c-copy);
  font-size: .88rem;
  line-height: 1.45;
}

.kc-hub__arrow {
  grid-area: arrow;
  color: var(--c-accent);
  transition: transform .25s var(--r-ease);
}

.kc-hub__item:hover .kc-hub__arrow {
  transform: translateY(3px);
}

/* Shared: lead paragraph and small mono labels */
html[lang] body #main-content p.kc-lead:not(.eyebrow) {
  margin: 0 0 1.25rem;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.6;
}

html[lang] body #main-content p.kc-label:not(.eyebrow) {
  margin: 1.5rem 0 .75rem;
  color: var(--c-accent);
  font: 600 .75rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Training: overview beside a grid of topics */
.kc-training__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

html[lang] body #main-content .kc-training h2 {
  margin: 1rem 0;
}

html[lang] body #main-content .kc-training p.kc-lead:not(.eyebrow) {
  color: #fff;
}

html[lang] body #main-content .kc-training__intro > p:not(.eyebrow):not(.kc-lead):not(.kc-label) {
  margin: 0 0 1.5rem;
  color: var(--c-copy);
  font-size: 1rem;
}

html[lang] body #main-content .kc-training__topics p.kc-label:not(.eyebrow) {
  margin-top: .35rem;
}

.kc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .kc-chips li {
  padding: .35rem .8rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: .85rem;
  line-height: 1.35;
}

.kc-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .kc-topics li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  font-size: .93rem;
  line-height: 1.45;
}

html[lang] .kc-topics .v4-training-topic-icon {
  position: static;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .1rem;
  color: var(--c-accent);
}

/* Templates: intro, then the searchable library */
.kc-templates__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}

html[lang] body #main-content .kc-templates h2 {
  margin: 1rem 0 0;
}

html[lang] body #main-content .kc-templates p.kc-lead:not(.eyebrow) {
  margin: 0;
  color: var(--c-ink);
}

.kc-templates__about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem clamp(1.25rem, 3vw, 3rem);
  margin: 1.5rem 0 clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-light);
}

html[lang] body #main-content .kc-templates__about p:not(.eyebrow) {
  margin: 0;
  color: #3d5258;
  font-size: .95rem;
  line-height: 1.7;
}

.kc-library {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.kc-library.is-enhanced .v4-template-groups {
  display: none;
}

.kc-lib__bar {
  display: grid;
  grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
  gap: .85rem 1.25rem;
  align-items: start;
}

.kc-lib__search {
  position: relative;
}

.kc-lib__search svg {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: -.55rem;
  fill: none;
  stroke: var(--c-ink-teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

html[lang] .kc-lib__search input {
  width: 100%;
  min-height: 2.9rem;
  padding: .7rem 1rem .7rem 2.75rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  background: #fff;
  color: var(--c-ink);
  font: 400 1rem/1.2 'Inter', sans-serif;
}

html[lang] .kc-lib__search input::placeholder {
  color: #5b6f75;
}

html[lang] .kc-lib__search input:focus-visible {
  border-color: var(--c-accent-on-light);
  outline: 2px solid var(--c-accent-on-light);
  outline-offset: 1px;
}

.kc-lib__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

html[lang] .kc-lib__filters button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .5rem;
  min-height: 2.9rem;
  padding: .5rem .7rem .5rem 1rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--c-ink);
  font: 500 .88rem/1.2 'Inter', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--r-ease), border-color .2s var(--r-ease), color .2s var(--r-ease);
}

html[lang] .kc-lib__filters button:hover {
  border-color: rgba(0, 129, 157, .5);
}

html[lang] .kc-lib__filters button[aria-pressed='true'] {
  border-color: var(--c-deep);
  background: var(--c-deep);
  color: #fff;
}

html[lang] .kc-lib__filters button:focus-visible {
  outline: 2px solid var(--c-accent-on-light);
  outline-offset: 2px;
}

.kc-lib__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: rgba(0, 129, 157, .14);
  color: var(--c-ink-teal);
  font: 700 .72rem/1 var(--c-mono);
}

[aria-pressed='true'] > .kc-lib__count {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

html[lang] body #main-content p.kc-lib__status:not(.eyebrow) {
  min-height: 1rem;
  margin: 1.25rem 0 .75rem;
  color: #3d5258;
  font: 600 .75rem/1.3 var(--c-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kc-lib__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .kc-lib__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--c-line-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, .6);
  color: var(--c-ink);
  font-size: .95rem;
  line-height: 1.4;
}

html[lang] body #main-content .kc-lib__item[hidden] {
  display: none;
}

.kc-lib__item svg {
  grid-row: span 2;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .05rem;
  fill: none;
  stroke: var(--c-accent-on-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kc-lib__cat {
  display: none;
  margin-top: .3rem;
  color: var(--c-ink-teal);
  font: 600 .68rem/1.3 var(--c-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kc-lib__grid.is-searching .kc-lib__cat {
  display: block;
}

.kc-lib__name mark {
  padding: 0 .1em;
  border-radius: 3px;
  background: rgba(0, 195, 237, .3);
  color: inherit;
}

.kc-lib__empty {
  padding: 1.25rem;
  border: 1px dashed rgba(21, 40, 46, .3);
  border-radius: 14px;
}

.kc-lib__empty[hidden] {
  display: none;
}

html[lang] body #main-content .kc-lib__empty p:not(.eyebrow) {
  margin: 0 0 .5rem;
  font-size: .95rem;
}

html[lang] .kc-lib__empty a {
  color: var(--c-ink-teal);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  html[lang] body #main-content .kc-lib__item {
    animation: kc-in .35s var(--r-ease-out) both;
  }
}

@keyframes kc-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 66rem) {
  .kc-training__grid {
    grid-template-columns: 1fr;
  }

  .kc-lib__bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  .kc-hub {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  html[lang] .kc-hub__item {
    padding: .8rem 1rem .85rem;
  }

  .kc-topics,
  .kc-templates__head,
  .kc-templates__about {
    grid-template-columns: 1fr;
  }

  /* Categories scroll sideways in one row instead of wrapping into a tall block */
  .kc-lib__filters {
    flex-wrap: nowrap;
    margin-inline: -1.25rem;
    padding: .1rem 1.25rem .35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kc-lib__filters::-webkit-scrollbar {
    display: none;
  }

  .kc-lib__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Webinars: Knowledge Centre listing + webinar page (webinar.js) ---------- */

/* Placeholder text marker */
html[lang] .ph {
  text-decoration: underline dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
}

.wb-list-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

html[lang] body #main-content .wb-list-head h2 {
  margin: 1rem 0 0;
}

html[lang] body #main-content p.wb-list-head__intro:not(.eyebrow) {
  max-width: 30rem;
  margin: 0;
}

.wb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
  gap: 1.25rem;
}

.wb-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .55);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color .3s var(--r-ease), background-color .3s var(--r-ease), box-shadow .3s var(--r-ease), transform .3s var(--r-ease);
}

html[lang] a.wb-card,
html[lang] a.wb-card:hover {
  color: var(--c-ink);
}

a.wb-card:hover {
  border-color: rgba(0, 129, 157, .45);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 49, 61, .12);
  transform: translateY(-3px);
}

.wb-date {
  display: grid;
  justify-items: center;
  min-width: 4.75rem;
  padding: .75rem .5rem;
  border-radius: 14px;
  background: var(--c-deep);
  color: #fff;
  line-height: 1;
}

.wb-date span {
  color: var(--c-accent);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wb-date strong {
  margin: .35rem 0;
  font: 300 2.1rem/1 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

.wb-date span:last-child {
  color: rgba(255, 255, 255, .6);
  letter-spacing: .08em;
}

.wb-card__body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
}

.wb-card__tag {
  color: var(--c-accent-on-light);
  font: 600 .75rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wb-card__title {
  font: 500 clamp(1.2rem, 1.5vw, 1.4rem)/1.3 'Inter Display', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

.wb-card__meta {
  color: #3d5258;
  font-size: .92rem;
}

html[lang] .wb-card .v4-text-link {
  margin-top: .4rem;
  color: var(--c-ink);
}

.wb-card--soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .6rem;
  min-height: 11rem;
  border-style: dashed;
  background: transparent;
}

.wb-card--soon strong {
  font: 500 1.15rem/1.3 'Inter Display', 'Inter', sans-serif;
}

.wb-card--soon span {
  color: #3d5258;
  font-size: .92rem;
}

.wb-card--soon a {
  color: var(--c-accent-on-light);
  font-weight: 500;
}

.wb-card.is-past {
  opacity: .72;
}

.wb-past {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

html[lang] body #main-content .wb-past h3 {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
}

.wb-date--range strong {
  font-size: 1.55rem;
  letter-spacing: -.04em;
}

/* Listing: cards beside a month calendar of sessions */
.wb-browse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(18rem, 26vw, 21rem);
  gap: 1.25rem;
  align-items: start;
}

.wb-cal {
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--r-radius);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(0, 195, 237, .22), transparent 70%),
    var(--c-bright);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 49, 61, .18);
  color: #fff;
}

.wb-cal[hidden] {
  display: none;
}

.wb-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.wb-cal__label {
  display: block;
  color: rgba(255, 255, 255, .78);
  font: 600 .75rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

html[lang] body #main-content .wb-cal h3.wb-cal__month {
  margin: .35rem 0 0;
  color: #fff;
  font: 500 1.25rem/1.2 'Inter Display', 'Inter', sans-serif;
  letter-spacing: -.01em;
}

.wb-cal__nav {
  display: flex;
  gap: .4rem;
}

.wb-cal__nav button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s var(--r-ease), background-color .2s var(--r-ease);
}

.wb-cal__nav button:hover:not(:disabled) {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.wb-cal__nav button:disabled {
  opacity: .35;
  cursor: default;
}

.wb-cal__nav svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wb-cal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.wb-cal__grid th {
  padding: 0 0 .5rem;
  color: rgba(255, 255, 255, .7);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .04em;
  text-align: center;
}

.wb-cal__grid abbr {
  text-decoration: none;
}

.wb-cal__grid td {
  padding: 2px;
  text-align: center;
}

.wb-cal__day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 2.5rem;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  color: rgba(255, 255, 255, .92);
  font: 400 .9rem/1 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}

.wb-cal__day.is-past {
  color: rgba(255, 255, 255, .42);
}

.wb-cal__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}

button.wb-cal__day {
  padding: 0;
  border: 0;
  background: rgba(0, 49, 61, .42);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s var(--r-ease), color .2s var(--r-ease);
}

button.wb-cal__day::after {
  content: '';
  position: absolute;
  bottom: 16%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 6px rgba(0, 195, 237, .9);
}

button.wb-cal__day:hover {
  background: rgba(0, 49, 61, .65);
}

button.wb-cal__day[aria-pressed='true'] {
  background: #fff;
  color: var(--c-deep);
}

button.wb-cal__day[aria-pressed='true']::after {
  background: var(--c-bright);
  box-shadow: none;
}

button.wb-cal__day:focus-visible,
.wb-cal__nav button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wb-cal__agenda {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.wb-cal__date {
  color: #fff;
  font: 600 .95rem/1.3 'Inter', sans-serif;
}

.wb-cal__events {
  display: grid;
  gap: .5rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

html[lang] a.wb-cal__event {
  display: grid;
  gap: .3rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--c-accent);
  border-radius: 12px;
  background: rgba(0, 49, 61, .4);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s var(--r-ease), border-color .2s var(--r-ease);
}

html[lang] a.wb-cal__event:hover {
  border-color: rgba(255, 255, 255, .35);
  border-left-color: var(--c-accent);
  background: rgba(0, 49, 61, .6);
}

.wb-cal__time {
  color: #8eeafe;
  font: 600 .8rem/1.2 var(--c-mono);
  letter-spacing: .04em;
}

.wb-cal__title {
  font: 500 .95rem/1.4 'Inter', sans-serif;
}

.wb-cal__note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  line-height: 1.45;
}

/* Webinar page: hero */
html[lang] .page-hero.wb-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

html[lang] body #main-content .wb-hero h1 {
  max-width: 24ch;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.08;
}

.wb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}

.wb-breadcrumb a {
  display: inline-block;
  padding-block: .3rem;
  color: inherit;
  text-decoration: none;
}

.wb-breadcrumb a:hover {
  color: #fff;
}

.wb-sample {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  max-width: 100%;
  margin: 0 0 1.75rem;
  padding: .55rem 1rem;
  border: 1px dashed rgba(0, 195, 237, .6);
  border-radius: 14px;
  background: rgba(0, 195, 237, .08);
  color: #fff;
  font-size: .88rem;
  line-height: 1.45;
}

.wb-sample strong {
  color: var(--c-accent);
  font: 600 .75rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wb-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--c-line);
  list-style: none;
}

html[lang] body #main-content .wb-facts li {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 1rem;
  line-height: 1.4;
}

.wb-facts li > span {
  color: var(--c-accent);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wb-facts strong {
  color: #fff;
  font-weight: 500;
}

/* Webinar page: section tabs */
.wb-tabs {
  position: sticky;
  z-index: 20;
  top: calc(var(--r-header-h) + 1px);
  border-bottom: 1px solid var(--c-line-light);
  background: rgba(240, 244, 245, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.wb-tabs.is-pinned {
  position: relative;
  top: auto;
}

.wb-tabs__nav {
  display: flex;
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.wb-tabs__nav::-webkit-scrollbar {
  display: none;
}

.wb-tabs__nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .55rem;
  padding: 1.15rem 0 1rem;
  border-bottom: 2px solid transparent;
  color: #3d5258;
  font: 500 .95rem/1 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--r-ease), border-color .2s var(--r-ease);
}

.wb-tabs__nav svg,
.wb-action svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wb-tabs__nav a:hover {
  color: var(--c-ink);
}

.wb-tabs__nav a.is-active {
  border-bottom-color: var(--c-accent-on-light);
  color: var(--c-accent-on-light);
}

/* Webinar page: layout, action rail and content */
html[lang] .wb-body.section {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.wb-layout {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 48rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.wb-rail {
  position: sticky;
  top: calc(var(--r-header-h) + 5.5rem);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.wb-rail.is-pinned {
  position: relative;
  top: auto;
}

html[lang] .wb-rail .wb-action {
  color: var(--c-ink);
}

html[lang] .wb-rail .wb-action:hover {
  color: var(--c-accent-on-light);
}

html[lang] .wb-rail .wb-action--primary,
html[lang] .wb-rail .wb-action--primary:hover {
  color: #fff;
}

.wb-action {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  min-height: 3.1rem;
  padding: .7rem 1.2rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--c-ink);
  font: 500 .95rem/1.2 'Inter', sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s var(--r-ease), background-color .2s var(--r-ease), color .2s var(--r-ease), transform .2s var(--r-ease);
}

.wb-action svg {
  flex: 0 0 1.15rem;
}

.wb-action:hover {
  border-color: rgba(0, 129, 157, .5);
  background: #fff;
  color: var(--c-accent-on-light);
  transform: translateX(2px);
}

.wb-action:focus-visible {
  outline: 2px solid var(--c-accent-on-light);
  outline-offset: 3px;
}

.wb-action--primary,
.wb-action--primary:hover {
  border-color: var(--c-button);
  background: var(--c-button);
  color: #fff;
}

.wb-action--primary:hover {
  border-color: var(--c-button-hover);
  background: var(--c-button-hover);
}

.wb-action--quiet {
  border-style: dashed;
  background: transparent;
}

.wb-rail__divider {
  width: 100%;
  height: 1px;
  margin: .4rem 0;
  border: 0;
  background: var(--c-line-light);
}

html[lang] body #main-content p.wb-rail__status:not(.eyebrow) {
  min-height: 1.4em;
  margin: .25rem 0 0 1.2rem;
  color: var(--c-accent-on-light);
  font-size: .85rem;
  line-height: 1.4;
}

.wb-ended {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-line-light);
  border-radius: 14px;
  background: #fff;
}

.wb-ended a {
  color: var(--c-accent-on-light);
}

.is-ended .wb-register,
.is-ended [data-wb-jump],
.is-ended [data-wb-ics] {
  display: none;
}

.wb-series {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  overflow: hidden;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .55);
}

.wb-series::before,
.wb-outcome::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-on-light));
}

html[lang] body #main-content p.wb-series__label:not(.eyebrow) {
  margin: 0 0 .75rem;
  color: #3d5258;
  font-size: 1rem;
  font-style: italic;
}

.wb-series__label a {
  color: var(--c-accent-on-light);
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}

html[lang] body #main-content .wb-series__text p:not(.eyebrow) {
  margin: 0 0 .75rem;
  font-size: 1rem;
}

.wb-series.is-collapsible:not(.is-open) .wb-series__text {
  max-height: 5.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
  mask-image: linear-gradient(180deg, #000 50%, transparent);
}

.wb-series__more {
  display: block;
  margin: .5rem 0 0 auto;
  padding: .35rem .9rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--c-accent-on-light);
  font: 500 .85rem/1.3 'Inter', sans-serif;
  cursor: pointer;
}

.wb-series__more[hidden] {
  display: none;
}

.wb-section {
  scroll-margin-top: calc(var(--r-header-h) + 5rem);
}

.wb-section + .wb-section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--c-line-light);
}

html[lang] body #main-content .wb-section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

html[lang] body #main-content .wb-section h3 {
  margin: 2.25rem 0 0;
  font-size: 1.15rem;
}

html[lang] body #main-content p.wb-lead:not(.eyebrow) {
  color: var(--c-ink);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.55;
}

.wb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .wb-chips li {
  padding: .4rem .95rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: .92rem;
  line-height: 1.3;
}

.wb-speakers {
  display: grid;
  gap: 1.25rem;
}

.wb-speaker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .55);
}

.wb-avatar {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 1px dashed rgba(0, 129, 157, .6);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(0, 195, 237, .16), rgba(0, 100, 123, .1));
  color: var(--c-accent-on-light);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[lang] body #main-content .wb-speaker h3 {
  margin: 0;
  font-size: 1.2rem;
}

html[lang] body #main-content p.wb-speaker__role:not(.eyebrow) {
  margin: .25rem 0 .75rem;
  color: var(--c-accent-on-light);
  font-size: .92rem;
  font-weight: 500;
}

html[lang] body #main-content .wb-speaker p:not(.eyebrow):last-child {
  margin: 0;
  font-size: 1rem;
}

.wb-session {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .55);
}

html[lang] body #main-content .wb-session h3 {
  margin: 0 0 .3rem;
  font-size: 1.15rem;
}

html[lang] body #main-content .wb-session p:not(.eyebrow) {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

html[lang] .wb-session .button {
  white-space: nowrap;
}

.wb-sessions {
  display: grid;
  gap: .85rem;
}

html[lang] body #main-content .wb-session p.wb-session__local:not(.eyebrow) {
  margin-top: .35rem;
  color: var(--c-accent-on-light);
  font-size: .88rem;
}

.wb-session.is-ended {
  opacity: .65;
}

.wb-session.is-ended [data-wb-ics] {
  display: none;
}

.wb-session__status {
  padding: .45rem .9rem;
  border: 1px solid var(--c-line-light);
  border-radius: 999px;
  color: #3d5258;
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Topics as a two-column numbered grid */
.wb-learn--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[lang] body #main-content .wb-learn--grid li {
  align-content: start;
  padding-block: 1rem;
  line-height: 1.45;
}

.wb-learn--grid li::before {
  top: 1rem;
  line-height: 1.6;
}

.wb-learn--grid strong {
  font-weight: 500;
}

/* Benefits as a checklist, closed by the learning outcome */
.wb-ticks {
  display: grid;
  gap: .75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .wb-ticks li {
  position: relative;
  padding-left: 2.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.wb-ticks li::before {
  content: '';
  position: absolute;
  top: .1em;
  left: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(0, 129, 157, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300819d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / .85rem no-repeat;
}

.wb-outcome {
  position: relative;
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  overflow: hidden;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .55);
}

html[lang] body #main-content .wb-outcome h3 {
  margin: 0 0 .6rem;
}

html[lang] body #main-content .wb-outcome p:not(.eyebrow) {
  margin: 0;
}

html[lang] body #main-content p.wb-note:not(.eyebrow) {
  margin: 1rem 0 0;
  color: #3d5258;
  font-size: .92rem;
}

.wb-learn {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: learn;
}

html[lang] body #main-content .wb-learn li {
  position: relative;
  display: grid;
  gap: .25rem;
  padding: 1.15rem 1.25rem 1.15rem 4rem;
  border: 1px solid var(--c-line-light);
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  counter-increment: learn;
  font-size: 1rem;
  line-height: 1.55;
}

.wb-learn li::before {
  content: counter(learn, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  left: 1.3rem;
  color: var(--c-accent-on-light);
  font: 600 .9rem/1.7 var(--c-mono);
}

.wb-learn strong {
  color: var(--c-ink);
  font-weight: 600;
}

/* Registration: a dark card to anchor the end of the page */
html[lang] .wb-section.wb-register {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 0;
  border-radius: var(--r-radius-lg);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(0, 195, 237, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--c-deep);
  color: #fff;
}

.wb-section + .wb-section.wb-register {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

html[lang] body #main-content .wb-register h2 {
  margin-top: .75rem;
  color: #fff;
}

html[lang] .wb-register .eyebrow {
  color: var(--c-accent);
}

html[lang] body #main-content .wb-register p:not(.eyebrow):not(.eyebrow--light) {
  color: var(--c-copy);
}

.wb-form {
  margin-top: 1.75rem;
}

.wb-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

html[lang] .wb-choice legend {
  margin-bottom: .6rem;
  padding: 0;
  color: #fff;
  font: 500 .9rem/1.3 'Inter', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.wb-choice__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .6rem;
}

.wb-choice__option {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s var(--r-ease), background-color .2s var(--r-ease);
}

.wb-choice__option input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: .1rem 0 0;
  accent-color: var(--c-accent);
}

.wb-choice__option > span {
  display: grid;
  gap: .25rem;
}

.wb-choice__option strong {
  font: 500 1rem/1.3 'Inter', sans-serif;
}

.wb-choice__option span span {
  color: var(--c-copy);
  font: 500 .85rem/1.3 var(--c-mono);
}

.wb-choice__option:hover {
  border-color: rgba(0, 195, 237, .6);
}

.wb-choice__option:has(input:checked) {
  border-color: var(--c-accent);
  background: rgba(0, 195, 237, .12);
}

.wb-choice__option:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(0, 195, 237, .35);
}

.wb-choice__option:has(input:disabled) {
  opacity: .45;
  cursor: default;
}

html[lang] .wb-form .field label {
  color: #fff;
  font: 500 .9rem/1.3 'Inter', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[lang] .wb-form .field input,
html[lang] .wb-form .field select {
  width: 100%;
  min-height: 3rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 400 1rem/1.3 'Inter', sans-serif;
}

html[lang] .wb-form .field select option {
  color: var(--c-ink);
}

html[lang] .wb-form .field input:focus,
html[lang] .wb-form .field select:focus {
  border-color: var(--c-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 195, 237, .25);
}

html[lang] .wb-form .check {
  color: var(--c-copy);
  font-size: .95rem;
  line-height: 1.5;
}

.wb-form .check a {
  color: var(--c-accent);
}

html[lang] .wb-form .button {
  justify-self: start;
}

html[lang] body #main-content p.wb-form__status:not(.eyebrow) {
  min-height: 1.5em;
  margin: 0;
  color: var(--c-accent);
  font-size: .92rem;
}

.wb-form[hidden],
.wb-form-done[hidden],
.wb-form__trap[hidden] {
  display: none;
}

html[lang] .wb-register .wb-form__status a {
  color: var(--c-accent);
}

.wb-form-done {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(0, 195, 237, .5);
  border-radius: 14px;
  background: rgba(0, 195, 237, .1);
}

.wb-form-done:focus {
  outline: none;
}

.wb-form-done strong {
  color: #fff;
  font: 500 1.1rem/1.4 'Inter', sans-serif;
}

html[lang] body #main-content .wb-form-done p:not(.eyebrow) {
  margin: .4rem 0 0;
  font-size: .98rem;
}

html[lang] body #main-content p.wb-register__alt:not(.eyebrow) {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .95rem;
}

html[lang] .wb-register .wb-register__alt a {
  color: var(--c-accent);
  font-weight: 500;
}

.wb-avatar svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.wb-preview {
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  border: 1px dashed rgba(0, 195, 237, .5);
  border-radius: 12px;
  color: var(--c-copy);
  font-size: .9rem;
  line-height: 1.5;
}

.wb-preview strong {
  color: var(--c-accent);
}

@media (max-width: 66rem) {
  .wb-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .wb-rail {
    position: static;
    flex-direction: row;
    gap: .5rem;
    min-width: 0;
    padding-block: .25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wb-rail::-webkit-scrollbar {
    display: none;
  }

  .wb-action {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .wb-action:hover {
    transform: none;
  }

  .wb-rail__divider {
    display: none;
  }

  html[lang] body #main-content p.wb-rail__status:not(.eyebrow) {
    position: absolute;
    margin: 0;
  }
}

@media (max-width: 48rem) {
  .wb-browse {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-learn--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-card {
    gap: 1.1rem;
    padding: 1.35rem;
  }

  .wb-facts {
    gap: 1rem 2rem;
  }

  .wb-session {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wb-session .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .wb-speaker {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .wb-avatar {
    width: 4rem;
    height: 4rem;
  }

  .wb-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-series {
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  }
}

@media print {
  .wb-tabs,
  .wb-rail,
  .wb-sample,
  .wb-form,
  .wb-preview,
  .wb-series__more {
    display: none !important;
  }

  .wb-layout {
    display: block;
  }

  .wb-series.is-collapsible:not(.is-open) .wb-series__text {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  html[lang] .wb-section.wb-register {
    border: 1px solid #ccc;
    background: none;
    color: #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wb-card,
  .wb-action {
    transition: none;
  }

  a.wb-card:hover {
    transform: none;
  }
}

/* ---------- About: interactive collaboration map (map.js) ---------- */

.mx-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 .5rem;
}

.mx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.mx-filter {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.6rem;
  padding: .4rem .45rem .4rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #effcff;
  font: 500 .875rem/1 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .25s var(--r-ease), background-color .25s var(--r-ease), box-shadow .25s var(--r-ease);
}

.mx-filter strong {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .75rem;
  font-weight: 600;
  transition: background-color .25s var(--r-ease), color .25s var(--r-ease);
}

.mx-filter:hover {
  border-color: rgba(76, 236, 255, .6);
}

.mx-filter[aria-pressed='true'] {
  border-color: #4cecff;
  background: rgba(0, 223, 255, .14);
  box-shadow: 0 0 1.25rem rgba(0, 223, 255, .25);
}

.mx-filter[aria-pressed='true'] strong {
  background: #4cecff;
  color: #014c5d;
}

.mx-filter:focus-visible {
  outline: 2px solid #4cecff;
  outline-offset: 3px;
}

.v4-global.mx-ready .v4-map-scroll {
  position: relative;
}

/* Entrance: land fades in, hubs bloom, routes draw */
.mx-ready .mx-land {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.mx-live .mx-land {
  opacity: 1;
}

.mx-ready .v4-map-region-halo {
  opacity: 0;
  transform: scale(.35);
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
  transition: opacity .9s var(--r-ease-out), transform 1.1s var(--r-ease-out);
}

.mx-live .v4-map-region-halo {
  opacity: 1;
  transform: none;
}

.mx-ready .v4-map-region-halo:nth-child(2) { transition-delay: .12s; }
.mx-ready .v4-map-region-halo:nth-child(3) { transition-delay: .24s; }
.mx-ready .v4-map-region-halo:nth-child(4) { transition-delay: .36s; }
.mx-ready .v4-map-region-halo:nth-child(5) { transition-delay: .48s; }
.mx-ready .v4-map-region-halo:nth-child(6) { transition-delay: .6s; }

html[lang] .v4-global--collaboration .v4-city-marker__halo {
  animation: mx-dash 16s linear infinite;
}

@keyframes mx-dash {
  to { stroke-dashoffset: -140; }
}

.mx-ripple {
  fill: none;
  stroke: #4cecff;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: mx-ripple 3.2s cubic-bezier(.2, .6, .3, 1) infinite;
  pointer-events: none;
}

@keyframes mx-ripple {
  0% { opacity: .85; transform: scale(.6); }
  100% { opacity: 0; transform: scale(6.5); }
}

.mx-route {
  fill: none;
  stroke: rgba(76, 236, 255, .6);
  stroke-width: calc(1.2px / var(--mx-shrink, 1));
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: opacity .5s var(--r-ease);
  pointer-events: none;
}

.mx-ready .mx-route {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--r-ease-out) var(--d, 0s), opacity .5s var(--r-ease);
}

.mx-live .mx-route {
  stroke-dashoffset: 0;
}

.mx-comet {
  fill: #f4ffff;
  filter: drop-shadow(0 0 3px #4cecff) drop-shadow(0 0 8px rgba(0, 223, 255, .9));
  pointer-events: none;
}

.mx-ready:not(.mx-live) .mx-comet {
  visibility: hidden;
}

html[lang] .v4-global--collaboration .v4-city-marker__point {
  transform-box: fill-box;
  transform-origin: center;
  animation: mx-breathe 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: transform .3s var(--r-ease), opacity .4s var(--r-ease);
}

@keyframes mx-breathe {
  50% { opacity: .55; }
}

html[lang] .v4-global .v4-city-marker .mx-hit {
  fill: transparent;
  stroke: none;
  filter: none;
  animation: none;
  pointer-events: all;
}

.mx-ready .v4-city-marker {
  cursor: pointer;
  transition: opacity .5s var(--r-ease);
}

html[lang] .v4-global--collaboration .v4-city-marker.is-hot .v4-city-marker__point {
  animation: none;
  transform: scale(1.9);
}

html[lang] .v4-global--collaboration .v4-city-map-label {
  font-size: calc(9.5px / var(--mx-shrink, 1));
  stroke-width: calc(3px / var(--mx-shrink, 1));
  transition: opacity .4s var(--r-ease), fill .2s var(--r-ease);
}

html[lang] .v4-global--collaboration .v4-city-map-label.is-hot {
  fill: #fff;
  font-weight: 700;
}

.v4-global-map.has-hot .v4-city-map-label:not(.is-hot) {
  opacity: .3;
}

/* Region focus: everything outside the chosen region steps back */
.v4-global[data-map-focus='americas'] :is(.v4-city-marker, .v4-city-map-label, .v4-map-region-halo, .v4-city-list li)[data-region]:not([data-region='americas']),
.v4-global[data-map-focus='europe'] :is(.v4-city-marker, .v4-city-map-label, .v4-map-region-halo, .v4-city-list li)[data-region]:not([data-region='europe']),
.v4-global[data-map-focus='middle-east'] :is(.v4-city-marker, .v4-city-map-label, .v4-map-region-halo, .v4-city-list li)[data-region]:not([data-region='middle-east']),
.v4-global[data-map-focus='asia-pacific'] :is(.v4-city-marker, .v4-city-map-label, .v4-map-region-halo, .v4-city-list li)[data-region]:not([data-region='asia-pacific']) {
  opacity: .14;
}

.v4-global[data-map-focus='americas'] .mx-ripple:not([data-region='americas']),
.v4-global[data-map-focus='europe'] .mx-ripple:not([data-region='europe']),
.v4-global[data-map-focus='middle-east'] .mx-ripple:not([data-region='middle-east']),
.v4-global[data-map-focus='asia-pacific'] .mx-ripple:not([data-region='asia-pacific']) {
  display: none;
}

.v4-global[data-map-focus='americas'] :is(.mx-route, .mx-comet):not([data-regions~='americas']),
.v4-global[data-map-focus='europe'] :is(.mx-route, .mx-comet):not([data-regions~='europe']),
.v4-global[data-map-focus='middle-east'] :is(.mx-route, .mx-comet):not([data-regions~='middle-east']),
.v4-global[data-map-focus='asia-pacific'] :is(.mx-route, .mx-comet):not([data-regions~='asia-pacific']) {
  opacity: .12;
}

.v4-global[data-map-focus] .v4-map-region-halo[data-region] {
  opacity: .3;
}

/* The map labels and region filters already name every city, so the list
   below the map is kept for screen readers only */
html[lang] .v4-global .v4-city-list {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.mx-leader {
  stroke: rgba(76, 236, 255, .6);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity .4s var(--r-ease);
  pointer-events: none;
}

.mx-leader.is-hot,
.v4-global[data-map-focus='americas'] .mx-leader[data-region='americas'],
.v4-global[data-map-focus='europe'] .mx-leader[data-region='europe'],
.v4-global[data-map-focus='middle-east'] .mx-leader[data-region='middle-east'],
.v4-global[data-map-focus='asia-pacific'] .mx-leader[data-region='asia-pacific'] {
  opacity: 1;
}

/* Hover card */
.mx-tip {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  min-width: 11rem;
  max-width: 18rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(76, 236, 255, .35);
  border-radius: 14px;
  background: rgba(0, 38, 48, .92);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .35), 0 0 1.5rem rgba(0, 223, 255, .15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px)) scale(.96);
  transition: opacity .2s var(--r-ease), transform .25s var(--r-ease);
  pointer-events: none;
}

.mx-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 12px));
}

html[lang] body #main-content .mx-tip p.mx-tip__eyebrow {
  margin: 0 0 .3rem;
  color: #4cecff;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

html[lang] body #main-content .mx-tip p.mx-tip__title {
  margin: 0;
  color: #fff;
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

html[lang] body #main-content .mx-tip p.mx-tip__list {
  margin: .3rem 0 0;
  color: #c7e7ee;
  font-size: .8rem;
  line-height: 1.45;
}

html[lang] body #main-content .mx-tip p.mx-tip__list:empty {
  display: none;
}

.mx-paused .mx-ripple,
.mx-paused .v4-city-marker__halo,
.mx-paused .v4-city-marker__point {
  animation-play-state: paused;
}

@media (max-width: 48rem) {
  .mx-toolbar {
    align-items: start;
  }

  .mx-filter {
    min-height: 2.4rem;
    padding-left: .9rem;
    font-size: .8rem;
  }
}

/* ---------- Who we support: audience pages (for/*) ---------- */

.audience-page svg:is(.aud-switch__arrow svg, .aud-head__link svg, .aud-card__more svg) {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--r-ease);
}

/* Hero: the question on the left, a switcher between the three audiences on the right */
.aud-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

html[lang] body #main-content .aud-hero h1 {
  max-width: 20ch;
}

html[lang] body #main-content .aud-hero .lede {
  margin-bottom: 0;
}

.aud-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

html[lang] .aud-hero__link {
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(0, 195, 237, .6);
  text-underline-offset: .35em;
  transition: color .2s var(--r-ease);
}

html[lang] .aud-hero__link:hover {
  color: var(--c-accent);
}

.aud-switch {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-radius);
  background: rgba(255, 255, 255, .04);
}

html[lang] body #main-content p.aud-switch__label:not(.eyebrow) {
  margin: .25rem 0 .25rem .5rem;
  color: var(--c-accent);
  font: 600 .72rem/1.3 var(--c-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

html[lang] .aud-switch__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .8rem .9rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--c-copy);
  text-decoration: none;
  transition: background-color .25s var(--r-ease), border-color .25s var(--r-ease), color .25s var(--r-ease);
}

html[lang] .aud-switch__item:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

html[lang] .aud-switch__item:hover svg {
  transform: translateX(3px);
}

html[lang] .aud-switch__item[aria-current='page'] {
  border-color: rgba(0, 195, 237, .55);
  background: rgba(0, 195, 237, .1);
  color: #fff;
}

.aud-switch__item[aria-current='page'] .aud-switch__arrow {
  visibility: hidden;
}

.aud-switch__index {
  color: var(--c-accent);
  font: 600 .72rem/1 var(--c-mono);
  letter-spacing: .08em;
}

.aud-switch__name {
  font: 500 1rem/1.3 'Inter Display', 'Inter', sans-serif;
}

.aud-switch__arrow {
  display: flex;
  color: var(--c-accent);
}

/* Section heading with a text link on the right */
.aud-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem);
}

html[lang] body #main-content .aud-head h2 {
  max-width: 20ch;
  margin: 1rem 0 0;
}

html[lang] .aud-head__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--c-ink-teal);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

html[lang] .aud-head__link:hover svg {
  transform: translateX(3px);
}

/* Solutions: white cards; with five, the last two share the second row */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.85rem, 1.5vw, 1.25rem);
}

.aud-grid > .aud-card {
  grid-column: span 2;
}

.aud-grid--5 > .aud-card:nth-child(n + 4) {
  grid-column: span 3;
}

.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border: 1px solid rgba(21, 40, 46, .08);
  border-radius: var(--r-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 49, 61, .05);
  transition: transform .3s var(--r-ease), box-shadow .3s var(--r-ease), border-color .3s var(--r-ease);
}

.aud-card:hover {
  border-color: rgba(0, 129, 157, .35);
  box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(0, 49, 61, .35);
  transform: translateY(-3px);
}

.aud-card:focus-within {
  outline: 2px solid var(--c-accent-on-light);
  outline-offset: 3px;
}

.aud-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aud-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(0, 129, 157, .1);
  color: var(--c-ink-teal);
}

.aud-card__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.aud-card__index {
  color: var(--c-accent-on-light);
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .08em;
}

html[lang] body #main-content .aud-card h3 {
  margin: 1.1rem 0 .4rem;
  color: var(--c-ink);
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
}

html[lang] .aud-card__title {
  color: inherit;
  text-decoration: none;
}

/* The title link covers the whole card */
.aud-card__title::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.aud-card__title:focus-visible {
  outline: none;
}

html[lang] body #main-content p.aud-card__text:not(.eyebrow) {
  margin: 0 0 1rem;
  color: #3d5258;
  font-size: .98rem;
  line-height: 1.55;
}

.aud-card__caps {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--c-line-light);
  list-style: none;
}

html[lang] body #main-content .aud-card__caps li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--c-ink);
  font-size: .9rem;
  line-height: 1.45;
}

.aud-card__caps li::before {
  content: '';
  position: absolute;
  top: .42em;
  left: .1rem;
  width: .55rem;
  height: .3rem;
  border-bottom: 2px solid var(--c-accent-on-light);
  border-left: 2px solid var(--c-accent-on-light);
  transform: rotate(-45deg);
}

.aud-card__more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  color: var(--c-ink-teal);
  font-size: .92rem;
  font-weight: 600;
}

.aud-card:hover .aud-card__more svg {
  transform: translateX(3px);
}

/* Healthcare: medico-legal feature under the cards */
.aud-feature {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  margin-top: clamp(.85rem, 1.5vw, 1.25rem);
  overflow: hidden;
  border-radius: var(--r-radius);
  background: var(--c-deep);
  color: #fff;
}

.aud-feature__media {
  position: relative;
  min-height: 15rem;
}

.aud-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aud-feature__body {
  align-self: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

html[lang] .aud-feature .eyebrow--light {
  color: var(--c-accent);
}

html[lang] body #main-content .aud-feature h3 {
  margin: .85rem 0 .6rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

html[lang] body #main-content .aud-feature p:not(.eyebrow) {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  color: var(--c-copy);
  font-size: 1rem;
}

/* How we support: every point on show (bright teal band) */
html[lang] .aud-support {
  background: var(--c-bright);
  color: #fff;
}

.aud-support__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

html[lang] .aud-support .eyebrow--light {
  color: #a9ecfa;
}

html[lang] body #main-content .aud-support h2 {
  margin: 1rem 0;
  color: #fff;
}

html[lang] body #main-content .aud-support__intro p:not(.eyebrow) {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
}

html[lang] body .aud-support .button.aud-button-light {
  border-color: #fff;
  background: #fff;
  color: var(--c-deep);
}

html[lang] body .aud-support .button.aud-button-light:hover {
  border-color: #e3f7fb;
  background: #e3f7fb;
  color: var(--c-deep);
}

.aud-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

html[lang] body #main-content .aud-point {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}

.aud-point__index {
  display: block;
  color: #a9ecfa;
  font: 600 .75rem/1 var(--c-mono);
  letter-spacing: .08em;
}

html[lang] body #main-content .aud-point h3 {
  margin: .7rem 0 .45rem;
  color: #fff;
  font-size: clamp(1.15rem, 1.35vw, 1.3rem);
}

html[lang] body #main-content .aud-point p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  line-height: 1.6;
}

/* FAQ: question cards, first one open */
.aud-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

html[lang] body #main-content .aud-faq h2 {
  max-width: 14ch;
  margin: 1rem 0;
}

html[lang] body #main-content .aud-faq__intro p:not(.eyebrow) {
  margin: 0 0 1.25rem;
  color: #3d5258;
  font-size: 1rem;
}

.aud-faq__list {
  display: grid;
  gap: .6rem;
}

html[lang] .aud-faq__list details {
  border: 1px solid rgba(21, 40, 46, .08);
  border-radius: 16px;
  background: #fff;
  transition: border-color .25s var(--r-ease), box-shadow .25s var(--r-ease);
}

html[lang] .aud-faq__list details[open] {
  border-color: rgba(0, 129, 157, .35);
  box-shadow: 0 1rem 2rem -1.5rem rgba(0, 49, 61, .35);
}

html[lang] .aud-faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  color: var(--c-ink);
  font: 500 1.05rem/1.4 'Inter Display', 'Inter', sans-serif;
  list-style: none;
  cursor: pointer;
}

html[lang] .aud-faq__list summary::-webkit-details-marker {
  display: none;
}

html[lang] .aud-faq__list summary:focus-visible {
  border-radius: 16px;
  outline: 2px solid var(--c-accent-on-light);
  outline-offset: 2px;
}

.aud-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0, 129, 157, .1);
  transition: background-color .25s var(--r-ease);
}

.aud-faq__icon::before,
.aud-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: .7rem;
  height: 2px;
  margin: -1px 0 0 -.35rem;
  border-radius: 2px;
  background: var(--c-ink-teal);
  transition: transform .25s var(--r-ease), background-color .25s var(--r-ease);
}

.aud-faq__icon::after {
  transform: rotate(90deg);
}

details[open] .aud-faq__icon {
  background: var(--c-ink-teal);
}

details[open] .aud-faq__icon::before,
details[open] .aud-faq__icon::after {
  background: #fff;
}

details[open] .aud-faq__icon::after {
  transform: rotate(0deg);
}

html[lang] .aud-faq__list details > div {
  padding: 0 1.25rem 1.2rem;
}

html[lang] body #main-content .aud-faq__list details p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0;
  color: #3d5258;
  font-size: .98rem;
  line-height: 1.65;
}

@media (max-width: 66rem) {
  .aud-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .aud-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[lang] body #main-content p.aud-switch__label:not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .aud-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aud-grid > .aud-card,
  .aud-grid--5 > .aud-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .aud-grid--5 > .aud-card:last-child {
    grid-column: 1 / -1;
  }

  .aud-support__grid,
  .aud-faq__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 48rem) {
  .aud-switch {
    grid-template-columns: 1fr;
    gap: .2rem;
    padding: .5rem;
  }

  html[lang] .aud-switch__item {
    padding: .7rem .8rem;
  }

  .aud-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .aud-grid {
    grid-template-columns: 1fr;
  }

  .aud-grid--5 > .aud-card:last-child {
    grid-column: auto;
  }

  .aud-points {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .aud-feature {
    grid-template-columns: 1fr;
  }

  .aud-feature__media {
    min-height: 12rem;
  }

  html[lang] .aud-faq__list summary {
    padding: 1rem;
    font-size: 1rem;
  }

  html[lang] .aud-faq__list details > div {
    padding: 0 1rem 1.1rem;
  }
}

/* ---------- Navigation: company profile PDF ---------- */

.nav-pdf {
  display: inline-block;
  margin-left: .4rem;
  padding: .2rem .4rem;
  border: 1px solid rgba(0, 195, 237, .55);
  border-radius: 6px;
  color: var(--c-accent);
  font: 600 .62rem/1 var(--c-mono);
  letter-spacing: .06em;
  vertical-align: .15em;
}

@media (max-width: 66rem) {
  .nav-pdf {
    font-size: .75rem;
    vertical-align: .3em;
  }
}

html[lang] .site-nav .header-contact {
  white-space: nowrap;
}

/* Narrow desktops: five links, search and Contact Us still fit on one line */
@media (min-width: 66.001rem) and (max-width: 72rem) {
  html[lang] .site-nav__links {
    gap: .95rem;
  }

  html[lang] .site-nav__links a {
    font-size: .86rem;
  }

  html[lang] .header-actions {
    gap: .5rem;
  }
}

/* The ticker and the world map keep moving even when the device asks for
   reduced motion (client decision, Nov 2026; see autoplayMotion in site.js).
   These restore the timings that the global reduced-motion rule in styles.css cuts short. */
@media (prefers-reduced-motion: reduce) {
  .m-marquee__track {
    animation-duration: 70s !important;
    animation-iteration-count: infinite !important;
  }

  html[lang] .v4-global--collaboration .v4-city-marker__halo {
    animation-duration: 16s !important;
    animation-iteration-count: infinite !important;
  }

  .mx-ripple {
    animation-duration: 3.2s !important;
    animation-iteration-count: infinite !important;
  }

  html[lang] .v4-global--collaboration .v4-city-marker__point {
    animation-duration: 3.4s !important;
    animation-iteration-count: infinite !important;
  }

  .mx-ready .mx-land {
    transition-duration: 1.2s !important;
  }

  .mx-ready .v4-map-region-halo {
    transition-duration: .9s, 1.1s !important;
  }

  .mx-ready .mx-route {
    transition-duration: 1.8s, .5s !important;
  }
}

/* 404: the short page still fills the screen down to the footer */
html[lang] .page-hero--404 {
  display: flex;
  align-items: center;
  min-height: max(20rem, calc(100svh - var(--r-header-h) - 22rem));
}
