/* ==========================================================================
   Bonum Funding Group - preview stylesheet
   Plain CSS, no build step. Structured so it can move into a WordPress theme
   (style.css + template parts) without rewriting.

   Design rules (keep consistent everywhere):
   - Palette: navy from the logo (#1C3658) + ONE accent (teal from the approved
     APAC concept, darkened to pass WCAG AA). No purple, no gradients.
   - Radius: 6px for anything interactive (buttons, inputs, chips),
     12px for containers (cards, panels, figures). Nothing else.
   - Type: Outfit (display, echoes the round geometric logo wordmark) +
     Figtree (text). Self-host both in the WordPress theme.
   - Motion: transform/opacity only, always disabled by prefers-reduced-motion.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0F2035;
  --navy-900: #142A45;
  --navy: #1C3658;          /* logo */
  --navy-700: #274560;      /* panel on navy */
  --navy-600: #3A5675;

  --teal: #24736F;          /* accent: text, buttons (5.5:1 on white) */
  --teal-dark: #1B5A57;     /* hover */
  --teal-300: #74B8B3;      /* accent on navy backgrounds */
  --teal-100: #D9EAE8;
  --teal-50: #EDF5F4;

  --bg: #FBFCFC;
  --surface: #FFFFFF;
  --surface-2: #F2F5F6;
  --surface-3: #E8EEF1;
  --line: #DCE3E8;
  --line-strong: #7F8E9D;   /* form borders (3:1 non-text contrast) */

  --text: #33414F;          /* body copy */
  --text-muted: #5A6776;
  --heading: var(--navy);

  --map-dot: #C9D5DC;
  --map-dot-strong: #9FB3C0;

  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --r-ui: 6px;
  --r-box: 12px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgb(20 42 69 / 0.06), 0 2px 8px rgb(20 42 69 / 0.05);
  --shadow-md: 0 2px 4px rgb(20 42 69 / 0.05), 0 12px 32px rgb(20 42 69 / 0.08);

  /* z-index scale */
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 70;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-300); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }

.lead { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--text); max-width: 58ch; }
.prose { max-width: 66ch; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; line-height: 1.55; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--navy { background: var(--navy); color: #DCE5EE; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #FFFFFF; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--text-muted); font-size: 1.12rem; max-width: 60ch; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: var(--z-skip);
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-ui);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Review placeholders ([TO CONFIRM] / [COPY TO CONFIRM]) ---------- */
.tbc {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0;
  color: #6A4B00;
  background: #FFF6DB;
  border: 1px dashed #C9A23A;
  border-radius: 4px;
  padding: 0.05em 0.4em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.tbc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #6A4B00; background: #FFF6DB; border: 1px dashed #C9A23A; border-radius: 4px;
  padding: 3px 8px; margin-bottom: 14px;
}
.section--navy .tbc, .section--navy .tbc-tag { color: #FFE9A8; background: rgb(255 233 168 / 0.08); border-color: rgb(255 233 168 / 0.5); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #FFFFFF; --btn-bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-ui);
  font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.btn:hover { --btn-bg: var(--teal-dark); --btn-bd: var(--teal-dark); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .ph { font-size: 1.1em; transition: transform .25s var(--ease-out); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--light { --btn-bg: #FFFFFF; --btn-fg: var(--navy); --btn-bd: #FFFFFF; }
.btn--light:hover { --btn-bg: var(--teal-50); --btn-fg: var(--navy); --btn-bd: var(--teal-50); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow .ph { transition: transform .25s var(--ease-out); }
.link-arrow:hover { border-bottom-color: currentColor; color: var(--teal-dark); }
.link-arrow:hover .ph { transform: translateX(3px); }
.section--navy .link-arrow { color: var(--teal-300); }

.text-link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.header-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(251 252 252 / 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(20 42 69 / 0.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: var(--r-ui);
  font-size: 0.96rem; font-weight: 500; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav__link:hover, .nav__trigger:hover, .nav__item:focus-within > .nav__trigger { background: var(--surface-2); }
.nav__link[aria-current="page"], .nav__item[data-current="true"] > .nav__trigger, .nav__item[data-current="true"] > .nav__link {
  color: var(--teal);
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: var(--r-ui) var(--r-ui) 0 0;
}
.nav__trigger .ph { font-size: 0.8rem; transition: transform .2s ease; }
.nav__trigger[aria-expanded="true"] .ph { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  list-style: none; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item.is-open > .nav__sub,
.nav__item:hover > .nav__sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s;
}
.nav__sub a {
  display: block; padding: 10px 12px; border-radius: var(--r-ui);
  text-decoration: none; color: var(--navy); font-weight: 500; font-size: 0.95rem; line-height: 1.35;
}
.nav__sub a small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.84rem; margin-top: 2px; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: var(--surface-2); }
.nav__sub a[aria-current="page"] { color: var(--teal); background: var(--teal-50); }
.nav__sub .nav__sub-nested { padding-left: 14px; margin-left: 12px; border-left: 1px solid var(--line); list-style: none; }

.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: var(--r-ui);
  background: transparent; border: 1.5px solid var(--line); color: var(--navy);
  font-weight: 600; cursor: pointer;
}
.nav-toggle .ph { font-size: 1.25rem; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 14px 0; text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.mobile-menu a[aria-current="page"] { color: var(--teal); }
.mobile-menu .mobile-sub { padding: 0 0 12px 16px; border-left: 1px solid var(--line); margin-left: 4px; }
.mobile-menu .mobile-sub a { font-family: var(--font-text); font-size: 1.02rem; padding: 8px 0; color: var(--text); }
.mobile-menu .btn { margin-top: 28px; width: 100%; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* Breadcrumb */
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 7vh, 88px) clamp(40px, 6vh, 72px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 0.45em; }
.hero .lead { margin-bottom: 2rem; max-width: 50ch; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; min-height: min(560px, calc(100dvh - var(--header-h) - 120px)); }
}

.hero-viz { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 600 / 540; }
.hero-viz svg { width: 100%; height: 100%; overflow: visible; }
.hero-viz .hv-disc { fill: var(--teal-50); }
.hero-viz .hv-ring { fill: none; stroke: var(--teal); stroke-opacity: 0.45; stroke-width: 2; stroke-dasharray: 0 10; stroke-linecap: round; }
.hero-viz .hv-node { fill: var(--navy); }
.hero-viz .hv-label { font-family: var(--font-text); font-size: 21px; font-weight: 600; fill: var(--navy); text-anchor: middle; }
.hero-viz .hv-label-bg { fill: var(--bg); }
.hero-viz .hv-canvas { position: absolute; pointer-events: none; }
.hero-viz.is-live svg > :not(title) { visibility: hidden; }
.hero { overflow: hidden; }

/* Service strip under hero */
.service-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.service-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.service-strip li {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0; font-weight: 600; color: var(--navy); font-size: 0.98rem;
}
.service-strip li .ph { color: var(--teal); font-size: 1.35rem; }
@media (min-width: 900px) {
  .service-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-strip li { padding: 22px 0; }
  .service-strip li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ---------- Situations (sticky intro + statement rows) ---------- */
.situations { display: grid; gap: 40px; }
.situations__intro p { color: var(--text-muted); font-size: 1.1rem; }
@media (min-width: 960px) {
  .situations { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
  .situations__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.situation-list { list-style: none; border-top: 1px solid var(--line); }
.situation {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
  padding: 28px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background-color .25s ease, padding .35s var(--ease-out);
}
.situation__quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; color: var(--navy); line-height: 1.25; letter-spacing: -0.015em; }
.situation__answer { grid-column: 1; color: var(--text-muted); max-width: 52ch; }
.situation__go {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--navy);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .35s var(--ease-out);
}
.situation:hover, .situation:focus-visible { background: var(--surface); padding-inline: 20px; }
.situation:hover .situation__go, .situation:focus-visible .situation__go { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateX(2px); }

/* ---------- Services (tabs on desktop, stacked on mobile) ---------- */
.services { display: grid; gap: 32px; }
.services__tabs { display: none; }
.service-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); }
.service-panel + .service-panel { margin-top: 16px; }
.service-panel h3 { margin-bottom: 0.6em; }
.service-panel__lede { font-size: 1.15rem; color: var(--text); max-width: 52ch; }
.service-panel__label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin: 26px 0 12px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip-list li {
  padding: 7px 12px; border-radius: var(--r-ui);
  background: var(--teal-50); color: var(--navy); font-size: 0.93rem; font-weight: 500;
}
.services__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--text-muted); }

@media (min-width: 900px) {
  .services { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
  .services__tabs { display: flex; flex-direction: column; gap: 4px; }
  .services__tab {
    display: flex; align-items: center; gap: 14px; text-align: left;
    padding: 18px 20px; border-radius: var(--r-ui); border: 0; background: transparent; cursor: pointer;
    font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; color: var(--text-muted);
    transition: background-color .2s ease, color .2s ease;
  }
  .services__tab .ph { font-size: 1.4rem; color: var(--line-strong); transition: color .2s ease; }
  .services__tab:hover { background: var(--surface); color: var(--navy); }
  .services__tab[aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: inset 3px 0 0 var(--teal), var(--shadow-sm); }
  .services__tab[aria-selected="true"] .ph { color: var(--teal); }
  .services.js-tabs .service-panel { margin: 0; padding: 40px; min-height: 100%; }
  .services.js-tabs .service-panel[hidden] { display: none; }
  .services.js-tabs .service-panel:not([hidden]) { animation: panel-in .45s var(--ease-out); }
  .services__panels { grid-column: 2; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Audiences (asymmetric bento, 3 cells) ---------- */
.audiences { display: grid; gap: 16px; }
.audience {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-box);
  text-decoration: none; color: inherit; min-height: 260px;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.audience:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.audience h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 0.5em; }
.audience p { max-width: 46ch; }
.audience--primary { background: var(--teal-100); }
.audience--primary .audience__pattern {
  position: absolute; z-index: -1; right: -30px; bottom: -30px; width: 380px; height: 380px;
  background-image: radial-gradient(circle, #A9CFCB 3.4px, transparent 3.9px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 75% 75%, #000 0 35%, transparent 70%);
  mask-image: radial-gradient(circle at 75% 75%, #000 0 35%, transparent 70%);
}
.audience--primary .chip-list { margin-top: 22px; max-width: 440px; }
.audience--primary .chip-list li { background: rgb(255 255 255 / 0.75); }
.audience--plain { background: var(--surface); border: 1px solid var(--line); }
.audience--navy { background: var(--navy); color: #DCE5EE; }
.audience--navy h3 { color: #fff; }
.audience--navy .link-arrow { color: var(--teal-300); }
.audience--navy .audience__route { position: absolute; z-index: -1; right: 18px; bottom: 18px; width: 150px; height: auto; opacity: 0.8; }
@media (min-width: 900px) {
  .audiences { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .audience--primary { grid-row: span 2; min-height: 520px; }
}

/* ---------- World map ---------- */
.worldmap { position: relative; width: 100%; }
.worldmap svg { width: 100%; height: auto; overflow: visible; }
.worldmap__dots path { fill: none; stroke: #A7B9C5; stroke-width: 3.6; stroke-linecap: round; transition: stroke .35s ease; }
.worldmap__dots .wm-neutral { stroke: #DCE4E9; }
.worldmap[data-active="us"] .wm-us,
.worldmap[data-active="eu"] .wm-eu,
.worldmap[data-active="af"] .wm-af,
.worldmap[data-active="ap"] .wm-ap,
.worldmap[data-active="la"] .wm-la,
.worldmap[data-active="afap"] .wm-af,
.worldmap[data-active="afap"] .wm-ap { stroke: var(--teal); }
.worldmap[data-active="eu-us"] .wm-eu, .worldmap[data-active="eu-us"] .wm-us,
.worldmap[data-active="ap-us"] .wm-ap, .worldmap[data-active="ap-us"] .wm-us { stroke: #8FC2BD; }
.worldmap--soft .worldmap__dots path { stroke: #CAD7DD; }
.worldmap--soft .worldmap__dots .wm-neutral { stroke: #DFE7EA; }
.worldmap--soft[data-active="eu-us"] .wm-eu, .worldmap--soft[data-active="eu-us"] .wm-us,
.worldmap--soft[data-active="ap-us"] .wm-ap, .worldmap--soft[data-active="ap-us"] .wm-us { stroke: #ADD1CD; }
.worldmap .worldmap__overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wm-office { fill: var(--teal); stroke: var(--surface); stroke-width: 2.5; }
.wm-office-ring { fill: none; stroke: var(--teal); stroke-width: 1.2; opacity: 0.45; }
.wm-label { font-family: var(--font-text); font-size: 13px; font-weight: 600; fill: var(--navy); }
.wm-label--halo { stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; }
.wm-route { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 8; }
.wm-route-end { fill: var(--teal); }
.wm-route-start { fill: var(--surface); stroke: var(--teal); stroke-width: 2.2; }

/* route reveal: a mask path draws the dotted route in */
.wm-route-mask { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-route] .wm-route-mask { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
  .js [data-route].is-in .wm-route-mask { transition: stroke-dashoffset 2.2s var(--ease-out) .2s; stroke-dashoffset: 0; }
  .js [data-route] .wm-route-end { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity .4s ease 1.9s, transform .6s var(--ease-out) 1.9s; }
  .js [data-route].is-in .wm-route-end { opacity: 1; transform: none; }
}

/* Markets block */
.markets { display: grid; gap: 40px; }
.market-list { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.market {
  display: block; width: 100%; text-align: left; padding: 22px 4px; background: none; border: 0;
  border-bottom: 1px solid var(--line); cursor: default; color: inherit;
  transition: background-color .25s ease;
}
.market h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 0.35em; transition: color .25s ease; }
.market h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--map-dot-strong); flex-shrink: 0; transition: background-color .25s ease, transform .3s var(--ease-out); }
.market p { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
.market.is-active h3 { color: var(--teal); }
.market.is-active h3::before { background: var(--teal); transform: scale(1.25); }
.market a { color: inherit; }
.markets__map { margin-block: clamp(8px, 2vw, 24px) clamp(28px, 4vw, 48px); }
@media (min-width: 960px) {
  .market-list--row { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; gap: 28px; }
  .market-list--row .market { border-bottom: 0; border-top: 2px solid var(--line); padding-top: 20px; }
  .market-list--row .market.is-active { border-top-color: var(--teal); }
}

/* ---------- Process (4 steps on a dotted line) ---------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; position: relative; }
.process__step { position: relative; padding: 0 0 36px 52px; counter-increment: step; }
.process__step::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--teal); color: var(--teal);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.process__step::after {
  content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px;
  background-image: radial-gradient(circle, var(--map-dot-strong) 1.2px, transparent 1.6px);
  background-size: 2px 9px; background-repeat: repeat-y;
}
.process__step:last-child::after { display: none; }
.process__step:last-child::before { background: var(--teal); color: #fff; }
.process__step h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.process__step p { color: var(--text-muted); max-width: 40ch; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .process__step { padding: 60px 0 0; }
  .process__step::before { top: 0; }
  .process__step::after {
    left: 46px; right: -24px; top: 16px; bottom: auto; width: auto; height: 2px;
    background-size: 9px 2px; background-repeat: repeat-x;
  }
}

/* ---------- Assessment (shared component, navy) ---------- */
.assessment { display: grid; gap: 40px; align-items: center; }
.assessment h2 { max-width: 16ch; }
.assessment__intro p { font-size: 1.12rem; color: #DCE5EE; max-width: 46ch; margin-bottom: 2rem; }
.assessment__panel {
  background: var(--navy-700); border-radius: var(--r-box); padding: clamp(28px, 3.5vw, 44px);
  box-shadow: inset 3px 0 0 var(--teal-300);
}
.assessment__panel dl { margin: 0; display: grid; gap: 26px; }
.assessment__panel dt { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.assessment__panel dd { margin: 0; color: #CFDAE5; }
.assessment__note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.92rem; color: #B8C7D6; }
@media (min-width: 960px) { .assessment { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }

/* ---------- Opportunity Radar ---------- */
.radar { display: grid; gap: 40px; }
.radar__intro p { color: var(--text-muted); font-size: 1.08rem; }
.radar__intro .link-arrow { margin-top: 12px; }
@media (min-width: 960px) {
  .radar { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
  .radar__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.opp-list { list-style: none; display: grid; gap: 14px; }
.opp-row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px;
  padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.opp-row:hover { border-color: #C3CFD8; box-shadow: var(--shadow-sm); }
.opp-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--teal-50); border-radius: var(--r-ui); padding: 10px 6px; color: var(--navy); align-self: start;
}
.opp-date__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.opp-date__day { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.opp-date__my { font-size: 0.8rem; font-weight: 600; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; list-style: none; }
.opp-meta li { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); padding: 3px 8px; border-radius: var(--r-ui); background: var(--surface-2); }
.opp-row h3 { font-size: 1.12rem; margin-bottom: 0.35em; line-height: 1.3; }
.opp-row p { color: var(--text-muted); font-size: 0.96rem; }
.opp-row__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 12px; font-size: 0.88rem; color: var(--text-muted); }
.opp-row__foot .link-arrow { font-size: 0.92rem; }
@media (max-width: 520px) { .opp-row { grid-template-columns: 1fr; } .opp-date { flex-direction: row; gap: 8px; justify-content: flex-start; padding: 8px 12px; } .opp-date__day { font-size: 1.1rem; margin: 0; } }

/* full opportunity cards (Radar page) */
.radar-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  min-height: 42px; padding: 8px 16px; border-radius: var(--r-ui);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--navy);
  font-weight: 600; font-size: 0.93rem; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.filter-btn:hover { border-color: var(--navy-600); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.radar-count { font-size: 0.92rem; color: var(--text-muted); }
.opp-grid { display: grid; gap: 20px; list-style: none; }
@media (min-width: 860px) { .opp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opp-card {
  display: flex; flex-direction: column; gap: 16px; height: 100%;
  padding: clamp(24px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
}
.opp-card h3 { font-size: 1.28rem; margin: 0; }
.opp-card__desc { color: var(--text); }
.opp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opp-facts div { min-width: 0; }
.opp-facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.opp-facts dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 0.97rem; line-height: 1.4; }
.opp-facts .is-wide { grid-column: 1 / -1; }
.opp-good { font-size: 0.95rem; color: var(--text-muted); background: var(--surface-2); border-radius: var(--r-ui); padding: 14px 16px; }
.opp-good strong { color: var(--navy); }
.opp-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; font-size: 0.9rem; color: var(--text-muted); }
.opp-card.is-closed { opacity: 0.7; }
.badge-closed { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line-strong); border-radius: var(--r-ui); padding: 2px 8px; }
.empty-state {
  text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-box); color: var(--text-muted);
}
.empty-state .ph { font-size: 2rem; color: var(--teal); display: block; margin: 0 auto 10px; }
.closed-block { margin-top: 56px; }
.closed-block summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.15rem; }

/* skeleton while radar data renders */
.skeleton { border-radius: var(--r-box); background: var(--surface-2); min-height: 150px; position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.6), transparent); animation: shimmer 1.4s infinite; }
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- Closing CTA ---------- */
.cta-final {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 32px; align-items: center;
  background: var(--teal-50); border-radius: var(--r-box);
  padding: clamp(32px, 6vw, 80px);
}
.cta-final h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; margin-bottom: 0.4em; }
.cta-final p { font-size: 1.18rem; color: var(--text); max-width: 46ch; margin-bottom: 1.8rem; }
.cta-final p:empty { display: none; }
.cta-final__mark { width: clamp(120px, 18vw, 230px); justify-self: end; }
@media (min-width: 900px) { .cta-final { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } }
@media (max-width: 899px) { .cta-final__mark { position: absolute; z-index: -1; right: -24px; bottom: -24px; width: 140px; opacity: 0.12; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.page-hero__grid { display: grid; gap: 40px; align-items: start; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); max-width: 20ch; }
.page-hero .lead { margin-bottom: 1.8rem; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
  .page-hero__grid--center { align-items: center; }
}

/* Offer list (For Businesses / Nonprofits) */
.offer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm);
}
.offer__title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 12px; }
.offer ul { list-style: none; }
.offer li { display: flex; gap: 14px; align-items: center; padding: 14px 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; line-height: 1.35; }
.offer li + li { border-top: 1px solid var(--line); }
.offer li .ph { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-ui); display: grid; place-items: center; background: var(--teal-50); color: var(--teal); font-size: 1.25rem; }
.offer li a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.offer li a:hover { color: var(--teal); }
.offer__note { margin-top: 14px; }

/* Path cards (U.S. expansion) */
.paths { display: grid; gap: 20px; }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.path-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .25s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C3CFD8; }
.path-card__map { background: var(--surface-2); padding: 18px 18px 6px; }
.path-card__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.path-card__body h3 { margin: 0; font-size: 1.5rem; }
.path-card__body p { color: var(--text-muted); }
.path-card__body .link-arrow { margin-top: auto; }

/* Feature band linking to /us-expansion */
.band {
  display: grid; gap: 28px; align-items: center;
  background: var(--teal-50); border-radius: var(--r-box); padding: clamp(28px, 4vw, 48px); overflow: hidden;
}
.band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.band p { color: var(--text); max-width: 50ch; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }


/* Challenge questions */
.questions { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 860px) { .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.questions li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.08rem, 1.4vw, 1.22rem); font-weight: 500; color: var(--navy); line-height: 1.35;
}
.questions li .ph { color: var(--teal); flex-shrink: 0; font-size: 1.15rem; transform: translateY(2px); }

/* Help grid (Plan / Prepare / Connect / Fund) */
.help-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 760px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.help-item { position: relative; padding: clamp(26px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); }
.help-item__verb { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--teal); margin-bottom: 14px; letter-spacing: -0.01em; }
.help-item__verb span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.help-item h3 { font-size: 1.3rem; }
.help-item p { color: var(--text-muted); }

/* Advisors */
.advisors { display: grid; gap: 28px; }
@media (min-width: 860px) { .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.advisor { padding-top: 28px; border-top: 2px solid var(--teal); }
.advisor__head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.advisor__head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.advisor__head .advisor__symbol { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-50); display: grid; place-items: center; }
.advisor__head .advisor__symbol img { width: 34px; height: 34px; border-radius: 0; }
.advisor__photo-slot { width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; color: var(--text-muted); font-size: 1.5rem; flex-shrink: 0; }
.advisor h3 { margin: 0 0 4px; font-size: 1.3rem; }
.advisor__role { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.advisor p { color: var(--text-muted); }

/* Expansion hero (APAC / Europe) */
.x-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.x-hero__map { position: absolute; z-index: -1; left: 50%; top: 50%; width: max(1180px, 100%); transform: translate(-50%, -50%); }
.x-hero { isolation: isolate; }
.x-hero__grid { display: grid; gap: 40px; align-items: center; }
.x-hero__copy { background: rgb(251 252 252 / 0.84); border-radius: var(--r-box); padding: 28px 32px; margin-left: -32px; }
.x-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 16ch; }
.x-hero .lead { margin-bottom: 1rem; }
.x-hero__body { color: var(--text-muted); max-width: 56ch; margin-bottom: 1.8rem; }
.x-hero__aside { font-size: 0.92rem; color: var(--text-muted); margin-top: 14px; }
.portrait { margin: 0; max-width: 380px; justify-self: center; width: 100%; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-box); box-shadow: var(--shadow-md); }
.portrait figcaption { padding: 14px 2px 0; }
.portrait figcaption strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.12rem; font-weight: 600; }
.portrait figcaption span { color: var(--text-muted); font-size: 0.92rem; }
.portrait__slot { aspect-ratio: 3 / 4; border-radius: var(--r-box); border: 1.5px dashed var(--line-strong); background: rgb(242 245 246 / 0.9); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-muted); }
@media (min-width: 960px) { .x-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 64px; } .portrait { justify-self: end; } }

.anchor-nav { border-bottom: 1px solid var(--line); background: var(--surface); }
.anchor-nav ul { display: flex; gap: 4px; overflow-x: auto; list-style: none; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: block; padding: 16px 14px; white-space: nowrap; text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.94rem; border-bottom: 2px solid transparent; }
.anchor-nav a:hover { color: var(--navy); border-bottom-color: var(--line-strong); }

/* Takeaways (Europe) */
.takeaways { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .takeaways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.takeaways li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: var(--surface); border-radius: var(--r-box); border: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.takeaways li .ph { color: var(--teal); font-size: 1.3rem; flex-shrink: 0; }

/* ---------- Forms ---------- */
.contact-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; } .contact-layout__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.form-card > h2, .form-card > h3 { font-size: 1.35rem; margin-bottom: 1.2em; }
.form-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .field__legend, fieldset.field > legend { font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field__hint { font-size: 0.86rem; color: var(--text-muted); margin-top: -2px; }
.field__error { display: none; font-size: 0.88rem; font-weight: 600; color: #A3271F; align-items: center; gap: 6px; }
.field.is-invalid .field__error { display: flex; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #FFFFFF; color: var(--navy);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-ui);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231C3658' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input::placeholder, .textarea::placeholder { color: #6B7785; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-600); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgb(36 115 111 / 0.25); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #A3271F; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-ui); background: #fff;
  font-size: 0.95rem; font-weight: 500; color: var(--navy);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .15s ease; }
.choice:hover span { border-color: var(--navy-600); }
.choice input:checked + span { background: var(--teal-50); border-color: var(--teal); color: var(--navy); }
.choice input:checked + span::before { background: var(--teal); }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.form-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form-foot .btn { align-self: flex-start; }
.form-fine { font-size: 0.86rem; color: var(--text-muted); }
.form-fine a { color: var(--teal); }
.form-context { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-ui); background: var(--teal-50); color: var(--navy); font-size: 0.93rem; margin-bottom: 22px; }
.form-context button { background: none; border: 0; color: var(--teal); font-weight: 600; cursor: pointer; padding: 4px; }
.form-success { text-align: left; padding: 8px 0; }
.form-success .ph { font-size: 2.4rem; color: var(--teal); margin-bottom: 10px; display: block; }
.form-success h3 { margin-bottom: 0.4em; }
.form-success:focus { outline: none; }
.disclaimer { font-size: 0.88rem; color: var(--text-muted); max-width: 52ch; margin-top: 18px; }

.contact-details { list-style: none; display: grid; gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-details li { display: flex; gap: 14px; }
.contact-details .ph { color: var(--teal); font-size: 1.3rem; margin-top: 2px; }
.contact-details strong { display: block; color: var(--navy); }
.contact-details a { color: var(--teal); }

/* ---------- About ---------- */
.about-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .about-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.about-cols p { font-size: 1.1rem; }
.team-grid { display: grid; gap: 20px; list-style: none; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-card { border: 1.5px dashed var(--line-strong); border-radius: var(--r-box); padding: 22px; background: var(--surface); }
.team-card__photo { aspect-ratio: 4 / 5; border-radius: var(--r-ui); background: var(--surface-2); display: grid; place-items: center; color: var(--line-strong); font-size: 2.4rem; margin-bottom: 16px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.offices { display: grid; gap: 16px; }
@media (min-width: 700px) { .offices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.office { padding: 24px; border-radius: var(--r-box); background: var(--surface); border: 1px solid var(--line); }
.office h3 { font-size: 1.15rem; display: flex; gap: 10px; align-items: center; }
.office h3 .ph { color: var(--teal); }
.office address { font-style: normal; color: var(--text-muted); }

/* ---------- Markets page ---------- */
.market-detail { display: grid; gap: 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
.market-blocks { display: grid; gap: 16px; }
@media (min-width: 860px) { .market-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.market-block { padding: clamp(24px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); transition: border-color .25s ease, box-shadow .25s ease; }
.market-block:target, .market-block.is-active { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.market-block h3 { font-size: 1.35rem; }
.market-block p { color: var(--text-muted); }
.market-block .link-arrow { margin-top: 8px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #C4D1DE; padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 0.95rem; }
.site-footer a { color: #E6EDF4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; color: #C4D1DE; }
.footer-col h2 { font-family: var(--font-text); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #93A6B9; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-col address + address { margin-top: 14px; }
.footer-col address strong { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); color: #93A6B9; font-size: 0.88rem; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-load > * { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}

/* ---------- Mobile collapse ---------- */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { width: 100%; }
  .hero-viz { max-width: 420px; }
  .opp-facts { grid-template-columns: 1fr; }
  .x-hero__map { width: 900px; top: 0; transform: translate(-50%, 0); opacity: 0.7; }
  .x-hero__copy { margin-left: 0; padding: 0; background: transparent; }
  .site-header__inner { height: 68px; }
  :root { --header-h: 68px; }
  .brand img { height: 32px; }
}

/* Cropped map (U.S. + Europe window) */
.map-crop { overflow: hidden; aspect-ratio: 600 / 250; }
.map-crop > .worldmap { width: 166.7%; margin-top: -3.3% !important; }
.map-crop .wm-label { font-size: 17px; }
.path-card .wm-route { stroke-width: 3.6; stroke-dasharray: 0 11; }
@media (max-width: 767px) { .x-hero .worldmap__overlay { display: none; } }

/* ==========================================================================
   Revision 2 (Nov 30): Caryne's repositioning
   ========================================================================== */
.hero h1 { max-width: 640px; font-size: clamp(2.3rem, 4.2vw, 3.6rem); }

/* Client situations: four tiles (4 in a row on desktop, 2x2 on tablet) */
.situation-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .situation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.situation-grid li { display: flex; }
.situation-grid .situation {
  flex: 1; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--r-box);
  background: var(--surface);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .25s ease;
}
.situation__icon { font-size: 1.9rem; color: var(--teal); margin-bottom: 14px; }
.situation-grid .situation__quote { font-size: clamp(1.22rem, 1.5vw, 1.38rem); font-weight: 600; }
.situation-grid .situation__answer { font-size: 0.98rem; margin-bottom: 22px; }
.situation-grid .situation__go { margin-top: auto; align-self: flex-start; width: 42px; height: 42px; }
.situation-grid .situation:hover, .situation-grid .situation:focus-visible { padding-inline: clamp(24px, 2.4vw, 30px); background: var(--surface); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C3CFD8; }

/* Services teaser: four tiles */
.svc-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-grid li { display: flex; }
.svc {
  position: relative; overflow: hidden; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.4vw, 30px); background: var(--surface-2); border-radius: var(--r-box);
  text-decoration: none; color: inherit;
  transition: background-color .3s ease, box-shadow .35s ease, transform .35s var(--ease-out);
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.svc:hover, .svc:focus-visible { background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc:hover::before, .svc:focus-visible::before { transform: scaleX(1); }
.svc__num {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--line-strong); font-variant-numeric: tabular-nums;
}
.svc__num .ph { width: 48px; height: 48px; border-radius: var(--r-ui); display: grid; place-items: center; background: var(--surface); color: var(--teal); font-size: 1.45rem; box-shadow: var(--shadow-sm); transition: background-color .3s ease, color .3s ease; }
.svc:hover .svc__num .ph, .svc:focus-visible .svc__num .ph { background: var(--teal); color: #fff; }
.svc h3 { margin: 0; font-size: 1.22rem; }
.svc p { color: var(--text-muted); font-size: 0.98rem; margin: 0 0 22px; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--teal); }
.svc__more .ph { transition: transform .3s var(--ease-out); }
.svc:hover .svc__more .ph, .svc:focus-visible .svc__more .ph { transform: translateX(4px); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(28px, 3vw, 40px); }
.svc-foot p { color: var(--text-muted); max-width: 60ch; margin: 0; }

/* Services page: detail cards */
.svc-detail-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .svc-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-detail {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(26px, 3.4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box);
  scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .3s ease, box-shadow .3s ease;
}
.svc-detail:target { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.svc-detail h3 { font-size: 1.4rem; margin: 4px 0 6px; }
.svc-detail > p { color: var(--text-muted); }
.svc-detail .service-panel__label { margin: 18px 0 10px; }
.svc-detail .link-arrow { margin-top: 18px; align-self: flex-start; }
.chip-list .tbc { font-size: 0.72rem; margin-left: 4px; }

/* Services page: two link bands */
.split-cards { display: grid; gap: 20px; }
@media (min-width: 900px) { .split-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split-cards .band { grid-template-columns: 1fr; align-items: start; }
.band--link { text-decoration: none; color: inherit; transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.band--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.band--link .link-arrow { margin-top: 8px; }
.band--plain { background: var(--surface); border: 1px solid var(--line); }

/* Our expertise / Team: intro left, two portrait cards side by side */
.team { display: grid; gap: clamp(28px, 4vw, 48px) 0; }
.team__intro h2 { margin: 0; }
.people { display: grid; gap: 20px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); grid-template-rows: auto 1fr; column-gap: 64px; }
  .team__intro h2 { font-size: clamp(1.9rem, 2.5vw, 2.35rem); }
  .team__intro { grid-column: 1; grid-row: 1; }
  .people { grid-column: 2; grid-row: 1 / span 2; }
  .team .people-foot { grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; }
}
.person {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden;
}
/* same 4:5 frame for both; eye line and head size matched (Caryne's photo is zoomed slightly) */
.person__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); }
.person__photo { width: 100%; height: 100%; object-fit: cover; }
.person__photo--matthias { object-position: 50% 100%; }
.person__photo--caryne { object-position: 50% 0; transform: scale(1.14); transform-origin: 58% 22%; }
.person__body { padding: clamp(22px, 2.4vw, 28px); }
.person h3 { margin: 0 0 4px; font-size: 1.35rem; }
.person__role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.person__body > p:last-child { color: var(--text-muted); font-size: 0.98rem; }
.people-foot { margin-top: 8px; }

/* FAQ: intro left, accordion cards right */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq__intro h2 { margin-bottom: 0.45em; }
.faq__intro p { color: var(--text-muted); max-width: 36ch; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-box);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .35s ease;
}
.faq__item:hover { background: var(--surface-3); }
.faq__item[open] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 22px 20px 26px; cursor: pointer; list-style: none; border-radius: var(--r-box);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.06rem, 1.4vw, 1.18rem); color: var(--navy); line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--surface);
  background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy));
  background-position: center; background-repeat: no-repeat;
  background-size: 12px 1.8px, 1.8px 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), background-color .25s ease, background-size .3s ease;
}
.faq__item[open] summary::after {
  transform: rotate(180deg); background-color: var(--teal);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 12px 1.8px, 1.8px 0;
}
.faq__item p { padding: 0 70px 24px 26px; color: var(--text-muted); max-width: 72ch; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: rise .45s var(--ease-out); }
  @supports (interpolate-size: allow-keywords) {
    .faq__list { interpolate-size: allow-keywords; }
    .faq__item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
    .faq__item[open]::details-content { height: auto; }
  }
}
@media (max-width: 560px) {
  .faq__item summary { padding: 18px 16px 18px 20px; gap: 16px; }
  .faq__item p { padding: 0 20px 20px; }
}

/* Privacy Policy */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } .legal__toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.legal__toc { padding: 20px 22px; border-radius: var(--r-box); background: var(--surface-2); }
.legal__toc-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.legal__toc ul { list-style: none; display: grid; gap: 8px; }
.legal__toc a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.legal__toc a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal__body { max-width: 72ch; min-width: 0; }
.legal__body h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 2.2em 0 0.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.12rem; margin: 1.8em 0 0.5em; }
.legal__body p, .legal__body li { color: var(--text); }
.legal__body ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal__body li::marker { color: var(--teal); }

/* ==========================================================================
   WordPress theme additions (forms, cookie banner, admin bar, social links)
   ========================================================================== */
/* Form: server error + spam trap */
.form-error {
  margin: 0; padding: 12px 16px; border-radius: var(--r-ui);
  background: #FDECEA; color: #8A1F17; font-size: 0.95rem; font-weight: 500;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sticky header below the WP admin bar (logged-in users only) */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Footer: social links + cookie settings button */
.footer-social { display: flex; gap: 10px; margin-top: 20px; list-style: none; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 0.22); color: #fff; text-decoration: none; font-size: 1.1rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.5); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; padding: 22px 24px; border-radius: var(--r-box);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 40px rgb(20 42 69 / 0.18);
  font-size: 0.95rem;
}
.cookie-banner[hidden] { display: none; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }
.cookie-banner__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy); margin: 0 0 6px; }
.cookie-banner__title .ph { color: var(--teal); font-size: 1.3rem; }
.cookie-banner p { color: var(--text-muted); margin: 0 0 16px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-banner__actions .link-button { margin-left: auto; color: var(--navy); font-size: 0.92rem; }
.cookie-prefs { border-top: 1px solid var(--line); margin: 0 0 16px; padding-top: 14px; display: grid; gap: 12px; }
.cookie-prefs[hidden] { display: none; }
.cookie-pref { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; }
.cookie-pref input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); }
.cookie-pref strong { color: var(--navy); font-weight: 600; }
.cookie-pref span { grid-column: 2; color: var(--text-muted); font-size: 0.88rem; }
@media (prefers-reduced-motion: no-preference) { .cookie-banner:not([hidden]) { animation: rise .45s var(--ease-out); } }

/* Cookie table (Cookie Policy) */
.cookie-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.95rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cookie-table th { font-weight: 600; color: var(--navy); background: var(--surface-2); }
.cookie-table code { overflow-wrap: anywhere; }
@media (max-width: 640px) { .cookie-table { display: block; overflow-x: auto; } }

/* Generic WP page content */
.entry-content { max-width: 72ch; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content a { color: var(--teal); }
.entry-content img { border-radius: var(--r-box); }
.legal--no-toc { grid-template-columns: minmax(0, 1fr) !important; }
