/* BidLegals — public site.
   Apple-like calm: white and mist surfaces, large semibold type, pill buttons, no heavy shadows.
   Brand: navy #022655 and teal #0C4242 from the original BidLegals identity; lime only on dark teal. */

/* Onest (SIL Open Font License), self-hosted variable font split by script like Google Fonts serves it */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #ffffff;
  --mist: #f5f5f7;
  --mist-2: #e8e8ed;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #5e5e63;
  --faint: #8e8e93;
  --line: #d2d2d7;
  --line-soft: #e5e5ea;
  --navy: #022655;
  --navy-2: #0d3b78;
  --navy-tint: rgba(2, 38, 85, 0.08);
  --teal: #0c4242;
  --teal-2: #164f4a;
  --lime: #c7eb9e;
  --danger: #b42318;
  --ok: #1d6b4f;

  --font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --sec-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 88px;

  /* surface tokens, re-pointed by .sec--mist / .sec--dark */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --tile: var(--mist);
  --tile-hover: var(--mist-2);
  --rule: var(--line);
  --accent: var(--navy);
  --link: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' on;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(13, 59, 120, .55); outline-offset: 3px; border-radius: 6px; }

.sr-only, .hp { 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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(780px + 2 * var(--gutter)); }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.display { font-size: clamp(46px, 6.6vw, 96px); line-height: 1.0; letter-spacing: -0.045em; font-weight: 600; }
.h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: -0.005em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--fg-2); }
.lead p + p { margin-top: .8em; }
.sec-head .lead { margin-top: 18px; max-width: 680px; }
.lead--hero { font-size: clamp(19px, 1.6vw, 22px); max-width: 600px; }
.note { font-size: 14px; line-height: 1.5; color: var(--fg-2); max-width: 760px; }
.note p + p { margin-top: .5em; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill); border: 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--secondary { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.more { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-weight: 500; text-decoration: none; }
.more .i { width: 15px; height: 15px; stroke-width: 2.4; transition: transform .2s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover .i { transform: translateX(3px); }
.more--lg { font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--rule); }
.chips--hero { margin-top: 28px; }

/* ---------- navigation ---------- */
/* the blur lives on ::before: a backdrop-filter on .nav itself would trap the fixed mobile sheet inside the bar */
.nav { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); transition: transform .32s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav__bar { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav__logo { display: flex; align-items: center; flex: none; border-radius: 4px; }
.nav__logo img { height: 60px; width: auto; }
.nav__menu { flex: 1; display: flex; align-items: center; gap: 20px; min-width: 0; }
.nav__list { flex: 1; display: flex; justify-content: center; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--pill);
  font-size: 15px; font-weight: 450; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; transition: color .15s, background-color .15s;
}
.nav__link:hover, .nav__group.is-open > .nav__link { color: var(--ink); background: rgba(0, 0, 0, .045); }
.nav__link[aria-current="page"], .nav__toggle[data-current] { color: var(--ink); font-weight: 600; }
.nav__caret { width: 13px; height: 13px; stroke-width: 2.4; transition: transform .2s var(--ease); }
.nav__group { position: relative; }
.nav__group.is-open .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 50%; top: calc(100% + 8px); min-width: 260px; padding: 8px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: var(--r-md); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 18px 48px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.nav__sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__group.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) and (min-width: 1081px) {
  .nav__group:hover .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav__group:hover .nav__caret { transform: rotate(180deg); }
}
.nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav__sub a:hover { background: var(--mist); color: var(--ink); }
.nav__sub a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__extra { display: flex; align-items: center; gap: 14px; flex: none; }

.langs { display: inline-flex; padding: 3px; border-radius: var(--pill); background: rgba(0, 0, 0, .05); }
.langs a { padding: 4px 10px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; letter-spacing: .01em; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--pill); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger .i { width: 24px; height: 24px; }
.nav__burger .i--close { display: none; }

@media (max-width: 1080px) {
  /* blur behind a sticky bar is expensive while scrolling on phones; a near-opaque bar reads the same */
  .nav::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: none;
    flex-direction: column; align-items: stretch; gap: 28px; padding: 16px var(--gutter) 40px;
    background: rgba(255, 255, 255, .98); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open .nav__menu { display: flex; animation: sheet .28s var(--ease); }
  .nav.is-open .i--open { display: none; }
  .nav.is-open .i--close { display: block; }
  .nav__list { flex: none; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 2px; font-size: 22px; font-weight: 500; color: var(--ink); border-radius: 0; }
  .nav__link:hover, .nav__group.is-open > .nav__link { background: none; }
  .nav__sub { position: static; transform: none; min-width: 0; padding: 0 0 12px; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; }
  .nav__group.is-open .nav__sub { display: block; transform: none; }
  .nav__sub a { font-size: 17px; padding: 10px 2px; color: var(--muted); }
  .nav__extra { justify-content: space-between; }
  body.nav-locked { overflow: hidden; }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- sections & surfaces ---------- */
.sec { padding: var(--sec-y) 0; background: var(--bg); color: var(--fg); }
.sec--mist { --bg: var(--mist); --tile: var(--paper); --tile-hover: #fbfbfd; }
.sec--dark {
  --bg: var(--teal); --fg: #fff; --fg-2: rgba(255, 255, 255, .74); --tile: rgba(255, 255, 255, .07); --tile-hover: rgba(255, 255, 255, .11);
  --rule: rgba(255, 255, 255, .18); --accent: var(--lime); --link: var(--lime);
}
.sec--dark :focus-visible { outline-color: var(--lime); }
.sec--dark .btn--primary { background: #fff; color: var(--teal); }
.sec--dark .btn--primary:hover { background: var(--lime); }
.sec--dark .btn--secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
/* adjacent sections on the same surface share one gap instead of two */
.sec--white + .sec--white, .sec--mist + .sec--mist { padding-top: 0; }
.sec.is-compact { --sec-y: clamp(40px, 5vw, 72px); }
.sec.is-hero { padding-top: clamp(48px, 7vw, 104px); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec-head__main { max-width: 820px; }
/* editorial head: the claim on the left, the explanation on the right, sitting on one baseline */
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 20px clamp(32px, 6vw, 96px); }
.sec-head--split .sec-head__lead { margin: 0; max-width: 520px; padding-bottom: 6px; }
.sec-head__aside { flex: none; padding-bottom: 6px; }
.sec-foot { margin-top: clamp(32px, 4vw, 48px); }
.sec-foot--split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* one restrained grade so photos from different sources read as a single series (people and logos untouched) */
.card__media img, .hero__img, .split__media img, .post-card__media img, .post__cover img { filter: saturate(.78) contrast(1.04) brightness(1.02); }
.card.is-link:hover .card__title { color: var(--accent); }
.card__title { transition: color .2s var(--ease); }

/* quote: the firm's voice, set large and signed */
.quote { margin: 0; max-width: 1040px; }
.quote__text { margin: 0; }
.quote__text p { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; color: var(--fg); text-wrap: balance; }
.quote__text p::before { content: ''; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--teal); margin-bottom: clamp(24px, 3vw, 36px); }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 3vw, 40px); font-size: 15px; color: var(--fg-2); }
.quote__by strong { display: block; color: var(--fg); font-size: 17px; font-weight: 600; }
.quote__photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--tile); }
.quote__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--1 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- placeholders (until real photos are uploaded) ---------- */
.ph { width: 100%; height: 100%; min-height: 100%; background-color: var(--mist-2); position: relative; }
.ph::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(2, 38, 85, .16) 1.1px, transparent 1.4px); background-size: 16px 16px; mask-image: radial-gradient(120% 90% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000, transparent 75%); }
.ph--0 { background: radial-gradient(120% 120% at 85% 10%, #dfe8f5, #c9d6ea 55%, #b9c9e2); }
.ph--1 { background: radial-gradient(110% 120% at 80% 0%, #164a8f, #022655 60%, #011a3d); }
.ph--2 { background: radial-gradient(110% 120% at 80% 0%, #2a6a62, #0c4242 60%, #082f2f); }
.ph--3 { background: radial-gradient(120% 120% at 20% 0%, #f1f4f8, #dde5ef 60%, #cfdae8); }
.ph--4 { background: radial-gradient(120% 120% at 85% 10%, #e9f5dc, #cfe3c9 55%, #a9cbbf); }
.ph--5 { background: radial-gradient(120% 120% at 20% 10%, #f2f2f5, #e1e1e7 60%, #d2d2da); }
.ph--1::after, .ph--2::after { background-image: radial-gradient(rgba(255, 255, 255, .22) 1.1px, transparent 1.4px); }
.ph { display: grid; place-items: center; overflow: hidden; }
.ph__glyph {
  position: relative; z-index: 1; width: clamp(64px, 22%, 112px); aspect-ratio: 1; border-radius: 28%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 20px 40px -18px rgba(2, 38, 85, .35);
}
.ph__glyph svg { width: 48%; height: 48%; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph--1 .ph__glyph, .ph--2 .ph__glyph { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 20px 40px -18px rgba(0, 0, 0, .5); }
.ph--1 .ph__glyph svg, .ph--2 .ph__glyph svg { stroke: #fff; }
.ph--2 .ph__glyph svg { stroke: var(--lime); }

/* ---------- hero ---------- */
.hero { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero--home { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.hero--page { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero--page .display { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.04em; }
.hero--simple { grid-template-columns: minmax(0, 880px); }
.hero--simple .display { font-size: clamp(42px, 5.6vw, 84px); }
.hero__copy .eyebrow { margin-bottom: 20px; }
.hero__copy .lead { margin-top: 28px; }
.hero__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; background: var(--mist); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }

.seg { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: var(--pill); background: var(--mist); margin-bottom: 32px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.sec--mist .seg { background: var(--mist-2); }
.seg__item { flex: none; padding: 8px 18px; border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.seg__item:hover { color: var(--ink); }
.seg__item.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg--filters { margin-bottom: 36px; }

.hero-stats { display: grid; gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.hero-stats--2 { grid-template-columns: repeat(2, 1fr); }
.hero-stats--3 { grid-template-columns: repeat(3, 1fr); }
.hero-stats--4 { grid-template-columns: repeat(4, 1fr); }
.hero-stats dt { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hero-stats dd { margin: 6px 0 0; font-size: 15px; color: var(--fg-2); max-width: 240px; }

/* animated tiles (public/js/anim.js); the gradient is what shows before or without JS */
.anim { position: relative; width: 100%; height: 100%; min-height: 100%; overflow: hidden; background: radial-gradient(120% 120% at 80% 10%, #1d6b62, #0c4242 50%, #062626); }
.anim::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.1px, transparent 1.4px); background-size: 16px 16px; }
.anim.is-live::after { display: none; }
.anim__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card--media.is-link:hover .card__media .anim { transform: none; }

/* hero globe (canvas, see public/js/globe.js); the route map below is its no-JS fallback */
.globe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; margin-left: auto; touch-action: pan-y; }
.globe__canvas { position: absolute; inset: 0; display: block; }
.globe.is-live .route { visibility: hidden; }

/* route map: the one orchestrated moment on the site */
.route { margin: 0; position: relative; }
.route::before { content: ''; position: absolute; inset: 6% 4% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 59, 120, .10), transparent); filter: blur(10px); }
.route svg { position: relative; width: 100%; height: auto; overflow: visible; }
.route__grid circle { fill: rgba(2, 38, 85, .2); }
.route__arc { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.route__arc--faint { stroke-opacity: .32; stroke-width: 1.6; }
.route__halo { fill: rgba(2, 38, 85, .1); }
.route__dot { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.route__node text { font-family: var(--font); font-size: 17px; font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
@media (prefers-reduced-motion: no-preference) {
  .route__arc { stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.65, 0, .35, 1) forwards; animation-delay: calc(.55s + var(--i) * .45s); }
  .route__node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .45s); }
  .route__halo { transform-box: fill-box; transform-origin: center; animation: halo 1.4s var(--ease) both; animation-delay: calc(.4s + var(--i) * .45s); }
  .is-hero .hero__copy > * { animation: rise .8s var(--ease) both; }
  .is-hero .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .is-hero .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .is-hero .hero__copy > :nth-child(n+4) { animation-delay: .18s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes halo { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: var(--r-lg); min-width: 0; }
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-size: 14px; font-weight: 500; color: var(--fg-2); margin-bottom: 10px; }
.card__value { font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent); margin-bottom: 12px; }
.card__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.22; letter-spacing: -0.02em; }
.card__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--fg-2); }
.card__text p + p { margin-top: .6em; }
.card__note { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--fg-2); }
.card .checks { margin-top: 16px; }
.more--card { margin-top: auto; padding-top: 22px; font-size: 16px; }
.card.is-link:hover .more--card .i { transform: translateX(3px); }

.card--tiles { background: var(--tile); padding: clamp(24px, 2.6vw, 34px); transition: background-color .2s var(--ease); }
.card--tiles.is-link:hover { background: var(--tile-hover); }
.card--plain { padding-top: 22px; border-top: 1px solid var(--rule); border-radius: 0; }
.card--media .card__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.card--media .card__media img, .card--media .card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card--media.is-link:hover .card__media img, .card--media.is-link:hover .card__media .ph { transform: scale(1.03); }
.card--media .card__body { padding: 22px 4px 0; }
.grid--2 .card--media .card__media { aspect-ratio: 16 / 10; }
.card__media--small { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 20px; }
.card__media--small img { width: 100%; height: 100%; object-fit: cover; }

/* duo: two equal light tiles, each listing what that audience gets; an icon tells them apart */
.card--duo {
  border-radius: var(--r-xl); padding: clamp(28px, 3.6vw, 52px); min-height: 440px; background: var(--tile);
  --accent: var(--teal); --link: var(--teal);
  box-shadow: inset 0 0 0 1px transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card--duo.is-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(12, 66, 66, .22); }
/* card icons in the site's own language: a small teal tile with the dot grid of the globe and a lime line glyph */
.card__icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 24px; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #1d6b62, var(--teal) 55%, #082f2f);
  box-shadow: 0 14px 30px -16px rgba(12, 66, 66, .65);
}
.card__icon::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1.3px); background-size: 8px 8px; mask-image: radial-gradient(90% 90% at 75% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(90% 90% at 75% 20%, #000, transparent 75%); }
.card__icon svg { position: relative; width: 34px; height: 34px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card--tiles .card__icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }
.card--tiles .card__icon svg { width: 30px; height: 30px; }
.card--duo .card__kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.card--duo .card__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.card--duo .card__text { margin-top: 14px; font-size: 17px; max-width: 440px; }
.card--duo .checks { margin-top: 28px; }
.card--duo .checks li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; color: var(--fg); }
.card--duo .checks .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.card--duo .more--card { padding-top: 28px; font-size: 17px; color: var(--link); }

.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--fg); }
.checks .i { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); stroke-width: 2.4; }
.checks--sm li { font-size: 15px; color: var(--fg-2); padding: 4px 0; }
.checks--sm .i { width: 16px; height: 16px; margin-top: 3px; }

.chip-row { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.chip-row__title { font-size: 15px; font-weight: 600; }

/* rows: an Apple-style list for sectors */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.6fr) 24px; gap: 12px 40px; align-items: center; padding: 28px 4px; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.row__title { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; transition: color .2s; }
.row__text { color: var(--fg-2); font-size: 16px; }
.row__chev { width: 22px; height: 22px; color: var(--faint); transition: transform .25s var(--ease), color .2s; }
.row.is-link:hover .row__title { color: var(--accent); }
.row.is-link:hover .row__chev { transform: translateX(4px); color: var(--accent); }

/* ---------- checklist ---------- */
.checklist { display: grid; gap: 0 clamp(24px, 4vw, 64px); }
.checklist--1 { grid-template-columns: 1fr; max-width: 820px; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--rule); }
.checklist .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); stroke-width: 2.6; flex: none; }
.sec--dark .checklist .i { background: rgba(199, 235, 158, .16); color: var(--lime); }
.checklist__title { font-weight: 500; font-size: 17px; line-height: 1.4; padding-top: 2px; }
.checklist__text { margin-top: 4px; font-size: 15px; color: var(--fg-2); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
.steps--row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.steps--row .step { position: relative; padding-top: 64px; }
.steps--row .step::before { content: ''; position: absolute; top: 22px; left: 44px; right: -24px; height: 2px; background: var(--rule); }
.steps--row .step:last-child::before { display: none; }
.steps--row .step__num { position: absolute; top: 0; left: 0; }
.step__num { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--pill); background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sec--dark .step__num { background: var(--lime); color: var(--teal); }
.step__title { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
.step__text { margin-top: 8px; font-size: 15px; color: var(--fg-2); }
.step__text p + p { margin-top: .5em; }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.steps--grid .step { background: var(--tile); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 32px); }
.steps--grid .step__num { margin-bottom: 22px; }

/* ---------- stats ---------- */
.stats { display: grid; gap: clamp(24px, 3vw, 40px); }
.stats--1 { grid-template-columns: 1fr; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding-top: 22px; border-top: 1px solid var(--rule); }
.stat__value { font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent); }
.stat dd { margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 17px; font-weight: 500; line-height: 1.35; }
.stat__text { font-size: 15px; color: var(--fg-2); }
.stat--plain .stat__value { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1.2; color: var(--fg); }
.stat--plain dd { margin-top: 8px; }
.checks--panel li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 17px; }
.checks--panel li:first-child { border-top: 0; padding-top: 0; }
.stats-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stats-media .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-media__img { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.stats-media__img img { width: 100%; height: auto; }
/* stats as a statement: heading on the left, one ruled line per figure */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.ledger-wrap { grid-template-rows: auto 1fr; }
.ledger-wrap__rows { grid-column: 2; grid-row: 1 / span 2; }
.ledger-wrap__foot { grid-column: 1; grid-row: 2; }
.ledger-wrap .sec-head { margin-bottom: 28px; }
.ledger { margin: 0; border-top: 1px solid var(--fg); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.ledger__value { font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; }
.ledger dd { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ledger__label { font-size: 17px; font-weight: 500; line-height: 1.35; }
.ledger__text { font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.b-stats .note { margin-top: 32px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--left .split__media, .split--left .split__panel { order: -1; }
.split--single { grid-template-columns: minmax(0, 820px); }
.split .sec-head { margin-bottom: 0; }
.split .sec-head .lead { margin-top: 20px; }
.split__copy > * + * { margin-top: 28px; }
.split__copy .sec-head + * { margin-top: 28px; }
.highlight { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.split__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tile); }
.split__media img, .split__media .ph { width: 100%; height: 100%; object-fit: cover; }
.split__panel { background: var(--tile); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); }

.numbered__title { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.numbered ol li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--rule); }
.numbered ol li:first-child { border-top: 0; }
.numbered__label { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); font-size: 14px; font-weight: 600; }
.sec--dark .numbered__label { background: rgba(199, 235, 158, .16); color: var(--lime); }
.numbered__label:empty { visibility: hidden; }
.numbered__name { font-size: 17px; font-weight: 500; padding-top: 4px; }
.numbered__text { margin-top: 4px; font-size: 15px; color: var(--fg-2); }
.split__copy .numbered { margin-top: 32px; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.compare__col { border-radius: var(--r-xl); padding: clamp(28px, 3.2vw, 44px); }
.compare__col--left { background: var(--tile); }
.compare__col--right { background: var(--navy); color: #fff; }
.sec--dark .compare__col--right { background: #fff; color: var(--ink); }
.compare__label { font-size: 14px; font-weight: 600; color: var(--fg-2); margin-bottom: 10px; }
.compare__col--right .compare__label { color: rgba(255, 255, 255, .7); }
.sec--dark .compare__col--right .compare__label { color: var(--navy); }
.compare__title { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 24px; }
.compare ol { counter-reset: c; }
.compare li { counter-increment: c; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid currentColor; border-color: rgba(127, 127, 127, .22); font-size: 16px; }
.compare li::before { content: counter(c); font-weight: 600; opacity: .55; }
.compare__col--left li { color: var(--fg-2); }
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.highlights div { padding-top: 18px; border-top: 1px solid var(--rule); }
.highlights dt { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.highlights dd { margin: 6px 0 0; font-size: 15px; color: var(--fg-2); }

/* ---------- callouts ---------- */
.callouts__title { margin-bottom: 28px; }
.callout { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--tile); }
.callout__icon { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.8; margin-bottom: 4px; }
.callout__title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.02em; }
.callout__text { color: var(--fg-2); font-size: 16px; }
.callout .btn { margin-top: auto; }
.callout .callout__text + .btn { margin-top: 12px; }
.notes { display: grid; gap: 12px; max-width: 860px; }
.notes li { display: flex; gap: 12px; font-size: 15px; color: var(--fg-2); }
.notes .i { width: 20px; height: 20px; margin-top: 2px; color: var(--faint); }
.notes strong { color: var(--fg); font-weight: 600; }

/* ---------- cta ---------- */
.cta { text-align: center; max-width: calc(860px + 2 * var(--gutter)); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta .lead { max-width: 620px; }
.cta__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 17px; }
.cta__contacts a { color: var(--link); text-decoration: none; }
.cta__contacts a:hover { text-decoration: underline; }

/* ---------- contact & forms ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact .sec-head { margin-bottom: 36px; }
.person { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.person__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--mist-2); }
.person__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.person__role { font-size: 15px; color: var(--fg-2); margin-top: 2px; }
.contacts { margin-top: 20px; display: grid; gap: 4px; }
.contacts a { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; font-size: 17px; }
.contacts a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contacts .i { width: 20px; height: 20px; color: var(--fg-2); stroke-width: 1.8; }
.contacts small { font-size: 14px; color: var(--fg-2); }

.contact__form { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 24px 60px -30px rgba(2, 38, 85, .25); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea, .subscribe input[type="email"] {
  width: 100%; padding: 13px 16px; font-size: 17px; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); appearance: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5e63' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus, .subscribe input[type="email"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(2, 38, 85, .12); }
.field.is-invalid input { border-color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); cursor: pointer; }
.consent a { color: var(--navy); }
.consent--sm { margin-top: 14px; font-size: 13px; }
.form__status { font-size: 15px; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); font-weight: 500; }
.form__status.is-err { color: var(--danger); }
.contact__form > .form__status.is-ok { padding: 14px 18px; margin-bottom: 18px; border-radius: var(--r-sm); background: rgba(29, 107, 79, .08); }
.form.is-done > :not(.form__status) { display: none; }
.form.is-done .form__status { font-size: 19px; padding: 24px 0; }

/* ---------- posts ---------- */
.posts { align-items: start; }
.post-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; min-width: 0; }
.post-card__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tile); }
.post-card__media img, .post-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img, .post-card:hover .post-card__media .ph { transform: scale(1.03); }
.post-card__media--metric { display: flex; align-items: flex-end; padding: 28px; background: var(--navy); color: #fff; }
.post-card__body { padding: 18px 2px 0; }
.post-card__title { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; margin-top: 8px; }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__excerpt { margin-top: 8px; font-size: 16px; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.is-draft { opacity: .6; }
.post-card--featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.post-card--featured .post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-xl); }
.post-card--featured .post-card__title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.03em; }
.post-card--featured .post-card__excerpt { font-size: 18px; -webkit-line-clamp: 4; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--fg-2); }
.tag { color: var(--accent); font-weight: 600; }
.metric { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.metric strong { font-size: 30px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--accent); }
.post-card__media--metric .metric strong { font-size: clamp(36px, 4vw, 54px); color: #fff; }
.metric span { font-size: 14px; color: var(--fg-2); }
.post-card__media--metric .metric span { color: rgba(255, 255, 255, .75); font-size: 15px; }
.metric--lg strong { font-size: clamp(44px, 5vw, 72px); }
.empty { border-radius: var(--r-xl); background: var(--tile); padding: clamp(36px, 5vw, 64px); text-align: center; color: var(--fg-2); font-size: 18px; }

/* single post */
.post { padding: clamp(40px, 6vw, 88px) 0 var(--sec-y); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .i { width: 13px; height: 13px; color: var(--faint); }
.post__head .meta { margin-bottom: 18px; }
.post__head .lead { margin-top: 24px; }
.post__time { margin-top: 18px; font-size: 14px; color: var(--muted); }
.post__cover { margin: clamp(32px, 4vw, 56px) auto 0; }
.post__cover img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16 / 8; object-fit: cover; }
.post__body { margin-top: clamp(32px, 4vw, 56px); }
.case-facts { margin-top: 40px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--mist); }
.case-facts dl { margin: 0; display: grid; gap: 0; }
.case-facts .metric { margin: 0 0 24px; }
.case-facts dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.case-facts dt { font-weight: 600; }
.case-facts dd { margin: 0; color: var(--ink-2); }

/* rich text */
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 18px; color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--faint); }
.prose a { color: var(--navy); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--navy); font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose img { border-radius: var(--r-lg); height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.b-richtext .sec-head { margin-bottom: 32px; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.person-card__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); margin-bottom: 18px; }
.person-card__photo img, .person-card__photo .ph { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-card__name { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.person-card__role { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--accent); }
.person-card__text { margin-top: 10px; font-size: 15px; color: var(--fg-2); }
.person-card__meta { margin-top: 10px; font-size: 13px; color: var(--faint); }

.team-compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 20px; }
.team-compact li { text-align: center; }
.team-compact__photo { width: clamp(96px, 9vw, 128px); aspect-ratio: 1; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--tile); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--rule); }
.team-compact__photo img, .team-compact__photo .ph { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team-compact__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.team-compact__role { margin-top: 2px; font-size: 14px; color: var(--fg-2); }
.b-team .sec-foot { text-align: center; }

/* logos */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.logos__title { flex: 0 0 auto; max-width: 260px; font-size: 15px; font-weight: 500; color: var(--fg-2); }
.logos__list { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logos__list li { height: 92px; border-radius: var(--r-md); background: var(--tile); display: grid; place-items: center; padding: 16px 22px; }
.logos__list li > a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos__list img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; border-radius: 6px; }

/* subscribe */
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: center; }
.sec--white .subscribe { background: var(--mist); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); max-width: calc(var(--wrap)); }
.subscribe .lead { margin-top: 10px; font-size: 17px; }
.subscribe__row { display: flex; gap: 10px; }
.subscribe__row input { flex: 1; min-width: 0; }
.subscribe__form .form__status { margin-top: 12px; }
.subscribe__form.is-done .subscribe__row, .subscribe__form.is-done .consent { display: none; }

/* ---------- footer: dark teal, white text, lime accents ---------- */
.footer { background: var(--teal); color: rgba(255, 255, 255, .78); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 15px; }
.footer :focus-visible { outline-color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 48px; }
.footer__brand img { height: 76px; width: auto; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 300px; }
.footer__cities { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: rgba(255, 255, 255, .6); }
.footer__cities .i { width: 16px; height: 16px; }
.footer__title { font-size: 13px; font-weight: 600; color: var(--lime); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__contacts { gap: 4px; }
.footer__contacts a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 16px; font-weight: 500; }
.footer__contacts .i { width: 18px; height: 18px; color: var(--lime); stroke-width: 1.8; }
.footer__contacts small { margin-left: auto; padding-left: 12px; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .55); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__legal p:last-child:not(:first-child) { display: none; }

/* admin helpers on the public site */
.adminbar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: calc(100vw - 32px); }
.adminbar a, .adminbar span { padding: 9px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.adminbar a { background: var(--ink); color: #fff; }
.adminbar span { background: #fff4d6; color: #6b4b00; }

.maintenance { min-height: 100vh; display: grid; place-items: center; background: var(--mist); }
.maintenance main { display: grid; gap: 20px; padding: 48px var(--gutter); }
.maintenance .cta__contacts { justify-content: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4, .stats--4, .highlights, .hero-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .steps--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .steps--row .step::before { display: none; }
}
/* phones and tablets: a compact, fully visible globe crowns the home hero; the copy below stays
   left-aligned (long centred paragraphs are hard to read) and offers one clear action */
@media (max-width: 900px) {
  .hero--home { display: flex; flex-direction: column; gap: 20px; }
  .hero--home .hero__visual { order: -1; width: 100%; }
  .hero--home .globe { width: min(80vw, 340px); margin: 0 auto; }
  .hero--home .actions .more { display: none; }
  .is-hero:has(.hero--home) { padding-top: 8px; }
}
@media (max-width: 900px) {
  .hero--home, .hero--page, .split, .contact, .stats-media, .subscribe, .post-card--featured { grid-template-columns: minmax(0, 1fr); }
  .hero--home .hero__visual { max-width: 520px; }
  .split--left .split__media, .split--left .split__panel { order: 0; }
  .grid--3, .stats--3, .checklist--3, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) 24px; }
  .row__text { grid-column: 1; grid-row: 2; }
  .row__chev { grid-row: 1 / span 2; grid-column: 2; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split .sec-head__lead { padding-bottom: 0; }
  .ledger-wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
  .ledger-wrap__rows, .ledger-wrap__foot { grid-column: auto; grid-row: auto; }
  .ledger-wrap__foot { margin-top: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 72px; }
  .nav__logo img { height: 48px; }
  /* phones: shorter media and section gaps so text comes sooner */
  :root { --sec-y: 60px; }
  .hero__media, .split__media { aspect-ratio: 16 / 11; }
  .card--media .card__media, .grid--2 .card--media .card__media { aspect-ratio: 16 / 10; }
  .globe { max-width: 420px; margin: 0 auto; }
  .checklist li { padding: 14px 0; }
  .contact__form { padding: 22px 18px; border-radius: var(--r-lg); }
  .sec-head { margin-bottom: 28px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .posts--rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .posts--rail::-webkit-scrollbar { display: none; }
  .card--duo { min-height: 0; padding: 28px 22px; }
  .card--duo .checks { margin-top: 20px; }
  .posts--rail > * { flex: 0 0 84%; scroll-snap-align: start; }
  .person-card__name { font-size: 17px; }
  .grid--2, .grid--3, .grid--4, .stats--2, .stats--3, .stats--4, .checklist--2, .checklist--3, .compare, .highlights, .stats-media .stats { grid-template-columns: minmax(0, 1fr); }
  .hero-stats--2, .hero-stats--3, .hero-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--row { grid-template-columns: minmax(0, 1fr); }
  .steps--row .step { padding: 0 0 0 64px; min-height: 46px; }
  .steps--row .step::before { display: block; top: 52px; bottom: -18px; left: 22px; right: auto; width: 2px; height: auto; }
  /* phone footer: contacts first as big tap targets, services in two columns, short legal line */
  .footer { padding-top: 40px; font-size: 14px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer__brand img { height: 52px; margin-bottom: 12px; }
  .footer__title { margin-bottom: 8px; }
  .footer__brand .footer__cities { display: none; }
  .footer__contacts a { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .footer__col--services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
  .footer__col--company ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
  .footer__legal { margin-top: 28px; flex-direction: column; gap: 4px; }
  .footer__legal p:last-child:not(:first-child) { display: block; }
  .subscribe__row { flex-direction: column; }
  .case-facts dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .actions .btn { width: 100%; }
  .stat__value { font-size: 44px; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .ledger__value { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
