/* ==========================================================================
   Kaiveo: Design System & Site Styles
   China → Europe life-science consulting
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --navy-950: #06121f;
  /* The hero's own field. Flat, and slightly lighter and bluer than navy-950,
     which is still the colour of every other dark band on the site. */
  --navy-hero: #0b1624;
  --navy-900: #0a1b30;
  --navy-800: #0f2a4a;
  --navy-700: #173a63;
  --navy-600: #1f4d80;
  --teal-600: #107567;   /* text-safe on light: 5.58:1 on white */
  --teal-650: #15897a;   /* decorative fills only */
  --teal-500: #1aa392;
  --teal-400: #2fc2ad;
  --teal-300: #7fe0cf;
  --teal-100: #dff7f2;
  --gold-500: #d9a441;
  --gold-300: #f0d08a;

  /* Neutrals */
  --ink: #0d1626;
  --ink-2: #2a3646;
  --slate: #5b6b80;
  --slate-2: #697887;
  --line: #e3e9f0;
  --line-2: #cfd8e3;
  --num-watermark: #7f97b5;   /* 3.02:1 on white, for the large .card-num glyphs */
  --mist: #f5f8fb;
  --mist-2: #eaf0f6;
  --white: #ffffff;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-display-latin: 'Fraunces', 'Iowan Old Style', Georgia, serif;  /* never swapped for a CJK face */
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & motion */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(10, 27, 48, .06);
  --shadow-md: 0 14px 40px rgba(10, 27, 48, .10);
  --shadow-lg: 0 30px 80px rgba(10, 27, 48, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
/* The slide-in reveals start 26px to one side and .score-card leans out of its
   column, so for the length of an animation the page is a few pixels wider
   than the viewport and phones get a horizontal scrollbar.

   Clipping it away was the first answer and it was wrong twice over. On the
   body, `overflow-x: hidden` makes the body a scroll container, and every
   position: sticky on the site then sticks to a box that never scrolls --
   .side-nav, .score-card and .article-toc had all silently stopped working.
   On the root, `overflow-x: clip` does the same thing to sticky descendants.
   So the cause is removed instead: see the reveal rule in the responsive
   block, which makes the slide-ins rise rather than slide where there is no
   margin to absorb them. Nothing on the page is wider than the viewport once
   it has settled -- measured, not assumed. */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* No overflow here. It used to be `overflow-x: hidden`, which made the body a
     scroll container and silently disabled every position: sticky on the site
     -- .side-nav, .score-card and .article-toc all just scrolled away. The root
     rule above clips the horizontal axis without that side effect. */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .page-hero :focus-visible, .section-dark :focus-visible, .stats :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .mobile-nav :focus-visible, .card-dark :focus-visible,
.score-card :focus-visible, .side-cta :focus-visible, .mega-promo :focus-visible, .featured-insight :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--teal-300); }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 500;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-weight: 500;
}
.h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.h4 { font-size: 1.05rem; font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--slate); line-height: 1.7; }
.muted { color: var(--slate); }
.small { font-size: .88rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
/* teal-600, not teal-400: the accent sits on white in a couple of headings and
   teal-400 gives 2.22:1 there. Dark sections override this to teal-300 below. */
.accent { font-style: italic; color: var(--teal-600); font-weight: 400; }
.section-dark .accent, .hero .accent, .page-hero .accent, .cta-band .accent { color: var(--teal-300); }
.serif { font-family: var(--font-display); font-weight: 500; }

/* ---------- Layout helpers ---------- */
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .lead, .section-dark .muted { color: rgba(255,255,255,.7); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .h2 { margin: 18px 0 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head.split > div { max-width: 680px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.text-center { text-align: center; }
.stack { display: grid; gap: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s;
  white-space: nowrap; position: relative;
}
.btn svg, .btn i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg, .btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--teal-400); color: var(--navy-950); box-shadow: 0 8px 24px rgba(47,194,173,.30); }
.btn-primary:hover { background: var(--teal-300); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(47,194,173,.42); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-outline { color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy-900); transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .85rem; }
.btn-lg { padding: 18px 30px; font-size: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-600); font-size: .95rem; }
.link-arrow i, .link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover i, .link-arrow:hover svg { transform: translateX(5px); }
.section-dark .link-arrow, .stats .link-arrow, .hero .link-arrow, .page-hero .link-arrow, .card-dark .link-arrow, .cta-band .link-arrow, .site-footer .link-arrow, .score-card .link-arrow, .featured-insight .link-arrow { color: var(--teal-300); }

/* Icon element (filled by JS) */
i[data-icon] { display: inline-block; width: 1em; height: 1em; flex: none; }
i[data-icon] svg { width: 100%; height: 100%; }

/* ---------- Scroll progress & back-to-top ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal-500), var(--gold-500)); z-index: 200; transition: width .1s linear; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: #fff; display: grid; place-items: center; z-index: 90;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: .35s var(--ease); box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal-500); }
.to-top i { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff;
  transition: background .35s, box-shadow .35s, color .35s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; transition: height .35s; }
.site-header.is-scrolled {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10,27,48,.06);
  color: var(--ink);
}
.site-header.is-scrolled .header-inner { height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.logo .logo-mark { height: 36px; width: auto; flex: none; display: block; }
.logo small { font-family: var(--font-body); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .6; display: block; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .93rem; opacity: .85; transition: .25s; line-height: 1;
  white-space: nowrap;   /* "Market Entry" and "Case Studies" both broke across two lines */
}
/* Seven items, three of them with a dropdown chevron, is tight between the
   logo and the actions. Tighten the padding rather than shorten the labels. */
@media (max-width: 1340px) {
  .nav-link { padding: 10px 10px; font-size: .9rem; }
  .nav { gap: 0; }
}
.nav-link:hover, .nav-link.is-active { opacity: 1; background: rgba(255,255,255,.10); }
.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .nav-link.is-active { background: var(--mist-2); }
.nav-link i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-mega:not(.is-dismissed):hover > .nav-link i, .has-mega:not(.is-dismissed):focus-within > .nav-link i, .has-mega.is-open > .nav-link i { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px);
  width: 740px; background: #fff; color: var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); padding: 20px;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:not(.is-dismissed):hover .mega, .has-mega:not(.is-dismissed):focus-within .mega, .has-mega.is-open .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .25s, transform .4s var(--ease);
}
.mega-list { display: grid; gap: 2px; align-content: start; }
.mega-item { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; align-items: flex-start; }
.mega-item:hover { background: var(--mist); }
.mega-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; }
.mega-icon i { width: 20px; height: 20px; }
.mega-item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.mega-item span { font-size: .82rem; color: var(--slate); line-height: 1.45; display: block; }
.mega-promo {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: #fff; border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; overflow: hidden;
}
.mega-promo::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; bottom: -100px; background: radial-gradient(circle, rgba(47,194,173,.45), transparent 65%); }
.mega-promo .eyebrow { color: var(--teal-300); }
.mega-promo strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; margin: 10px 0 8px; line-height: 1.2; }
.mega-promo p { font-size: .85rem; color: rgba(255,255,255,.7); }
.mega-promo .link-arrow { color: var(--teal-300); position: relative; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .75rem; font-weight: 800; letter-spacing: .04em;
  transition: background .3s;
}
.site-header.is-scrolled .lang-toggle { background: var(--mist-2); }
.lang-toggle button { padding: 6px 10px; border-radius: 999px; opacity: .6; transition: .25s; }
.lang-toggle button.is-active { opacity: 1; background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.nav-toggle i { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-950); color: #fff;
  padding: 110px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--navy-950); color: #fff; box-shadow: none; }
.mobile-nav a, .mobile-nav .m-acc > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
.mobile-nav .m-acc > button i { width: 18px; height: 18px; transition: transform .3s; }
.mobile-nav .m-acc.is-open > button i { transform: rotate(180deg); }
.mobile-nav .m-sub { display: none; padding: 6px 0 12px 16px; }
.mobile-nav .m-acc.is-open .m-sub { display: block; }
.mobile-nav .m-sub a { font-size: 1rem; font-weight: 500; padding: 10px 0; border: 0; color: rgba(255,255,255,.75); }
.mobile-nav .btn { margin-top: 28px; justify-content: center; width: 100%; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy-hero); color: #fff; overflow: hidden; padding: 150px 0 110px;
  isolation: isolate;   /* contain the grain blend */
}
/* The map canvas. The drifting light layer it used to share is off -- see
   LIGHT_ON in js/main.js -- so this is the dot map and the flight arcs only. */
/* Full opacity: the 0.92 was holding the light layer back, and with that gone
   it was only costing the map 8% of itself. */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 1; }
/* The full-hero readability veil is defined with the responsive map styles below. */
/* Layer 2: fine grain. The hero is one flat colour over most of its area now,
   and a flat dark fill is exactly where banding shows; the grain breaks it up
   and gives the whole thing a photographic feel. */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 56px; align-items: center; }
.hero-copy .display { margin: 22px 0 24px; max-width: 640px; }
.hero-copy .lead { color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .8rem; font-weight: 600; }
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-400); display: grid; place-items: center; color: var(--navy-950); }
.hero-pill .dot i { width: 13px; height: 13px; }

/* Bridge visual */

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47,194,173,.35); }
.card-spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(47,194,173,.14), transparent 60%);
}
.card-spot:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-dark { background: var(--navy-900); color: #fff; border-color: rgba(255,255,255,.08); }
.card-dark:hover { border-color: rgba(47,194,173,.45); }
.card p { color: var(--slate); line-height: 1.7; }
/* Must follow .card p: same specificity, so order decides. When it sat above,
   every paragraph in a dark card rendered --slate on navy at 3.18:1. */
.card-dark p { color: rgba(255,255,255,.7); }
.card .h3 { margin-bottom: 12px; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 24px; transition: .4s var(--ease); }
.icon-badge i { width: 25px; height: 25px; }
.card:hover .icon-badge { background: var(--navy-900); color: var(--teal-300); transform: rotate(-6deg) scale(1.05); }
.card-dark .icon-badge { background: rgba(255,255,255,.08); color: var(--teal-300); }
/* The watermark numeral was --line-2, a border token, which gave 1.44:1 on
   white. It reads as decoration but it is still text conveying sequence, so
   it takes the lightest blue-grey that clears 3:1 at this size. */
.card-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--num-watermark); position: absolute; right: 26px; top: 20px; transition: color .4s; }
.card:hover .card-num { color: var(--teal-300); }

/* Value pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.pillar { padding: 40px 36px; position: relative; transition: background .3s; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { background: var(--mist); }
.pillar .num { font-family: var(--font-display); font-size: .95rem; color: var(--teal-600); letter-spacing: .1em; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.pillar .num::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.pillar .h3 { margin-bottom: 12px; }
.pillar p { color: var(--slate); line-height: 1.7; }

/* Service cards */
.service-card { display: flex; flex-direction: column; min-height: 100%; }
.service-card .reveal-list { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.service-card:hover .reveal-list, .service-card:focus-within .reveal-list { max-height: 260px; opacity: 1; margin-top: 18px; }
.service-card .reveal-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); padding: 6px 0; }
.service-card .reveal-list li i { width: 16px; height: 16px; color: var(--teal-600); margin-top: 4px; }
.service-card .link-arrow { margin-top: auto; padding-top: 22px; }
@media (hover: none) { .service-card .reveal-list { max-height: none; opacity: 1; margin-top: 18px; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.bento .span-2 { grid-column: span 2; }
.bento .row-2 { grid-row: span 2; }
.bento .card { display: flex; flex-direction: column; }
.bento .card .h3 { margin-top: auto; }
.bento .card p { margin-top: 10px; font-size: .95rem; }
.bento-visual { position: absolute; inset: 0; pointer-events: none; }
.bento-visual.map { background: radial-gradient(circle at 80% 30%, rgba(47,194,173,.25), transparent 45%); }
.tick-list { display: grid; gap: 10px; margin-top: 16px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.tick-list li i { width: 18px; height: 18px; color: var(--teal-600); flex: none; margin-top: 3px; }
.section-dark .tick-list li i { color: var(--teal-300); }

/* ---------- Journey (horizontal) ---------- */
.journey-ends { display: flex; justify-content: space-between; margin-top: 48px; padding: 0 2%; }
.end-badge { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem; }
.end-badge .mono { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .9rem; letter-spacing: .05em; }
.end-badge .mono.cn { background: var(--navy-900); color: #fff; }
.end-badge .mono.eu { background: var(--teal-400); color: var(--navy-950); }
/* Two destinations now, so the second arrival badge takes the gold accent
   the map already uses for arrivals. */
.end-badge .mono.us { background: var(--gold-500); color: var(--navy-950); }
.end-badge span small { display: block; font-weight: 500; color: var(--slate); font-size: .78rem; }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.journey-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 3px; background: var(--line-2); border-radius: 3px; }
.journey-track::after {
  content: ""; position: absolute; left: 10%; top: 30px; height: 3px; border-radius: 3px;
  width: var(--progress, 0%); max-width: 80%;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500)); transition: width .8s var(--ease);
}
.journey-node { position: relative; text-align: center; z-index: 1; padding: 0 6px; }
.journey-node .dot {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-2); font-family: var(--font-display); font-size: 1.15rem; color: var(--slate);
  transition: .4s var(--ease); position: relative;
}
.journey-node .dot i { width: 24px; height: 24px; }
.journey-node.is-done .dot { border-color: var(--teal-500); color: var(--teal-600); background: var(--teal-100); }
.journey-node.is-active .dot { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 9px rgba(47,194,173,.18), 0 14px 30px rgba(10,27,48,.2); }
.journey-node:hover .dot { border-color: var(--teal-500); }
.journey-node strong { display: block; font-size: .95rem; transition: color .3s; }
.journey-node.is-active strong { color: var(--teal-600); }
.journey-node span { font-size: .78rem; color: var(--slate); display: block; margin-top: 2px; }
.journey-panel { margin-top: 44px; background: var(--mist); border-radius: var(--radius-lg); padding: 44px; position: relative; overflow: hidden; }
.journey-panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(47,194,173,.18), transparent 65%); pointer-events: none; }
.journey-stage { display: none; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; position: relative; }
.journey-stage.is-active { display: grid; animation: fadeUp .55s var(--ease); }
.journey-stage .stage-label { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.journey-stage h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; margin-bottom: 14px; letter-spacing: -.01em; }
.journey-stage p { color: var(--slate); line-height: 1.75; }
.stage-box { background: #fff; border-radius: 18px; padding: 26px 28px; border: 1px solid var(--line); }
.stage-box .mini-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; font-weight: 800; }
.stage-box li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; align-items: flex-start; }
.stage-box li:last-child { border: 0; }
.stage-box li i { width: 16px; height: 16px; color: var(--teal-600); margin-top: 4px; flex: none; }
.journey-controls { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.journey-controls .progress { flex: 1; height: 3px; background: var(--line-2); border-radius: 3px; overflow: hidden; max-width: 220px; }
.journey-controls .progress span { display: block; height: 100%; width: 0; background: var(--teal-500); }
.journey-controls .progress.is-running span { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.journey-controls button.ctrl { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .3s; background: #fff; }
.journey-controls button.ctrl:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.journey-controls button.ctrl i { width: 16px; height: 16px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Tabs (industries) ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--mist-2); border-radius: 999px; }
.tab { padding: 11px 24px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--slate); transition: .3s; display: inline-flex; gap: 8px; align-items: center; }
.tab i { width: 16px; height: 16px; }
.tab.is-active { background: #fff; color: var(--navy-900); box-shadow: 0 4px 14px rgba(10,27,48,.08); }
.tab-panels { margin-top: 44px; position: relative; }
/* Without JS every panel is shown, stacked: the tabs are an enhancement, not
   the only way to the content. initTabs() sets .is-active and hidden. */
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-panel + .tab-panel { margin-top: 56px; }
.js .tab-panel { display: none; margin-top: 0; }
.js .tab-panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }
.tab-panel .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 16px; }
.tab-panel p { color: var(--slate); line-height: 1.75; }
.tab-panel .tick-list { margin: 22px 0 28px; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(47,194,173,.18), transparent 60%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { padding: 28px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); transition: .3s; }
.stat:hover { border-color: rgba(47,194,173,.4); background: rgba(255,255,255,.05); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--teal-300); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 2px; }
.stat .num .suffix { font-size: .45em; color: var(--gold-300); }
.stat p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: .95rem; }
.stats-note { margin-top: 28px; font-size: .8rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 10px; position: relative; }

/* ---------- Case study cards ---------- */
.case-card { padding: 0; display: flex; flex-direction: column; }
.case-visual { height: 190px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.case-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.035) 14px 28px); }
.case-visual::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -110px; background: radial-gradient(circle, rgba(47,194,173,.5), transparent 65%); transition: transform .6s var(--ease); }
.case-card:hover .case-visual::after { transform: scale(1.4); }
.case-visual.v2 { background: linear-gradient(135deg, var(--teal-600), var(--navy-800)); }
.case-visual.v3 { background: linear-gradient(135deg, var(--navy-700), #2c2a55); }
.case-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--mist-2); color: var(--navy-800); }
.tag.teal { background: var(--teal-100); color: var(--teal-600); }
.case-body .h3 { font-size: 1.15rem; margin-bottom: 10px; }
.case-body p { font-size: .92rem; flex: 1; }
.case-body .link-arrow { margin-top: 18px; }
.case-metrics { display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-metrics div strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900); }
.case-metrics div span { font-size: .75rem; color: var(--slate); }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .7s var(--ease); }
.slide { flex: 0 0 100%; padding: 6px; }
.quote-card { background: #fff; border-radius: 26px; padding: 52px 56px; border: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start; }
/* Decorative ornament, aria-hidden in the markup, so WCAG 1.4.3 does not apply. */
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: .7; color: var(--teal-300); font-weight: 600; user-select: none; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); font-weight: 400; }
.quote-card figcaption { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.avatar-ph { width: 48px; height: 48px; border-radius: 50%; background: var(--mist-2); border: 1px dashed var(--line-2); display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--slate); }
.quote-card figcaption strong { display: block; font-size: .95rem; }
.quote-card figcaption span { font-size: .82rem; color: var(--slate); }
.carousel-nav { display: flex; gap: 14px; justify-content: center; margin-top: 28px; align-items: center; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .3s; background: #fff; }
.carousel-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.carousel-btn i { width: 18px; height: 18px; }
.carousel-btn.prev i { transform: rotate(180deg); }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: .35s var(--ease); }
.dots button.is-active { width: 26px; background: var(--teal-500); }

/* ---------- Insight cards ---------- */
.insight-card { padding: 0; display: flex; flex-direction: column; }
.insight-visual { height: 180px; background: var(--mist-2); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--slate); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.insight-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(10,27,48,.035) 12px 24px); }
.insight-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.insight-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--slate); margin-bottom: 12px; }
.insight-meta .tag { margin: 0; }
.insight-body .h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; }
.insight-body p { font-size: .9rem; flex: 1; }
.insight-body .link-arrow { margin-top: 16px; font-size: .88rem; }
.featured-insight { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 26px; overflow: hidden; background: var(--navy-900); color: #fff; }
.featured-insight .img-ph { border-radius: 0; border: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px), linear-gradient(135deg, var(--navy-700), var(--navy-950)); color: rgba(255,255,255,.5); min-height: 340px; }
.featured-insight .img-ph::before { border-color: rgba(255,255,255,.12); }
.featured-insight .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-insight .h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 14px 0 14px; }
.featured-insight p { color: rgba(255,255,255,.7); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; color: var(--slate); transition: .25s; background: #fff; }
.filter:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.is-filtered-out { display: none !important; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 0 0 112px; }
.cta-band { position: relative; background: var(--navy-950); color: #fff; border-radius: 32px; padding: 88px 64px; overflow: hidden; text-align: center; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(47,194,173,.28) 60deg, transparent 120deg, rgba(217,164,65,.16) 200deg, transparent 260deg, rgba(31,77,128,.5) 320deg, transparent 360deg);
  animation: spin 24s linear infinite;
}
.cta-band::after { content: ""; position: absolute; inset: 1px; border-radius: 31px; background: radial-gradient(80% 100% at 50% 100%, rgba(10,27,48,.2), var(--navy-950) 70%); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band .h2 { max-width: 760px; margin: 18px auto 18px; font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-band .lead { color: rgba(255,255,255,.7); max-width: 620px; margin-inline: auto; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.cta-band .eyebrow { color: var(--teal-300); }
.cta-band .eyebrow.center { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 88px 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(47,194,173,.5), transparent); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin: 20px 0 26px; max-width: 340px; font-size: .95rem; line-height: 1.7; }
.newsletter { display: flex; gap: 8px; max-width: 380px; }
.newsletter input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .9rem; min-width: 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--teal-400); }
.footer-col h2 { color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 800; }
.footer-col a { display: block; padding: 6px 0; font-size: .92rem; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--teal-300); transform: translateX(3px); }
.footer-col address { font-style: normal; font-size: .9rem; line-height: 1.7; }
.footer-col address + address { margin-top: 16px; }
.footer-col address strong { color: #fff; display: block; font-size: .85rem; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: .82rem; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: .3s; }
.social a:hover { background: var(--teal-400); color: var(--navy-950); border-color: var(--teal-400); }
.social a i { width: 16px; height: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-950); color: #fff; padding: 176px 0 96px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(47,194,173,.22), transparent 62%),
    radial-gradient(40% 50% at 5% 100%, rgba(31,77,128,.5), transparent 62%);
}
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent 70%); mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { width: 12px; height: 12px; opacity: .6; }
.page-hero .display { max-width: 820px; margin: 18px 0 22px; font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 680px; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; }
.hero-facts { display: grid; gap: 12px; }
.fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: .3s; }
.fact:hover { border-color: rgba(47,194,173,.5); transform: translateX(4px); }
.fact span { font-size: .85rem; color: rgba(255,255,255,.7); }
.fact strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-300); font-weight: 500; white-space: nowrap; }
.page-hero .hero-actions { margin-top: 32px; }

/* ---------- Detail layout (services / industries) ---------- */
.detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.side-nav { position: sticky; top: 104px; display: grid; gap: 18px; }
.side-nav-list { background: var(--mist); border-radius: 20px; padding: 12px; }
.side-nav-list .mini-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); padding: 10px 14px 8px; font-weight: 800; }
.side-nav-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: .25s; }
.side-nav-list a i { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: .25s; }
.side-nav-list a:hover { background: #fff; }
.side-nav-list a:hover i, .side-nav-list a.is-current i { opacity: 1; transform: none; }
.side-nav-list a.is-current { background: var(--navy-900); color: #fff; }
.side-cta { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: #fff; border-radius: 20px; padding: 26px; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; right: -70px; bottom: -90px; background: radial-gradient(circle, rgba(47,194,173,.45), transparent 65%); }
.side-cta strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; margin-bottom: 8px; line-height: 1.25; }
.side-cta p { font-size: .86rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.side-cta .btn { position: relative; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 64px 0 20px; font-weight: 500; letter-spacing: -.01em; }
.prose > h2:first-child, .prose > .eyebrow:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 10px; }
.prose p { color: var(--ink-2); line-height: 1.8; margin-bottom: 16px; font-size: 1.03rem; }
.prose .lead { font-size: 1.2rem; color: var(--slate); }
.prose .eyebrow + h2 { margin-top: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .35s var(--ease); display: flex; gap: 16px; align-items: flex-start; }
.feature:hover { border-color: var(--teal-400); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature .f-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; }
.feature .f-icon i { width: 20px; height: 20px; }
.feature strong { display: block; margin-bottom: 6px; font-size: .98rem; }
.feature p { font-size: .9rem; color: var(--slate); margin: 0; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 999px; background: var(--mist-2); font-size: .82rem; font-weight: 700; color: var(--navy-800); transition: .25s; border: 1px solid transparent; }
.chip:hover { background: #fff; border-color: var(--teal-400); color: var(--teal-600); }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 26px; border-radius: 18px; background: var(--mist); align-items: start; transition: .3s; }
.step:hover { background: var(--mist-2); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.7rem; color: var(--teal-600); line-height: 1; }
.step strong { display: block; margin-bottom: 4px; }
.step p { font-size: .92rem; color: var(--slate); margin: 0; }
.callout { border-left: 3px solid var(--teal-500); background: var(--teal-100); padding: 22px 26px; border-radius: 0 16px 16px 0; margin: 28px 0; }
.callout p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.callout strong { color: var(--teal-600); }

/* ---------- FAQ / accordion ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-weight: 700; font-size: 1.05rem; gap: 20px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-600); }
.faq summary .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .35s var(--ease); flex: none; }
.faq summary .plus i { width: 16px; height: 16px; }
.faq details[open] summary .plus { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: rotate(45deg); }
.faq details .faq-body { padding: 0 0 26px; color: var(--slate); line-height: 1.75; max-width: 780px; animation: fadeUp .4s var(--ease); }

/* ---------- Vertical stepper (market entry) ---------- */
.stepper { position: relative; display: grid; gap: 28px; }
.stepper::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: var(--line-2); }
.stepper::after { content: ""; position: absolute; left: 33px; top: 30px; width: 2px; height: var(--sp, 0%); max-height: calc(100% - 60px); background: linear-gradient(var(--teal-500), var(--gold-500)); transition: height .6s var(--ease); }
/* minmax(0,1fr), not 1fr: a plain 1fr is minmax(auto,1fr), so a long
   unbreakable label inside the card pushes the column, and the page, wider
   than the phone. The Chinese build hit this first. */
.stepper-item { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 28px; position: relative; }
.stepper-num { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.35rem; color: var(--slate); position: relative; z-index: 1; transition: .5s var(--ease); }
.stepper-item.is-visible .stepper-num { border-color: var(--teal-500); color: var(--teal-600); box-shadow: 0 0 0 8px rgba(47,194,173,.12); background: var(--teal-100); }
.stepper-body { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px; transition: .4s var(--ease); }
.stepper-item:hover .stepper-body { box-shadow: var(--shadow-md); border-color: rgba(47,194,173,.4); }
.stepper-body .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.stepper-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.stepper-body .dur { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--mist-2); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.stepper-body p { color: var(--slate); line-height: 1.75; }
.stepper-body .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.stepper-body .mini-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; font-weight: 800; }
.stepper-body .tick-list { margin-top: 0; gap: 6px; }
.stepper-body .tick-list li { font-size: .9rem; }

/* ---------- Readiness check ---------- */
.readiness { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.check-list { display: grid; gap: 10px; }
.check { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: .25s; }
.check:hover { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .txt { font-weight: 600; font-size: .95rem; }
.check .txt small { display: block; font-weight: 500; color: var(--slate); font-size: .8rem; margin-top: 2px; }
.check .switch { width: 46px; height: 27px; border-radius: 999px; background: var(--line-2); position: relative; transition: .3s; flex: none; }
.check .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.check input:checked ~ .switch { background: var(--teal-500); }
.check input:checked ~ .switch::after { transform: translateX(19px); }
.check input:focus-visible ~ .switch { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.check:has(input:checked) { border-color: var(--teal-400); background: #fbfefd; }
.score-card { position: sticky; top: 110px; background: var(--navy-900); color: #fff; border-radius: 26px; padding: 40px 34px; text-align: center; overflow: hidden; }
.score-card::before { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 80%; background: radial-gradient(ellipse, rgba(47,194,173,.25), transparent 65%); }
.score-ring { --p: 0; width: 176px; height: 176px; border-radius: 50%; margin: 0 auto 22px; background: conic-gradient(var(--teal-400) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); display: grid; place-items: center; transition: --p .8s var(--ease); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--navy-900); }
.score-ring strong { position: relative; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.score-ring strong small { font-size: .35em; color: rgba(255,255,255,.5); display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.score-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; position: relative; }
.score-card p { color: rgba(255,255,255,.7); font-size: .92rem; position: relative; min-height: 70px; }
.score-card .btn { margin-top: 22px; position: relative; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 44px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { font: inherit; font-size: .95rem; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: .2s; width: 100%; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:not([type=checkbox]):not([type=radio]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(47,194,173,.18); }
.field.full { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: .2s; white-space: nowrap; }
.checks input { accent-color: var(--teal-500); margin: 0; }
.checks label:hover { border-color: var(--teal-400); }
.checks label:has(input:checked) { background: var(--teal-100); border-color: var(--teal-400); color: var(--teal-600); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--slate); font-weight: 500 !important; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--teal-500); width: 16px; height: 16px; flex: none; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; animation: fadeUp .5s var(--ease); }
.form-success .icon-badge { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; }
.form-success .icon-badge i { width: 32px; height: 32px; }
/* The honest counterparts of .form-success: one for "there is no backend
   wired up yet", one for "the backend was there and the request failed".
   Both borrow the success panel's layout and swap the colour. */
.form-notice, .form-error { display: none; text-align: center; padding: 40px 20px; }
.form-notice.is-visible, .form-error.is-visible { display: block; animation: fadeUp .5s var(--ease); }
.form-notice .icon-badge, .form-error .icon-badge { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; }
.form-notice .icon-badge i, .form-error .icon-badge i { width: 32px; height: 32px; }
.icon-badge.warn { background: rgba(217,164,65,.14); color: #7d560c; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: .3s; }
.info-card:hover { border-color: var(--teal-400); transform: translateX(4px); }
.info-card .icon-badge { margin: 0; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.info-card .icon-badge i { width: 21px; height: 21px; }
.info-card strong { display: block; margin-bottom: 4px; }
.info-card p { font-size: .9rem; color: var(--slate); line-height: 1.6; }
.offices-grid { grid-template-columns: 1fr 1.4fr; align-items: stretch; }
.map-ph { min-height: 360px; border-radius: 26px; position: relative; overflow: hidden; background: var(--navy-900); color: rgba(255,255,255,.6); display: grid; place-items: center; text-align: center; padding: 30px; }
.map-ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; }
.map-ph::after { content: ""; position: absolute; width: 60%; height: 2px; top: 50%; left: 20%; background: linear-gradient(90deg, transparent, var(--teal-400), transparent); }
.map-ph .pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 8px rgba(47,194,173,.2), 0 0 24px var(--teal-400); }
.map-ph .pin.a { left: 22%; top: 48%; } .map-ph .pin.b { right: 20%; top: 50%; }
.map-ph .pin span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .75rem; font-weight: 700; color: #fff; }
.map-ph .label { position: relative; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Team / offices / values ---------- */
.team-card { text-align: center; padding: 34px 26px; }
.team-avatar { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 20px; background: var(--mist-2); border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--slate); font-weight: 800; font-size: .8rem; letter-spacing: .06em; transition: .4s var(--ease); position: relative; overflow: hidden; }
.team-avatar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(47,194,173,.2), transparent); opacity: 0; transition: .4s; }
.team-card:hover .team-avatar { transform: scale(1.05); border-color: var(--teal-400); }
.team-card:hover .team-avatar::after { opacity: 1; }
.team-card strong { display: block; font-size: 1.05rem; }
.team-card span { display: block; font-size: .85rem; color: var(--teal-600); font-weight: 700; margin: 4px 0 10px; }
.team-card p { font-size: .88rem; }
.value-item { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: .35s var(--ease); }
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(47,194,173,.4); }
.value-item .num { font-family: var(--font-display); color: var(--teal-600); font-size: 1rem; margin-bottom: 18px; letter-spacing: .1em; }
.value-item strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.value-item p { font-size: .92rem; color: var(--slate); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 56px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line-2); }
.tl-item { position: relative; padding: 36px 24px 0 0; }
.tl-item::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--teal-500); box-shadow: 0 0 0 6px rgba(47,194,173,.15); }
.timeline-2 { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin-top: 40px; }
.timeline-2::before { display: none; }
.timeline-2 .tl-item { padding-left: 32px; padding-top: 0; }
.timeline-2 .tl-item::before { top: 6px; }
.tl-item .year { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); margin-bottom: 6px; }
.tl-item p { font-size: .9rem; color: var(--slate); }
.statement { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; font-weight: 400; color: var(--ink); letter-spacing: -.01em; }
.statement .accent { color: var(--teal-500); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .h2 { margin: 16px 0 20px; }
.split p + p { margin-top: 14px; }

/* ---------- Placeholder helpers ---------- */
.ph-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(217,164,65,.14); color: #7d560c; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed rgba(217,164,65,.6); vertical-align: middle; line-height: 1.4; }
.section-dark .ph-tag, .stats .ph-tag, .hero .ph-tag, .page-hero .ph-tag, .card-dark .ph-tag, .cta-band .ph-tag, .site-footer .ph-tag, .score-card .ph-tag, .featured-insight .ph-tag { color: var(--gold-300); background: rgba(240,208,138,.1); border-color: rgba(240,208,138,.5); }
.ph { color: var(--slate); font-style: italic; border-bottom: 1px dashed var(--line-2); }
.section-dark .ph, .stats .ph, .hero .ph, .page-hero .ph, .card-dark .ph, .cta-band .ph, .site-footer .ph, .score-card .ph, .featured-insight .ph { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.3); }
.img-ph { position: relative; border-radius: 22px; background: repeating-linear-gradient(135deg, var(--mist-2) 0 12px, var(--mist) 12px 24px); border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--slate); font-size: .82rem; font-weight: 700; letter-spacing: .06em; min-height: 280px; text-align: center; padding: 24px; overflow: hidden; }
.img-ph::before { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--line-2); border-radius: 14px; pointer-events: none; }
.img-ph span { position: relative; }
.img-ph small { display: block; font-weight: 500; letter-spacing: 0; margin-top: 6px; color: var(--slate-2); }
.img-ph.tall { min-height: 460px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* The hero is the first thing on the page and there is nothing to scroll into
   view, so animating it in only delays the headline: with the stagger the last
   line landed 1.26s after paint, and any hiccup in the JS left the hero blank.
   The same is true of the hero on every inner page, so both render immediately.
   Scoped to .hero, not .hero-copy: the discipline strip sits outside the copy
   column and went invisible the moment it moved. Everything below the fold
   still animates. */
.js .hero [data-reveal],
.js .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-2 { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .side-nav { position: static; grid-template-columns: 1fr 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .timeline::before { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .journey-track { grid-template-columns: 1fr; gap: 0; }
  .journey-track::before, .journey-track::after { left: 30px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .journey-track::after { height: var(--progress, 0%); width: 3px; max-width: none; max-height: 100%; background: linear-gradient(var(--teal-500), var(--gold-500)); transition: height .8s var(--ease); }
  .journey-node { display: grid; grid-template-columns: 62px 1fr; text-align: left; gap: 16px; align-items: center; padding: 10px 0; }
  .journey-node .dot { margin: 0; }
  .journey-ends { flex-direction: column; gap: 12px; padding: 0; }
  .journey-panel { padding: 28px; }
  .journey-stage { grid-template-columns: 1fr; gap: 24px; }
  .tab-panel { grid-template-columns: 1fr; gap: 28px; }
  .tabs { width: 100%; overflow-x: auto; }
  .quote-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 10px; }
  .quote-mark { font-size: 4rem; }
  .featured-insight { grid-template-columns: 1fr; }
  .featured-insight .body { padding: 32px; }
  .cta-band { padding: 64px 28px; border-radius: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .readiness { grid-template-columns: 1fr; }
  .score-card { position: static; }
  .stepper-body .cols { grid-template-columns: minmax(0, 1fr); }
  .stepper-item { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
  .stepper-num { width: 52px; height: 52px; font-size: 1.1rem; }
  .stepper::before, .stepper::after { left: 25px; }
  .stepper-body { padding: 24px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .offices-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .side-nav { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2, .bento .row-2 { grid-column: auto; grid-row: auto; }
  .hero { padding: 130px 0 90px; }
  .page-hero { padding: 140px 0 72px; }
  .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* Page-hero facts: allow wrapping */
  .fact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fact strong { white-space: normal; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .hero-actions .btn, .cta-band .actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .logo { font-size: 1.35rem; }
  .logo .logo-mark { height: 30px; }
  .header-actions .lang-toggle { display: none; }   /* the drawer carries one instead */
  .display { font-size: 2.3rem; }
  .page-hero .display { font-size: 2.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .to-top, .scroll-progress, .hero-canvas { display: none !important; }
  .hero, .page-hero, .section-dark, .stats, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 300; border: 1px solid rgba(255,255,255,.12); white-space: nowrap; max-width: calc(100% - 40px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Polish layer
   ========================================================================== */

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 400; background: var(--navy-950); color: #fff;
  padding: 14px 24px; border-radius: 0 0 14px 14px; font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-lg); transition: transform .25s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: translate(-50%, 0); outline-color: var(--teal-300); outline-offset: -4px; }
main:focus { outline: none; }

/* ---------- Small uppercase label (replaces label-only headings) ---------- */
.mini-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 800; }

/* ---------- Eyebrow on dark grounds ---------- */
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .stats .eyebrow,
.cta-band .eyebrow, .site-footer .eyebrow, .card-dark .eyebrow, .featured-insight .eyebrow,
.mega-promo .eyebrow, .side-cta .eyebrow { color: var(--teal-300); }

/* ---------- Text rendering refinements ---------- */
h1, h2, h3, .display, .h2, .statement, blockquote { text-wrap: balance; }
p, .lead, li { text-wrap: pretty; }
.ph, .fact strong, .case-metrics strong { overflow-wrap: anywhere; }
::selection { background: var(--teal-300); color: var(--navy-950); }
:root { accent-color: var(--teal-600); }

/* ---------- Anchor offset for in-page links ---------- */
[id] { scroll-margin-top: 104px; }

/* ---------- Press states ---------- */
.btn:active { transform: translateY(1px) scale(.985); }
.tab:active, .filter:active, .carousel-btn:active, .ctrl:active, .journey-node:active .dot { transform: scale(.97); }
.journey-node.is-active:active .dot { transform: scale(1.08); }

/* ---------- Card polish ---------- */
.card, .feature, .value-item, .info-card, .stepper-body { will-change: transform; }
.card:focus-within { border-color: rgba(47,194,173,.45); box-shadow: var(--shadow-sm); }
.form-card:focus-within { box-shadow: var(--shadow-md); }

/* ---------- Placeholder visuals ---------- */
.img-ph { color: var(--slate); }
.img-ph small { color: var(--slate-2); }
.insight-visual, .case-visual { user-select: none; }

/* ---------- Coming-soon links ---------- */
a[data-soon] { cursor: default; }
a[data-soon] .link-arrow, a[data-soon] .tag { pointer-events: none; }

/* ---------- Journey / tab panels: reserve height to stop layout jump ------ */
.journey-panel, .tab-panels { transition: min-height .45s var(--ease); }

/* ---------- Scrollbar ---------- */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--mist); }
  ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; border: 3px solid var(--mist); }
  ::-webkit-scrollbar-thumb:hover { background: var(--slate-2); }
}

/* ---------- Reduced motion additions ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn:active, .tab:active, .filter:active { transform: none; }
  .journey-panel, .tab-panels { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .skip-link, .carousel-nav, .journey-controls, .filters, .tabs { display: none !important; }
  .card, .feature, .stepper-body { break-inside: avoid; border: 1px solid #ccc !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

/* ---------- Bare SVG icons emitted by partials.js -------------------------
   partials.js injects <svg> directly rather than the <i data-icon> wrapper
   used in page markup, so these need the same explicit sizing. */
.nav-link > svg { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.has-mega:not(.is-dismissed):hover > .nav-link > svg,
.has-mega:not(.is-dismissed):focus-within > .nav-link > svg,
.has-mega.is-open > .nav-link > svg { transform: rotate(180deg); }
.mega-icon > svg { width: 20px; height: 20px; }
.mega-item .link-arrow > svg, .mega-promo .link-arrow > svg { width: 16px; height: 16px; flex: none; }
.social a > svg { width: 16px; height: 16px; flex: none; }
.mobile-nav .m-acc > button > svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.mobile-nav .m-acc.is-open > button > svg { transform: rotate(180deg); }
.mobile-nav > a > svg, .mobile-nav .btn > svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 820px) {
  .hero-canvas { opacity: .82; }
}

/* ---------- Industry motion graphics ---------------------------------------
   The three panels under "Specialised support for every product type" used to
   hold grey image placeholders. Each now carries a small animated SVG drawn
   from the same palette as the hero: a capsule in a turning molecular lattice
   for pharma, a double helix for biotech, a device under inspection for
   medical devices.

   Everything moves in CSS, so there is no script and no requestAnimationFrame
   loop. Only the open tab's panel is in the layout, and a `display: none`
   subtree runs no animations, so at most one of the three is ever ticking.

   The static SVG is authored as a finished illustration and the animation only
   adds movement on top. That matters for the reduced-motion rule at the end of
   this block, which stops the animations outright rather than freezing them at
   whatever keyframe happened to be current. */
.industry-viz {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 15%, rgba(31,77,128,.55), transparent 60%),
    linear-gradient(155deg, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
/* The same dot matrix the hero and page heroes use, so the panel reads as part
   of the same family rather than a pasted-in illustration. */
.industry-viz::after {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, transparent 30%, #000 100%);
  mask-image: radial-gradient(70% 70% at 50% 45%, transparent 30%, #000 100%);
}
.industry-viz .viz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Shared: rotate and scale about a point in the viewBox, not the element box. */
.pm-ring, .pm-ring-b, .pm-capsule, .pm-glow, .bt-glow { transform-box: view-box; }
.pm-ripple, .pm-node, .pm-sat, .pm-grain, .bt-cell, .dv-pad, .dv-bar, .dv-led, .dv-frame, .dv-body {
  transform-box: fill-box; transform-origin: center;
}

/* --- pharma --- */
.pm-ring   { transform-origin: 280px 230px; animation: pm-spin 54s linear infinite; }
.pm-ring-b { transform-origin: 280px 230px; animation: pm-spin 38s linear infinite reverse; }
.pm-capsule{ transform-origin: 280px 230px; animation: pm-float 7s ease-in-out infinite; }
.pm-glow   { transform-origin: 280px 230px; animation: pm-breathe 6s ease-in-out infinite; }
@keyframes pm-spin    { to { transform: rotate(360deg); } }
@keyframes pm-float   { 0%,100% { transform: translateY(0) rotate(0deg); }
                        50%     { transform: translateY(-10px) rotate(2.5deg); } }
@keyframes pm-breathe { 0%,100% { opacity: .75; transform: scale(1); }
                        50%     { opacity: 1;   transform: scale(1.07); } }

.pm-ripple { animation: pm-ripple 6s ease-out infinite; }
.pm-r2 { animation-delay: 2s; }
.pm-r3 { animation-delay: 4s; }
@keyframes pm-ripple { 0%   { transform: scale(.42); opacity: .55; }
                       70%  { opacity: .12; }
                       100% { transform: scale(1.55); opacity: 0; } }

.pm-node { animation: pm-pulse 3.4s ease-in-out infinite; }
.pm-n1 { animation-delay: .45s; } .pm-n2 { animation-delay: .9s; }
.pm-n3 { animation-delay: 1.35s; } .pm-n4 { animation-delay: 1.8s; } .pm-n5 { animation-delay: 2.25s; }
@keyframes pm-pulse { 0%,100% { transform: scale(1);   opacity: .75; }
                      50%     { transform: scale(1.35); opacity: 1; } }

.pm-sat { animation: pm-pulse 4.2s ease-in-out infinite; }
.pm-s1{animation-delay:.3s}.pm-s2{animation-delay:.6s}.pm-s3{animation-delay:.9s}
.pm-s4{animation-delay:1.2s}.pm-s5{animation-delay:1.5s}.pm-s6{animation-delay:1.8s}.pm-s7{animation-delay:2.1s}

/* Granules leaving the capsule as it dissolves. */
.pm-grain { animation: pm-grain 5s ease-out infinite; opacity: 0; }
.pm-g1 { animation-delay: .2s; } .pm-g2 { animation-delay: 1.4s; }
.pm-g3 { animation-delay: 2.6s; } .pm-g4 { animation-delay: 3.8s; }
@keyframes pm-grain { 0%   { transform: translate(0,0) scale(.5); opacity: 0; }
                      18%  { opacity: .95; }
                      100% { transform: translate(var(--gx, 56px), var(--gy, -72px)) scale(1.1); opacity: 0; } }
.pm-g1 { --gx: -74px; --gy: -52px; }
.pm-g2 { --gx:  68px; --gy: -78px; }
.pm-g3 { --gx:  84px; --gy:  38px; }
.pm-g4 { --gx: -58px; --gy:  76px; }

/* --- biotech --- */
/* The strands are drawn one period taller than the frame, so translating by
   exactly one period lands on an identical curve and the loop is invisible. */
.bt-helix { animation: bt-turn 9s linear infinite; }
@keyframes bt-turn { to { transform: translateY(200px); } }
.bt-glow { transform-origin: 280px 230px; animation: pm-breathe 9s ease-in-out infinite; }
.bt-cell { animation: bt-drift 16s ease-in-out infinite; }
.bt-c1 { animation-delay: 2.5s; } .bt-c2 { animation-delay: 5s; }
.bt-c3 { animation-delay: 7.5s; } .bt-c4 { animation-delay: 10s; }
@keyframes bt-drift { 0%,100% { transform: translateY(0)     scale(1);    opacity: .55; }
                      50%     { transform: translateY(-26px) scale(1.12); opacity: .9; } }

/* --- medical devices --- */
.dv-trace { animation: dv-flow 1.8s linear infinite; }
.dv-t1{animation-delay:.25s}.dv-t2{animation-delay:.5s}.dv-t3{animation-delay:.75s}
.dv-t4{animation-delay:1s}.dv-t5{animation-delay:1.25s}
@keyframes dv-flow { to { stroke-dashoffset: -36; } }

.dv-pad { animation: pm-pulse 2.4s ease-in-out infinite; }
.dv-p1{animation-delay:.3s}.dv-p2{animation-delay:.6s}.dv-p3{animation-delay:.9s}
.dv-p4{animation-delay:1.2s}.dv-p5{animation-delay:1.5s}

.dv-scan { animation: dv-scan 5s ease-in-out infinite alternate; }
@keyframes dv-scan { from { transform: translateY(0); } to { transform: translateY(258px); } }

/* pathLength is set to 300 on the trace, so these numbers are in those units
   rather than user units, and stay right if the waveform is ever redrawn. */
.dv-ecg { stroke-dasharray: 44 300; stroke-dashoffset: 344; animation: dv-ecg 2.8s linear infinite; }
@keyframes dv-ecg { to { stroke-dashoffset: 0; } }

.dv-bar { transform-origin: left center; animation: dv-bar 6s ease-in-out infinite; }
@keyframes dv-bar { 0%,100% { transform: scaleX(.45); } 50% { transform: scaleX(1); } }

.dv-led { animation: dv-led 2.2s ease-in-out infinite; }
@keyframes dv-led { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.dv-frame { animation: dv-frame 4.5s ease-in-out infinite; }
@keyframes dv-frame { 0%,100% { opacity: .3; } 50% { opacity: .7; } }

.dv-body { transform-origin: 280px 230px; animation: dv-body 8s ease-in-out infinite; }
@keyframes dv-body { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 900px) {
  .industry-viz { min-height: 360px; }
}

/* The global reduced-motion rule collapses every animation to 0.001ms, which
   would freeze these at their final keyframe: a dissolved capsule, a helix
   shifted off its loop point. Switching them off entirely instead leaves the
   SVG exactly as authored, which is a complete illustration on its own. */
@media (prefers-reduced-motion: reduce) {
  .industry-viz [class^="pm-"], .industry-viz [class^="bt-"], .industry-viz [class^="dv-"],
  .industry-viz [class*=" pm-"], .industry-viz [class*=" bt-"], .industry-viz [class*=" dv-"] {
    animation: none !important;
  }
  .pm-grain { opacity: .8; }
  .dv-ecg { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ---------- Hero layout on every desktop width -------------------------------
   The hero map carries three poles now, and the westmost of them is the US.
   206 degrees of longitude where two markets needed 106 does not fit beside a
   640px copy column at the scale the map had as a two-pole hero: the US pole
   lands about 190px behind the headline, which is how it was invisible in the
   first place. Shrinking the map to fit was the first answer and it cost a
   third of its size, which was immediately noticed.

   So the column is 460px at every desktop width, not just in the band between
   900 and 1250 where it started. That returns the map to 88% of its original
   scale with the vertical already at 100%, and costs the headline one line:
   four at 1600px rather than three. The type scale comes down to match the
   column -- a 70px headline in a 460px column wraps to five lines and runs the
   copy past the bottom of the hero.

   Below 900 the copy takes the full width and the map goes back to being a
   texture, which js/main.js calls narrow mode. Nothing here applies there, and
   nothing here is a number js/main.js knows: it measures .hero-copy and takes
   whatever is left. */
@media (min-width: 901px) {
  /* 520px, not 460. The column was squeezed to 460 to buy the map its width
     when the hero also had to hold three buttons, three chips and a strip.
     With only a headline and a claim left, 460 made a display headline wrap
     to four short lines with a bad rag, and left a quarter of the hero empty.
     The 60px costs the map about 9% of its horizontal scale, which it can
     afford: it is anisotropy-capped vertically either way, so it was never
     using the height it had. */
  .hero-grid { grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; }
  .hero-copy .display { font-size: clamp(2.5rem, 4.3vw, 4.1rem); max-width: 560px; }
  .hero-copy .lead { max-width: 520px; font-size: 1.14rem; line-height: 1.7; }
  .hero { padding: 120px 0 90px; }
  .hero-actions { gap: 10px; margin-top: 30px; }
  .hero-actions .btn { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  /* The horizontal slide-ins are what put a phone 8px wider than itself for the
     length of an animation. On a wide screen the gutter absorbs the 26px; at
     390 there is no gutter, so they rise instead. */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(26px); }
}

/* ---------- Two-market comparison -------------------------------------------
   Used on the four service pages. The point of the layout is that both markets
   are visible at once: a tab would hide half the proposition, and doing both is
   the proposition. .prose styles lists for body copy, so the tick-list needs
   its indent and marker back. */
.market-split { margin: 20px 0 10px; align-items: start; }
.market-split .card { padding: 26px 28px; }
.market-split .icon-badge { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; }
.market-split .icon-badge i { width: 21px; height: 21px; }
.prose .market-split h3 { margin: 0 0 6px; }
.prose .market-split .tick-list { padding-left: 0; margin: 14px 0 0; font-size: 1rem; }
.prose .market-split .tick-list li { margin-bottom: 0; font-size: .92rem; }
.prose .market-split .tick-list li::marker { content: none; }

/* ---------- Chinese typography ---------------------------------------------
   Neither Fraunces nor Manrope carries CJK glyphs, so the Chinese page falls
   back to the reader's system faces. Line height and tracking are loosened a
   little, since Han characters need more vertical room and no letterspacing. */
html[lang^="zh"] {
  /* --font-display-latin is deliberately NOT redefined here. */
  --font-display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC",
               "Microsoft YaHei", system-ui, sans-serif;
}
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] .display,
html[lang^="zh"] .h2,
html[lang^="zh"] .statement { letter-spacing: 0; line-height: 1.25; }
html[lang^="zh"] .h3, html[lang^="zh"] .h4 { letter-spacing: 0; line-height: 1.45; }
html[lang^="zh"] .eyebrow,
html[lang^="zh"] .mini-label,
html[lang^="zh"] .tag,
html[lang^="zh"] .footer-col h2 { letter-spacing: .06em; }
html[lang^="zh"] .accent { font-style: normal; }   /* italic CJK is a synthetic slant */
html[lang^="zh"] .lead { line-height: 1.85; }
html[lang^="zh"] .quote-card blockquote { line-height: 1.6; }

/* ---------- Long-form legal documents ---------------------------------------
   Privacy notice, legal notice and terms. They reuse .prose, which was built
   for service-page copy and so had no list, definition-list or inline-code
   rules; those are added here rather than inside .prose's own block so it
   stays obvious which pages introduced them. */
.page-hero-slim { padding: 150px 0 72px; }
.page-hero .container-narrow { position: relative; z-index: 1; }
.page-hero-slim .display { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.legal-meta { margin-top: 20px; font-size: .84rem; color: rgba(255,255,255,.55); letter-spacing: .02em; }
.legal-meta .ph { color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.3); }

.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; color: var(--ink-2); line-height: 1.8; font-size: 1.03rem; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--teal-600); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--mist-2); color: var(--navy-800); }
.prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }

/* Each clause gets a hairline above it so a reader scanning for one can see
   where the previous clause ended. */
.legal-doc h2 { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 52px; font-size: clamp(1.4rem, 2.1vw, 1.75rem); }
.legal-doc > h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { color: var(--navy-800); }
.legal-doc p strong { color: var(--navy-800); }

/* Label and value, side by side on a desktop, stacked on a phone. */
.legal-dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin: 0 0 20px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.legal-dl dt { font-weight: 700; font-size: .9rem; color: var(--navy-800); }
.legal-dl dd { margin: 0; font-size: .98rem; color: var(--ink-2); line-height: 1.6; }

/* A warning variant of the existing callout, in the gold used elsewhere for
   anything still waiting on the founders. */
.callout-warn { border-left-color: var(--gold-500, #d9a441); background: rgba(217,164,65,.1); }
.callout-warn strong, .callout-warn p { color: var(--ink-2); }

@media (max-width: 720px) {
  .legal-dl { grid-template-columns: 1fr; gap: 4px 0; padding: 20px; }
  .legal-dl dd { margin-bottom: 12px; }
  .legal-dl dd:last-child { margin-bottom: 0; }
  .page-hero-slim { padding: 132px 0 56px; }
}

/* The toggle itself always shows both labels in their own script. */
.lang-toggle button[data-lang="zh"] { font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }

/* Han characters carry far more stroke detail than Latin letterforms, so the
   sizes that read cleanly in Manrope turn to mush in a system Chinese face.
   Everything the English layout sets below ~13px is floored to 13px here.

   These carry !important, which nothing else in this stylesheet does. Several
   of the offenders take their size from an inline style attribute, and an
   inline style beats any selector; the alternative was editing markup in a
   dozen files to fix a problem that exists in one language. The rules are
   scoped to html[lang^="zh"], so they cannot affect the English site. */
html[lang^="zh"] .ph-tag,
html[lang^="zh"] .mini-label,
html[lang^="zh"] .tag,
html[lang^="zh"] .eyebrow,
html[lang^="zh"] .stage-label,
html[lang^="zh"] .footer-col h2,
html[lang^="zh"] .journey-node span,
html[lang^="zh"] .case-metrics div span,
html[lang^="zh"] .insight-meta span,
html[lang^="zh"] .insight-visual,
html[lang^="zh"] .case-visual,
html[lang^="zh"] .team-avatar,
html[lang^="zh"] .hero-pill,
html[lang^="zh"] .dur,
html[lang^="zh"] .txt small,
html[lang^="zh"] .quote-card figcaption span,
html[lang^="zh"] .filter,
html[lang^="zh"] .avatar-ph,
html[lang^="zh"] .side-nav-list .mini-label { font-size: .8125rem !important; letter-spacing: .04em; }
html[lang^="zh"] .case-facts dt,
html[lang^="zh"] .case-facts dd,
html[lang^="zh"] .case-attribution,
html[lang^="zh"] .case-snapshot-art > span,
html[lang^="zh"] .case-snapshot-outcome,
html[lang^="zh"] .case-cover-caption,
html[lang^="zh"] .case-experience,
html[lang^="zh"] .case-card--reviewed .case-card-outcome,
html[lang^="zh"] .case-card--reviewed .case-card-footer .link-arrow,
html[lang^="zh"] .case-study .article-toc a { font-size: .8125rem !important; letter-spacing: 0; }
html[lang^="zh"] .img-ph small,
html[lang^="zh"] .end-badge span small,
html[lang^="zh"] .map-ph .pin span,
html[lang^="zh"] .mobile-nav .lang-row > span,
html[lang^="zh"] .stack h3.h4,
html[lang^="zh"] .lang-toggle button { font-size: .8125rem !important; letter-spacing: 0; }
html[lang^="zh"] .legal-meta,
html[lang^="zh"] .stats-note,
html[lang^="zh"] .small { font-size: .875rem !important; }
/* Same synthetic-slant problem as .accent: a system CJK face has no italic. */
html[lang^="zh"] .ph { font-style: normal; }

/* ---------- Language switch inside the mobile drawer ------------------------
   Under 480px the header toggle is hidden for space, which left a phone
   visitor with no way to reach the Chinese site at all. The drawer carries
   its own copy; js/i18n.js binds every .lang-toggle button it finds, so both
   stay in step without any extra wiring. */
.mobile-nav .lang-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.mobile-nav .lang-row > span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.6); }
.mobile-nav .lang-toggle { display: inline-flex; }

/* The wordmark is the brand, not body copy, and the big figures are Fraunces's
   old-style numerals, which are part of the identity too. Both contain no Han
   characters in any language, so they keep the Latin display face rather than
   inheriting the CJK serif that --font-display becomes under zh. Until this
   existed the Chinese pages set "Kaiveo" in Songti SC. */
html[lang^="zh"] .logo,
html[lang^="zh"] .card-num,
html[lang^="zh"] .stat .num,
html[lang^="zh"] .journey-node { font-family: var(--font-display-latin); }

/* ---------- Articles --------------------------------------------------------
   One layout for every long-form insight piece: a dark hero, a sticky table of
   contents on the left and .prose on the right. The ToC links carry the exact
   text of the h2 they point at, which means the i18n dictionary translates both
   from a single key rather than two that can drift apart.
   ------------------------------------------------------------------------- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; color: rgba(255,255,255,.65); font-size: .85rem; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }
.article-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 56px; align-items: start; }

.article-toc { position: sticky; top: 104px; }
.article-toc h2 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px; font-weight: 700; }
.article-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.article-toc li { margin: 0; }
.article-toc a {
  display: block; padding: 8px 0 8px 15px; border-left: 2px solid var(--line);
  color: var(--slate); font-size: .85rem; line-height: 1.45; text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.article-toc a:hover { color: var(--teal-600); border-left-color: var(--line-2); }
.article-toc a.is-current { color: var(--navy-900); border-left-color: var(--teal-500); font-weight: 600; }

/* Figures. The infographics are inline SVG so they inherit the page's colours
   and stay sharp at any width; each one is sized by its viewBox alone. */
.figure { margin: 36px 0; }
.figure svg { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.figure figcaption { margin-top: 11px; font-size: .84rem; line-height: 1.6; color: var(--slate); }

/* Tables scroll inside their own box rather than widening the page: a 3-column
   comparison cannot be made to fit 390px without becoming unreadable. */
.table-wrap {
  margin: 30px 0; border: 1px solid var(--line); border-radius: 16px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* Scroll shadows. The two `local` gradients paint white over the edges and
     move with the content; the two `scroll` ones sit still underneath. The
     shadow is therefore only visible on a side that has more table to reach,
     which is the only affordance a phone gets that this scrolls. */
  background:
    linear-gradient(to right, var(--white) 30%, rgba(255,255,255,0)) left center / 44px 100% no-repeat local,
    linear-gradient(to left, var(--white) 30%, rgba(255,255,255,0)) right center / 44px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(10,27,45,.14), rgba(10,27,45,0)) left center / 15px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(10,27,45,.14), rgba(10,27,45,0)) right center / 15px 100% no-repeat scroll;
}
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.data-table caption { caption-side: top; text-align: left; padding: 16px 18px 0; font-size: .84rem; color: var(--slate); }
.data-table th, .data-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; color: var(--ink-2); }
.data-table thead th { background: var(--mist-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800); font-weight: 700; white-space: nowrap; }
.data-table tbody th { font-weight: 600; color: var(--navy-900); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td, .data-table tbody tr:hover th { background: var(--mist); }

/* Callouts: teal for what to remember, gold for what goes wrong. */
.callout h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); }
.callout-warn h3 { color: #8a6516; }
.callout .tick-list { margin: 0; gap: 8px; }
.callout .tick-list li { font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.callout + .callout { margin-top: -6px; }

/* Sources. Long official URLs break rather than widen the page. */
.sources { margin-top: 14px; padding-left: 20px; }
.sources li { font-size: .9rem; line-height: 1.65; color: var(--slate); margin-bottom: 10px; }
.sources a { overflow-wrap: anywhere; }

.article-cta { margin: 44px 0 0; padding: 30px 32px; border-radius: 20px; background: var(--navy-900); color: #fff; }
.article-cta h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: #fff; }
.article-cta p { color: rgba(255,255,255,.76); margin-bottom: 18px; font-size: .98rem; }
.article-cta .btn { margin-top: 2px; }

@media (max-width: 1000px) {
  /* Below the two-column layout the ToC becomes an ordinary box at the top of
     the article. Sticky would cover the text it is meant to navigate. */
  /* minmax(0,1fr), not 1fr: a plain 1fr is minmax(auto,1fr), so the 620px
     minimum width of a comparison table pushes the whole column -- and the
     page -- wider than the phone. */
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .article-toc { position: static; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--mist); }
  .article-toc a { padding: 7px 0 7px 13px; }
  .article-cta { padding: 26px 22px; }
}

/* Article cover art. Decorative only (aria-hidden): the card's own heading is
   the accessible name, and a cover with text in it would need translating. */
.insight-cover { height: 180px; overflow: hidden; background: var(--navy-950); }
.insight-cover svg { width: 100%; height: 100%; display: block; }
.featured-insight .insight-cover { height: 100%; min-height: 300px; border-radius: 0; }
a.insight-card .insight-cover svg, .insight-card .insight-cover svg { transition: transform .6s var(--ease); }
a.insight-card:hover .insight-cover svg { transform: scale(1.04); }

/* ---------- Article components ----------------------------------------------
   The long-form pieces are reference material people scan before they read, so
   the page has to carry its argument in objects as well as sentences: a summary
   to orient, steps to sequence, figures and tables to compare, callouts to warn
   and a pull-quote to mark the turn. All of them are translation units like any
   other text, so none of them may carry text inside an attribute.
   ------------------------------------------------------------------------- */
.summary-box {
  margin: 0 0 40px; padding: 26px 30px; border-radius: 20px;
  background: linear-gradient(140deg, var(--teal-100), var(--mist));
  border: 1px solid #cfe8e3;
}
.summary-box h2 {
  margin: 0 0 14px !important; font-family: var(--font-body); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); font-weight: 700;
}
.summary-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.summary-box li {
  position: relative; padding-left: 26px; margin: 0;
  font-size: .98rem; line-height: 1.65; color: var(--ink-2);
}
.summary-box li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--teal-500);
}
.summary-box li strong { color: var(--navy-900); }

.pullquote {
  margin: 40px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--teal-500);
}
.pullquote p {
  margin: 0 !important; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.45; letter-spacing: -.01em;
  color: var(--navy-900);
}
.pullquote cite { display: block; margin-top: 12px; font-style: normal; font-size: .84rem; color: var(--slate); }

/* Callouts gain an icon row. The icon is decorative; the heading carries it. */
.callout .callout-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.callout .callout-head h3 { margin: 0 !important; }
.callout .callout-head i { width: 17px; height: 17px; color: var(--teal-600); flex: none; }
.callout-warn .callout-head i { color: #8a6516; }

@media (max-width: 700px) {
  .summary-box { padding: 22px 20px; border-radius: 16px; }
  .pullquote { margin: 30px 0; padding-left: 20px; }
}

/* ---------- Sector chips, founder, WeChat, offer card, mobile CTA ----------- */

/* M4: three equal sector entries under the hero CTAs. Equal width is the point
   -- the three sectors are equal, and a chip row that sizes to its labels
   quietly ranks them by name length. */
.sector-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; max-width: 520px; }
.sector-chips a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 10px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06);
  color: #fff; font-size: .86rem; font-weight: 600; line-height: 1.25;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.sector-chips a:hover { background: rgba(255,255,255,.12); border-color: rgba(127,224,207,.55); }
@media (max-width: 520px) { .sector-chips { grid-template-columns: minmax(0, 1fr); max-width: none; } }

/* S6: founder block. One person, stated plainly, with the specialist-role line
   that keeps the partner-network wording in front of the reader. */
.founder { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 28px; align-items: start; }
.founder img { width: 148px; height: 148px; border-radius: 20px; object-fit: cover; background: var(--mist-2); }
.founder .role { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); font-weight: 700; margin-bottom: 6px; }
.founder h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0 0 10px; }
.founder .roles-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); }
@media (max-width: 620px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 18px; } .founder img { width: 120px; height: 120px; } }

/* WeChat: a real QR box on contact, a small one in the footer. */
.wechat-box { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.wechat-box img { width: 132px; height: 132px; border-radius: 12px; background: #fff; }
.wechat-box .id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; }
.wechat-mini { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.62); }
.wechat-mini img { width: 64px; height: 64px; border-radius: 8px; background: rgba(255,255,255,.08); flex: none; }
@media (max-width: 520px) { .wechat-box { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

/* The contact sidebar is narrower than the full-width WeChat panels. */
#contactGrid #wechat { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: center; container: contact-wechat / inline-size; }
#contactGrid #wechat > strong { margin: 0; }
#contactGrid #wechat .wechat-box { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; justify-items: stretch; }
#contactGrid #wechat .wechat-box img { justify-self: center; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
#contactGrid #wechat .wechat-box > div { min-width: 0; }
#contactGrid #wechat .id .ph { display: block; overflow-wrap: anywhere; }
@container contact-wechat (min-width: 360px) {
  #contactGrid #wechat .wechat-box { grid-template-columns: 132px minmax(0, 1fr); gap: 20px; }
}

/* S9: the fixed-scope assessment offer. */
.offer-card { border: 1px solid var(--teal-500); border-radius: 24px; padding: 34px 36px; background: linear-gradient(140deg, var(--teal-100), var(--white)); }
.offer-card .eyebrow { color: var(--teal-600); }
.offer-card .deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0 26px; }
.offer-card .deliverables div { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.offer-card .deliverables strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.offer-card .deliverables p { margin: 0; font-size: .88rem; color: var(--slate); line-height: 1.6; }
@media (max-width: 760px) { .offer-card { padding: 26px 22px; } .offer-card .deliverables { grid-template-columns: minmax(0, 1fr); } }

/* N1: sticky mobile CTA. Fixed, so it needs to stop before the footer and keep
   clear of the to-top button; body gets padding so it never covers content. */
.mobile-cta { display: none; }
@media (max-width: 600px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(6,18,31,.94); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-size: .9rem; font-weight: 700; }
  .mobile-cta .primary { background: var(--teal-400); color: var(--navy-950); }
  .mobile-cta .ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
  body:has(.mobile-cta) { padding-bottom: 72px; }
  body:has(.mobile-cta) .to-top { bottom: 84px; }
}

/* S2: the one-line pathway that opens every sector tab. Same slot, same weight
   in all three panels, so no sector reads as the primary one. */
.tab-panel .pathway { color: var(--ink-2); font-size: .98rem; margin: 0 0 4px; padding: 12px 16px; border-left: 3px solid var(--teal-500); background: var(--teal-100); border-radius: 0 10px 10px 0; }
.tab-panel .pathway strong { color: var(--teal-600); }

/* M5: the optional half of the contact form, folded away by default. */
.more-fields { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.more-fields > summary { cursor: pointer; padding: 14px 2px; font-weight: 700; font-size: .92rem; color: var(--navy-900); list-style: none; display: flex; align-items: center; gap: 8px; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::before { content: "+"; font-size: 1.1rem; color: var(--teal-600); line-height: 1; }
.more-fields[open] > summary::before { content: "–"; }
.more-fields > :last-child { padding-bottom: 16px; }
.more-fields .mini-label { display: block; margin: 14px 0 8px; font-size: .8rem; font-weight: 700; color: var(--slate); }
.form-fallback { margin-top: 14px; }

/* S7: the line under every CTA band. Deliberately concrete -- length, language
   and what the reader gets back -- because "get in touch" asks for trust the
   site has not earned yet. */
.cta-note { margin: 16px auto 0; max-width: 560px; font-size: .88rem; color: rgba(255,255,255,.72); }
.cta-band .cta-note { text-align: center; }

/* S5: the one-line pathway under each sector h1. Same slot on all three pages. */
.pathway-line { margin: 0 0 14px; font-size: .92rem; font-weight: 700; letter-spacing: .01em; color: var(--teal-300); }

/* ---------- Hero on one screen ----------------------------------------------
   The hero is the hook: everything in it should be visible without scrolling.
   It is built around 100svh, and the squeeze is keyed to viewport HEIGHT, not
   width: a tall screen keeps the generous spacing, a short one tightens the
   gaps first and the type only after that.

   The action row, the sector chips and the assessment link were taken out of
   the hero, which gave back about 190px on a laptop. The type had been capped
   to pay for them -- 2.75rem at 900px tall, 2.4rem at 820 -- and that cap now
   buys nothing: it just left the headline small in a half-empty hero. The
   caps go back up, and the gaps with them. Each number below is measured
   against 100svh at that height, not guessed.
   ------------------------------------------------------------------------- */
@media (min-width: 901px) and (max-height: 900px) {
  .hero { padding: 96px 0 64px; }
  /* Gaps only. The base clamp fits at this height now that the hero holds
     three things, and the headline is the hook. */
  .hero-copy .display { margin: 22px 0 24px; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .hero { padding: 88px 0 56px; }
  .hero-copy .display { margin: 18px 0 20px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  .hero-copy .lead { font-size: 1.06rem; line-height: 1.65; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn-lg { padding-top: 12px; padding-bottom: 12px; font-size: .92rem; }
}
@media (min-width: 901px) and (max-height: 660px) {
  .hero { padding: 80px 0 48px; }
  .hero-copy .display { margin: 14px 0 14px; font-size: clamp(2rem, 3vw, 2.8rem); }
  .hero-copy .lead { font-size: 1rem; line-height: 1.6; }
}

/* On a phone the hero is headline and claim only, so the type can be bigger
   than it was when three buttons and three chips had to fit under it. */
@media (max-width: 600px) {
  .hero { padding: 104px 0 56px; min-height: 100svh; }
  .hero-copy .display { margin: 18px 0 18px; font-size: clamp(2.2rem, 9.8vw, 2.9rem); }
  .hero-copy .lead { font-size: 1.05rem; line-height: 1.7; }
  .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-actions .btn-lg { padding-top: 13px; padding-bottom: 13px; }
  .sector-chips { margin-top: 12px; gap: 8px; }
}
/* A short phone -- 360x640 and the like. The bigger headline the hero can now
   afford put it 8px past the fold there, so the padding and the headline's
   own gaps come back down. The type does not: a 33px headline on a 360px
   screen is the point of the page. */
@media (max-width: 600px) and (max-height: 700px) {
  .hero { padding: 88px 0 44px; }
  .hero-copy .display { margin: 12px 0 12px; }
  .hero-copy .lead { font-size: .97rem; line-height: 1.6; }
}


/* Between 601 and 900 the copy already spans the full width (phone layout) but
   the discipline strip is still there, and on a short landscape tablet or a
   narrow window that is what pushes the hero past the fold. Same ladder as the
   desktop squeeze: gaps first, and only then the strip, which the chips above
   it already say in fewer words. */
@media (min-width: 601px) and (max-width: 900px) and (max-height: 900px) {
  .hero { padding: 104px 0 56px; }
  .hero-copy .display { margin: 16px 0 16px; }
  .hero-copy .lead { font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin-top: 22px; }
  .sector-chips { margin-top: 14px; }
}

/* ---------- Phone hero: chips and the discipline strip ----------------------
   Two problems at 600px and below, both costing vertical space the hero does
   not have: the three sector chips stacked into three full-width rows (~150px),
   and the discipline strip was dropped altogether, which took the regulatory
   proof with it.

   The chips become one swipeable row -- 44px tall, which is the minimum touch
   target -- bled to the screen edges so it is visibly scrollable rather than
   looking like a clipped list. The strip returns as a single line of the same
   four acronyms it was already making.
   ------------------------------------------------------------------------- */

@media (max-width: 600px) {
  .sector-chips {
    display: flex; flex-wrap: nowrap; max-width: none;
    overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    /* Bleed to the screen edges so the last chip is cut off by the edge, not
       by an invisible box: that is what tells a thumb there is more. */
    margin-inline: -18px; padding-inline: 18px;
  }
  .sector-chips::-webkit-scrollbar { display: none; }
  .sector-chips a {
    flex: 0 0 auto; min-height: 44px; white-space: nowrap;
    padding-inline: 18px; scroll-snap-align: start;
  }
}

/* ---------- Secondary routes into the funnel -------------------------------
   Every call to action on the site asked for the same thing: book a call.
   That is a big first step for someone still deciding whether they have a
   problem. The assessment link is the smaller one, so it sits under the
   button rather than beside it -- a link, not a third button competing with
   the two that are already there.
   ------------------------------------------------------------------------- */
.cta-link { margin: 14px 0 0; font-size: .9rem; }
.cta-link a { color: var(--teal-600); font-weight: 600; border-bottom: 1px solid currentColor; }
.cta-link a:hover { color: var(--teal-500); }
.cta-band .cta-link a, .hero .cta-link a, .section-dark .cta-link a,
.page-hero .cta-link a, .card-dark .cta-link a { color: var(--teal-300); }
.cta-band .cta-link a:hover, .hero .cta-link a:hover { color: #fff; }
.hero .cta-link { margin-top: 16px; }

/* Two markets, two buttons, and the sentence that used to be the button's
   label above them -- so neither market reads as the default. */
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-row-label { margin: 0 0 16px; font-weight: 600; }
.cta-band .btn-row-label { margin: 22px 0 0; color: rgba(255,255,255,.72); font-weight: 500; font-size: .92rem; }

/* "Next market" footnote: a real adjacent market, deliberately not sold as
   something Kaiveo runs a programme for today. */
.next-market {
  margin: 20px 0 0; padding: 14px 18px; border-radius: 14px;
  background: var(--teal-100); border: 1px solid rgba(26,163,146,.28);
  font-size: .92rem; color: var(--ink-2);
}
.next-market strong { color: var(--teal-600); }

@media (max-width: 600px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---------- WeChat beside the final call to action -------------------------
   Authored in the English source so there is still one set of pages, and
   shown only where it belongs: a page whose lang is Chinese, on a screen wide
   enough to sit the QR beside the buttons rather than under them. On English
   pages and on phones it is not rendered at all.
   ------------------------------------------------------------------------- */
.cta-with-wechat { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.cta-wechat { display: none; }
html[lang^="zh"] .cta-wechat {
  display: flex; align-items: center; gap: 16px; margin-top: 36px;
  padding: 14px 18px 14px 14px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
html[lang^="zh"] .cta-wechat img { display: block; width: 88px; height: 88px; border-radius: 10px; background: #fff; padding: 5px; }
html[lang^="zh"] .cta-wechat p { margin: 0; max-width: 150px; text-align: left; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88); }
@media (max-width: 900px) { html[lang^="zh"] .cta-wechat { display: none; } }

/* The two market buttons are one flex item so they wrap as a pair. */
.btn-pair { display: flex; gap: 14px; }
@media (max-width: 900px) { .btn-pair { width: 100%; } .btn-pair .btn { flex: 1 1 0; width: auto; } }

/* The map covers the entire hero. A soft navy veil keeps the foreground
   readable without removing the geography behind it. */
.hero-canvas {
  inset: 88px 0 0; height: calc(100% - 88px);
  opacity: 1; pointer-events: none;
}
/* Keep the fixed navigation opaque as the map scrolls beneath it. */
body:has(.hero) .site-header:not(.is-scrolled) { background: var(--navy-hero); }
body:has(.hero) .site-header.is-scrolled { background: #fff; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,22,36,.66) 0%, rgba(11,22,36,.64) 35%, rgba(11,22,36,.10) 62%, rgba(11,22,36,.02) 100%);
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 80px; }
  .hero-grid { gap: 0; }
  .hero::before { background: rgba(11,22,36,.64); }
}
@media (max-width: 600px) {
  .hero { padding: 112px 0 96px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 46%) 1fr; }
}

/* Reviewed case studies: scoped editorial layout and five subject-specific covers. */
.case-card--reviewed { border: 1px solid var(--line); }
.case-card--reviewed .case-cover { height: 194px; background: var(--navy-950); }
.case-card--reviewed .case-cover::before,
.case-card--reviewed .case-cover::after { content: none; }
.case-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-cover-caption {
  position: absolute; bottom: 12px; left: 20px; font-size: .59rem;
  letter-spacing: .12em; color: rgba(220,235,241,.65);
}
.case-card--reviewed .case-body { padding: 26px 26px 22px; }
.case-card--reviewed .tags { margin-bottom: 15px; }
.case-card--reviewed .h3 { font-size: 1.23rem; line-height: 1.4; margin-bottom: 12px; }
.case-card--reviewed .case-card-summary { line-height: 1.7; color: var(--slate); }
.case-card--reviewed .case-card-outcome {
  display: flex; align-items: flex-start; gap: 8px; flex: none; margin: 22px 0 0;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem;
  line-height: 1.5; font-weight: 700; color: var(--teal-600);
}
.case-card-outcome i { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.case-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.case-experience { font-size: .66rem; color: var(--slate); }
.case-card--reviewed .case-card-footer .link-arrow { margin: 0; font-size: .76rem; gap: 7px; }
.case-card--reviewed .case-card-footer .link-arrow i { width: 15px; height: 15px; }
.case-card--reviewed:focus-visible { outline-offset: 5px; }

.case-study .case-hero { padding: 160px 0 88px; }
.case-hero .breadcrumbs { margin-bottom: 38px; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 76px; align-items: center; }
.case-study .case-hero .display { margin: 20px 0 22px; font-size: clamp(2.4rem, 3.8vw, 3.65rem); line-height: 1.12; letter-spacing: -.035em; }
.case-study .case-hero .lead { font-size: 1.04rem; line-height: 1.8; max-width: 580px; }
.case-attribution { margin-top: 28px; padding-left: 14px; border-left: 2px solid var(--teal-500); font-size: .76rem; line-height: 1.7; color: rgba(220,235,241,.65); }
.case-snapshot { overflow: hidden; border: 1px solid rgba(168,207,220,.2); border-radius: 22px; background: rgba(15,42,65,.65); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.case-snapshot-art { position: relative; height: 214px; border-bottom: 1px solid rgba(168,207,220,.13); }
.case-snapshot-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-snapshot-art > span { position: absolute; bottom: 13px; left: 24px; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(220,235,241,.65); }
.case-facts { margin: 0; padding: 8px 24px; }
.case-facts > div { display: grid; grid-template-columns: 66px minmax(0,1fr); align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(168,207,220,.13); }
.case-facts > div:last-child { border: 0; }
.case-facts dt { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(220,235,241,.56); }
.case-facts dd { margin: 0; font-size: .85rem; line-height: 1.5; color: #e3eff0; }
.case-snapshot-outcome { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-top: 1px solid rgba(127,224,207,.18); background: rgba(47,194,173,.07); color: var(--teal-300); font-size: .79rem; font-weight: 600; line-height: 1.6; }
.case-snapshot-outcome i { width: 18px; height: 18px; flex: none; }

.case-study .case-content { padding: 86px 0 72px; }
.case-study .article-layout { grid-template-columns: 190px minmax(0,1fr); gap: 70px; }
.case-study .article-toc h2 { margin-bottom: 20px; }
.case-study .article-toc a { display: flex; gap: 14px; padding: 13px 0 13px 15px; align-items: center; font-size: .85rem; }
.case-study .article-toc a::before { content: attr(data-step); color: var(--slate); font-size: .62rem; letter-spacing: .07em; }
.case-study .article-toc a.is-current::before { color: var(--teal-600); }
.case-narrative { max-width: 820px; }
.case-chapter { padding-bottom: 46px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.case-study .case-chapter h2 { display: flex; align-items: center; gap: 18px; margin: 0 0 25px; font-size: clamp(1.8rem,2.6vw,2.3rem); }
.case-chapter h2::before { content: attr(data-step); font-family: var(--font-body); font-size: .65rem; letter-spacing: .08em; font-weight: 600; color: var(--teal-600); padding: 9px 0; border-top: 1px solid var(--teal-500); }
.case-study .case-section-lead { font-family: var(--font-display); font-size: 1.47rem; color: var(--navy-900); line-height: 1.5; margin-bottom: 21px; letter-spacing: -.015em; }
.case-study .case-chapter p { line-height: 1.85; }
.case-chapter > p:last-child { margin-bottom: 0; }
.case-study .case-work-list { list-style: none; counter-reset: case-work; padding: 0; margin: 30px 0 0; }
.case-work-list > li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 18px; margin: 0 0 27px; counter-increment: case-work; }
.case-work-list > li:last-child { margin-bottom: 0; }
.case-work-list > li::before { content: counter(case-work, decimal-leading-zero); width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: .63rem; font-weight: 700; color: var(--teal-600); margin-top: 1px; }
.case-study .case-work-list h3 { margin: 0 0 7px; font-size: 1rem; color: var(--navy-900); line-height: 1.5; }
.case-study .case-work-list p { margin: 0; font-size: .96rem; color: var(--slate); }
.case-chapter--results { border: 0; padding: 0; }
.case-outcome { padding: 30px 34px; border: 1px solid rgba(26,163,146,.18); border-left: 3px solid var(--teal-500); border-radius: 0 18px 18px 0; background: #f1f8f6; }
.case-outcome .eyebrow { font-size: .62rem; }
.case-study .case-outcome h3 { margin: 13px 0 15px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.3; color: var(--navy-900); }
.case-study .case-outcome p:last-child { margin-bottom: 0; }
.case-reading-links { display: grid; gap: 24px; }
.case-study .case-back { display: inline-flex; width: fit-content; align-items: center; gap: 10px; text-decoration: none; font-size: .83rem; }
.case-back i { transform: rotate(180deg); width: 15px; height: 15px; }
.case-study .case-next { display: flex; gap: 30px; justify-content: space-between; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); text-decoration: none; transition: border-color .2s; }
.case-next:hover { border-color: var(--teal-500); }
.case-next .eyebrow { font-size: .6rem; }
.case-study .case-next h3 { margin: 10px 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.4; color: var(--navy-900); }
.case-next > i { width: 23px; height: 23px; flex: none; }
.case-study .case-cta { padding-top: 0; }
@media (max-width: 1100px) {
  .case-hero-grid { gap: 34px; grid-template-columns: minmax(0,1.15fr) minmax(0,.9fr); }
  .case-study .case-hero .display { font-size: 2.9rem; }
  .case-study .article-layout { gap: 44px; grid-template-columns: 160px minmax(0,1fr); }
}
@media (max-width: 1000px) {
  .case-study .article-layout { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .case-study .article-toc { position: static; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .case-study .article-toc h2 { margin-bottom: 14px; }
  .case-study .article-toc ol { display: flex; gap: 28px; flex-wrap: wrap; }
  .case-study .article-toc a { border-left: 0; padding: 7px 0; gap: 9px; }
  .case-narrative { max-width: none; }
}
@media (max-width: 800px) {
  .case-study .case-hero { padding: 130px 0 62px; }
  .case-hero .breadcrumbs { margin-bottom: 30px; }
  .case-hero-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .case-study .case-hero .display { font-size: clamp(2.2rem,6vw,3.2rem); }
  .case-study .case-hero .lead { font-size: 1rem; }
  .case-attribution { margin-top: 22px; }
  .case-snapshot { display: grid; grid-template-columns: .9fr 1.1fr; }
  .case-snapshot-art { height: 100%; min-height: 180px; border-bottom: 0; border-right: 1px solid rgba(168,207,220,.13); }
  .case-snapshot-outcome { grid-column: 1/-1; }
  .case-facts { padding: 7px 20px; }
  .case-facts > div { grid-template-columns: minmax(0,1fr); gap: 4px; padding: 11px 0; }
  .case-facts dd { font-size: .8rem; }
  .case-facts dt { font-size: .66rem; }
  .case-study .case-content { padding: 50px 0 54px; }
}
@media (max-width: 480px) {
  .case-snapshot { border-radius: 16px; grid-template-columns: minmax(0,1fr); }
  .case-snapshot-art { height: 145px; min-height: 0; border-right: 0; border-bottom: 1px solid rgba(168,207,220,.13); }
  .case-snapshot-art img { object-fit: contain; }
  .case-snapshot-art > span { left: 18px; bottom: 9px; font-size: .6rem; }
  .case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 6px 18px; }
  .case-facts > div:first-child { grid-column: 1/-1; }
  .case-facts > div { padding: 10px 0; }
  .case-facts > div:nth-child(2) { border: 0; }
  .case-snapshot-outcome { padding: 14px 18px; font-size: .76rem; }
  .case-study .article-toc ol { justify-content: space-between; gap: 12px; }
  .case-study .article-toc a { font-size: .78rem; }
  .case-study .article-toc a::before { font-size: .55rem; }
  .case-study .case-section-lead { font-size: 1.3rem; }
  .case-chapter { margin-bottom: 32px; padding-bottom: 32px; }
  .case-study .case-chapter h2 { gap: 14px; margin-bottom: 22px; }
  .case-work-list > li { gap: 13px; }
  .case-outcome { padding: 24px 22px; }
  .case-study .case-outcome h3 { font-size: 1.45rem; }
  .case-study .case-next { padding: 21px; gap: 16px; }
  .case-study .case-next h3 { font-size: 1.2rem; }
}
@media print {
  .case-snapshot { border-color: #ccc; background: white; box-shadow: none; }
  .case-facts dd, .case-facts dt, .case-snapshot-outcome { color: #222; }
  .case-snapshot-art { display: none; }
  .case-chapter, .case-outcome, .case-work-list > li { break-inside: avoid; }
  .case-reading-links, .case-cta { display: none; }
}
