/* end2end Consulting — site stylesheet
   Identity: "A opció – Geometrikus jelmárka" (hexagon E2E mark, navy/blue/teal/green,
   Space Grotesk for headings, IBM Plex Sans for body text).
   Colours, fonts and radii are custom properties in :root — change them in one place.
   The two fonts are self-hosted from assets/fonts (no external requests). */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/space-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/space-grotesk-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;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/ibm-plex-sans-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: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/ibm-plex-sans-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 {
  /* brand palette (from the identity PDF) */
  --navy: #0B3049;
  --blue: #0E6C93;
  --teal: #0C8A80;
  --green: #2FA24C;
  --grad: linear-gradient(90deg, #0E6C93, #0C8A80 55%, #2FA24C);

  /* readable variants for text on light backgrounds */
  --blue-ink: #0E6C93;
  --teal-ink: #0A736B;
  --green-ink: #1F7A39;

  /* surfaces and text */
  --bg: #FFFFFF;
  --bg-soft: #F6F5F1;
  --card: #FFFFFF;
  --ink: #0F2433;
  --muted: #4F606C;
  --line: rgba(11, 48, 73, .12);
  --line-strong: rgba(11, 48, 73, .28);
  --wordmark: #0B3049;
  --focus: #0E6C93;

  /* world map: land, visited countries and the head office (change these to recolour the map) */
  --map-land: #DCE4E8;
  --map-visited: #0E6C93;
  --map-visited-hover: #0A5575;
  --map-hq: #2FA24C;
  --map-hq-hover: #1F7A39;

  /* project map widget */
  --pm-ocean-a: #F4FAFC; --pm-ocean-b: #E6F2F6; --pm-land: #FFFFFF; --pm-border: #C5DDE6;
  --pm-hl-1: #D5EEDB; --pm-hl-2: #7CCB92; --pm-st-kesz: #2FA24C; --pm-st-folyamatban: #0E6C93; --pm-st-elokeszites: #D6406F;

  /* dark bands (statement, CTA, footer) */
  --band: #0B3049;
  --band-ink: #EAF3F7;
  --band-muted: #A9C0CE;
  --on-dark-blue: #62BCE0;
  --on-dark-green: #7BD08F;

  /* buttons and chips */
  --btn-bg: #0B3049;
  --btn-ink: #FFFFFF;
  --btn-hover: #0E6C93;
  --chip-bg: #0B3049;
  --chip-ink: #FFFFFF;

  --shadow: 0 1px 2px rgba(11, 48, 73, .06), 0 14px 32px -16px rgba(11, 48, 73, .28);
  --radius: 16px;

  --font-head: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 80px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071C2B;
    --bg-soft: #0A2538;
    --card: #0E3047;
    --ink: #EAF3F7;
    --muted: #A9C0CE;
    --line: rgba(234, 243, 247, .14);
    --line-strong: rgba(234, 243, 247, .32);
    --blue-ink: #62BCE0;
    --teal-ink: #4FC7BB;
    --green-ink: #7BD08F;
    --wordmark: #EAF3F7;
    --grad: linear-gradient(90deg, #62BCE0, #4FC7BB 55%, #7BD08F);
    --focus: #62BCE0;
    --map-land: #1B4560;
    --map-visited: #62BCE0;
    --map-visited-hover: #8BD0EC;
    --map-hq: #7BD08F;
    --map-hq-hover: #A6E2B4;
    --pm-ocean-a: #0A2234; --pm-ocean-b: #0C2A3F; --pm-land: #143C57; --pm-border: #2F6585;
    --pm-hl-1: #2C6B4C; --pm-hl-2: #7BD08F; --pm-st-kesz: #7BD08F; --pm-st-folyamatban: #62BCE0; --pm-st-elokeszites: #F07AA5;
    --band: #0F3A55;
    --btn-bg: #62BCE0;
    --btn-ink: #06222F;
    --btn-hover: #8BD0EC;
    --chip-bg: rgba(255, 255, 255, .1);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 34px -16px rgba(0, 0, 0, .65);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 3.5vw + 1rem, 4rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--grad);
  border-radius: 2px; flex: none; margin-top: .62em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px -14px rgba(11, 48, 73, .5); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

/* logo lockup: hexagon mark + live wordmark */
.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: var(--wordmark); line-height: 1; }
.brand:hover { color: var(--wordmark); }
.brand-mark { display: block; height: 38px; width: auto; }
.brand-word { display: block; }
.brand-word b { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.brand-word b i { font-style: normal; color: var(--green); }
.brand-word small { display: block; margin-top: 6px; font-family: var(--font-head); font-size: .6rem; font-weight: 600; letter-spacing: .37em; text-transform: uppercase; line-height: 1; margin-right: -.37em; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.8vw, 26px); }
.site-nav ul a {
  display: block; padding: 8px 2px; text-decoration: none; color: var(--muted);
  font-size: .95rem; font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav ul a:hover { color: var(--ink); border-color: var(--line-strong); }
.site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="location"] { color: var(--ink); font-weight: 600; border-color: var(--green); }

.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.lang-switch > * { padding: 6px 11px; text-decoration: none; color: var(--muted); line-height: 1.3; }
.lang-switch [aria-current="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.lang-switch a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; margin-right: -8px;
  background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.burger, .burger::before, .burger::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px clamp(20px, 4vw, 48px) 22px;
    box-shadow: 0 22px 30px -22px rgba(11, 48, 73, .5);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .js .site-nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .js .site-nav ul a[aria-current="page"], .js .site-nav ul a[aria-current="location"] { border-bottom-color: var(--green); }
  .js .lang-switch { align-self: flex-start; margin-top: 18px; }
  /* without JavaScript the menu simply wraps below the logo */
  html:not(.js) .bar { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav, html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 1.5px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-ink);
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: -.005em; text-decoration: none;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-ink); transform: translateY(-1px); }
.btn::after { content: "→"; font-weight: 500; transition: transform .15s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--on-dark-blue); border-color: var(--on-dark-blue); color: #06222F; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { font-family: var(--font-head); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.text-link::after { content: "→"; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 34px; padding: 0; }
.chips li {
  padding: 7px 18px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink);
  font-family: var(--font-head); font-size: .9rem; font-weight: 600; letter-spacing: .005em;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  opacity: .7;
}
/* oversized hexagon mark as a quiet watermark */
.hero::after, .page-head::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background: url("../img/end2end-mark.png") no-repeat center / contain;
  opacity: .075;
}
.hero::after { width: 760px; height: 511px; right: -140px; top: -120px; }
.page-head::after { width: 460px; height: 309px; right: -60px; bottom: -70px; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(36px, 5vw, 72px);
  align-items: center; padding-block: clamp(52px, 8vw, 104px);
}
.hero h1 { font-size: clamp(2.2rem, 2.7vw + 1rem, 3.5rem); }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 58ch; margin: 26px 0 26px; font-size: clamp(1.06rem, .4vw + 1rem, 1.2rem); color: var(--muted); }

.route-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.route-card .route-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.route-card .route-title b { color: var(--blue-ink); font-weight: 700; letter-spacing: .04em; text-transform: none; font-size: .95rem; }

.route { list-style: none; margin: 0; padding: 0; }
.route li { position: relative; padding: 0 0 20px 42px; }
.route li:last-child { padding-bottom: 0; }
.route li::before { /* connector */
  content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--blue), var(--green));
}
.route li:last-child::before { display: none; }
.route li::after { /* node */
  content: ""; position: absolute; left: 3px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--green);
}
.route li:first-child::after, .route li:last-child::after { background: var(--blue); border-color: var(--blue); }
.route strong { display: block; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.route span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::after { width: 520px; height: 350px; right: -140px; top: -40px; }
}

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 2.6vw + 1rem, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--blue-ink); }
.stat span { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(60px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 18px 0 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card p + p { margin-top: .8em; }
.card .kicker { display: block; margin-bottom: 18px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.card--accent { border-top: 3px solid var(--blue); }
.card--accent:nth-child(even) { border-top-color: var(--teal); }
.card--accent:nth-child(3n) { border-top-color: var(--green); }

.value { padding-top: 22px; border-top: 2px solid var(--line-strong); position: relative; }
.value::before { content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--green); }
.value:nth-child(odd)::before { background: var(--blue); }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- statement / bands ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--on-dark-green); }
.band p { color: var(--band-muted); }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%); mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.band .wrap { position: relative; }
.statement { max-width: 920px; }
.statement h2 { font-size: clamp(2rem, 2.6vw + 1.1rem, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.statement h2 em { font-style: normal; color: var(--on-dark-blue); }

.endline { display: flex; align-items: center; margin-top: 34px; max-width: 360px; }
.endline::before, .endline::after { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.endline::before { background: var(--on-dark-blue); }
.endline::after { background: var(--on-dark-green); }
.endline span { flex: 1; height: 2px; background: linear-gradient(90deg, var(--on-dark-blue), var(--on-dark-green)); }

.cta-section { padding-block: clamp(36px, 5vw, 72px); }
.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding: clamp(32px, 5vw, 60px); border-radius: 24px;
}
.cta-box::before { border-radius: inherit; }
.cta-box h2 { font-size: clamp(1.7rem, 1.6vw + 1.1rem, 2.5rem); max-width: 20ch; }
.cta-box p { margin: 12px 0 0; max-width: 52ch; }

/* ---------- quote ---------- */
.quote { margin: 0; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); }
.quote p { margin: 0 0 22px; font-family: var(--font-head); font-size: clamp(1.2rem, .8vw + 1rem, 1.6rem); line-height: 1.45; letter-spacing: -.015em; font-weight: 500; text-wrap: balance; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--muted); }
.quote cite b { color: var(--ink); display: block; font-family: var(--font-head); }

/* ---------- page heads (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(52px, 7vw, 92px) clamp(44px, 6vw, 76px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 21ch; font-size: clamp(2.1rem, 3vw + 1rem, 3.5rem); }
.page-head .lead { max-width: 66ch; margin: 24px 0 0; font-size: clamp(1.05rem, .4vw + 1rem, 1.2rem); color: var(--muted); }

/* ---------- services ---------- */
.life { counter-reset: life; }
.life .card { position: relative; padding-top: 58px; }
.life .card::before {
  counter-increment: life; content: counter(life, decimal-leading-zero);
  position: absolute; left: clamp(22px, 2.6vw, 32px); top: 22px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--blue-ink);
}
.life .card::after { content: ""; position: absolute; left: clamp(22px, 2.6vw, 32px); top: 44px; width: 28px; height: 2px; background: var(--green); }
.life h3 { font-size: 1.08rem; }
.life p { font-size: .95rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 18%, transparent); border: 2px solid var(--green);
}
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.32em + 4px); width: 5px; height: 9px; border: solid var(--green-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .section-head { margin-bottom: 0; }

/* ---------- references ---------- */
.sector .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: color-mix(in srgb, var(--blue) 55%, transparent); display: block; margin-bottom: 18px; }

/* ---------- world map ---------- */
.map-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(14px, 2.4vw, 28px); box-shadow: var(--shadow); }
.map-wrap { position: relative; }
.map-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.world-map { display: block; width: 100%; min-width: 760px; height: auto; }
.world-map path { fill: var(--map-land); stroke: var(--card); stroke-width: .6px; vector-effect: non-scaling-stroke; transition: fill .2s ease; }
.world-map path.visited { fill: var(--map-visited); cursor: pointer; outline: none; }
.world-map path.visited.hq { fill: var(--map-hq); }
.world-map path.visited:hover, .world-map path.visited.is-active { fill: var(--map-visited-hover); }
.world-map path.visited.hq:hover, .world-map path.visited.hq.is-active { fill: var(--map-hq-hover); }
.world-map path.visited:focus-visible { stroke: var(--ink); stroke-width: 2px; }
.pin-pulse { fill: var(--map-hq); opacity: .3; transform-box: fill-box; transform-origin: center; }
.pin-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; fill: var(--ink); stroke: var(--card); stroke-width: 3px; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .pin-pulse { animation: pin-pulse 2.6s ease-out infinite; }
  @keyframes pin-pulse { 0% { transform: scale(.7); opacity: .45; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
}
.badge { cursor: pointer; }
.badge circle { fill: var(--map-visited-hover); stroke: var(--card); stroke-width: 2px; vector-effect: non-scaling-stroke; transition: stroke .15s ease; }
.badge.hq circle { fill: var(--map-hq-hover); }
.badge.is-active circle { stroke: var(--ink); }
.badge text { fill: var(--btn-ink); font-family: var(--font-head); font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-total { margin: 0; font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--muted); }
.map-total b { font-size: 1.7rem; letter-spacing: -.03em; color: var(--ink); margin-right: 2px; }
.map-total:empty { display: none; }
.cnt { font-style: normal; font-size: .78rem; font-weight: 700; padding: 0 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); }
.cnt:empty { display: none; }
.map-tip {
  position: absolute; z-index: 2; left: 0; top: 0; transform: translate(-50%, calc(-100% - 10px));
  background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 14px; line-height: 1.3; white-space: nowrap; pointer-events: none;
  box-shadow: 0 10px 24px -10px rgba(11, 48, 73, .6);
}
.map-tip b { display: block; font-family: var(--font-head); font-size: .98rem; }
.map-tip span { font-size: .82rem; color: #BFD3DE; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.map-chips, .map-key { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.map-key { gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.map-key li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 50%; background: var(--map-visited); flex: none; display: inline-block; }
.sw--hq { background: var(--map-hq); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.chip small { font-size: .8rem; color: var(--muted); }
.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--bg-soft); }
.map-hint { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- project list ---------- */
.proj-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 18px; }
.proj-filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.proj-filter[hidden] { display: none; }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.chip[aria-pressed="true"] small { color: inherit; opacity: .75; }
.proj-count { margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.proj-list { display: grid; gap: 10px; }
.proj { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.proj[hidden] { display: none; }
.proj:hover, .proj[open] { border-color: var(--line-strong); }
.proj[open] { box-shadow: var(--shadow); }
.proj > summary, .proj-head {
  display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: start; gap: 6px 24px; padding: 18px 56px 18px 22px; position: relative;
}
.proj > summary { cursor: pointer; list-style: none; }
.proj > summary::-webkit-details-marker { display: none; }
.proj > summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border: solid var(--blue-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.proj[open] > summary::after { transform: rotate(-135deg); margin-top: -3px; }
.proj .t b { display: block; font-family: var(--font-head); font-size: 1.04rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.proj .t small { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); }
.proj .period { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.proj .period small { display: block; margin-bottom: 1px; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.proj-note { margin: -8px 0 14px; font-size: .88rem; color: var(--muted); }
.proj .phases { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ph { display: inline-flex; align-items: center; gap: 5px; padding: 2px 11px; border: 1px dashed var(--line-strong); border-radius: 999px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; line-height: 1.6; color: var(--muted); opacity: .6; }
.ph.on { opacity: 1; border-style: solid; border-color: transparent; color: #fff; }
.ph.on::before { content: "\2713"; font-size: .72rem; font-weight: 700; }
.ph[data-p="idea"].on { background: #0E6C93; }
.ph[data-p="prep"].on { background: #0B7686; }
.ph[data-p="bid"].on { background: #0A7B73; }
.ph[data-p="impl"].on { background: #13804F; }
.ph[data-p="close"].on { background: #1F7A39; }
.proj-body { padding: 0 22px 22px; max-width: 78ch; }
.proj-body p { margin: 0 0 .8em; color: var(--muted); font-size: 1rem; }
.proj-body ul { margin: 0 0 .9em; padding-left: 1.2em; color: var(--muted); }
.proj-body li { margin-bottom: .4em; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.proj-meta div { display: grid; gap: 2px; }
.proj-meta dt { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proj-meta dd { margin: 0; font-weight: 500; font-size: .95rem; }
.proj-foot { margin: 32px 0 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 720px) {
  .proj > summary, .proj-head { grid-template-columns: 1fr auto; padding-right: 48px; }
  .proj .t { grid-column: 1 / -1; }
  .proj .period { grid-column: 1; }
  .proj > summary::after { top: 28px; margin-top: 0; }
  .proj[open] > summary::after { margin-top: 5px; }
}

/* ---------- home page: one overview section per subpage ---------- */
.sec-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-top .section-head { margin-bottom: 0; flex: 1 1 560px; }
.sec-link { flex: none; font-size: .95rem; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; }
.sec-link:hover { border-color: var(--ink); color: var(--ink); }
.sub-block { margin-top: clamp(44px, 6vw, 72px); }
.sub-title { font-size: clamp(1.35rem, 1vw + 1rem, 1.8rem); margin-bottom: 24px; }
.sub-block > .eyebrow { margin-bottom: 12px; }
.sec-more { margin: 28px 0 0; }
.sub-block .proj-list { margin-top: 0; }
section[id] { scroll-margin-top: 4px; }

/* ---------- placeholders to be filled in (search the pages for class="todo") ---------- */
.todo {
  display: inline-block; padding: 0 8px; border-radius: 4px; font-weight: 600; color: var(--ink);
  background: repeating-linear-gradient(45deg, rgba(255, 190, 0, .16) 0 8px, rgba(255, 190, 0, .28) 8px 16px);
  outline: 1.5px dashed #C98A00; outline-offset: 1px;
}

/* ---------- situation strip (home) ---------- */
.situations { background: var(--bg); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px); }
.situations .eyebrow { margin-bottom: 16px; }
.sit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.sit {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 44px 18px 20px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sit b { font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.sit span { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.sit::after { content: "\2192"; position: absolute; right: 18px; top: 18px; color: var(--blue-ink); font-weight: 700; transition: transform .15s ease; }
.sit:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.sit:hover::after { transform: translateX(3px); }
@media (max-width: 1000px) { .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sit-grid { grid-template-columns: 1fr; } }

/* ---------- trust bar (home) ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border-inline: 1px solid var(--line); }
.trust li { display: grid; gap: 2px; align-content: center; padding: 16px clamp(12px, 1.6vw, 22px); background: var(--bg-soft); min-width: 0; }
.trust li > span { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust b { font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contact card ---------- */
.contact-card { display: flex; gap: 20px; margin-top: 36px; padding: clamp(20px, 2.4vw, 28px); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); }
.contact-card .avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); }
.cc-body { min-width: 0; }
.cc-body .kicker { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.cc-body h3 { margin: 0; }
.cc-body .role { margin: 2px 0 0; color: var(--muted); font-weight: 500; }
.cc-list { margin: 16px 0 18px; padding: 0; display: grid; gap: 8px; }
.cc-list div { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: .95rem; }
.cc-list dt { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cc-list dd { margin: 0; overflow-wrap: anywhere; }
.cc-profile { margin: 16px 0 0; }
.cc-profile .text-link { display: inline; }
@media (max-width: 520px) { .contact-card { flex-direction: column; } .cc-list div { grid-template-columns: 1fr; gap: 2px; } }

.map-detail { margin-top: 6px; }

/* ---------- printable company profile ---------- */
body.profile { background: var(--bg-soft); }
.profile-bar { background: var(--bg); border-bottom: 1px solid var(--line); }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.paper { max-width: 900px; margin: 28px auto 64px; padding: clamp(24px, 5vw, 56px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); width: calc(100% - 32px); }
.paper-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 20px; border-bottom: 3px solid transparent; border-image: var(--grad) 1; }
.paper-head .brand-mark { height: 44px; }
.paper-head .brand-word b { font-size: 1.9rem; }
.paper-kicker { margin: 0; font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); }
.paper-lead { margin: 24px 0; font-size: 1.12rem; line-height: 1.6; max-width: 70ch; }
.paper-facts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.paper-facts li { padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; }
.paper-facts b { display: block; font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; letter-spacing: -.03em; color: var(--blue-ink); }
.paper-facts b .todo { font-size: .8rem; letter-spacing: 0; }
.paper-facts li > span { font-size: .85rem; color: var(--muted); }
.paper h2 { margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.paper-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.paper-list li { break-inside: avoid; padding: 4px 0 4px 22px; position: relative; }
.paper-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 2px; background: var(--grad); }
.paper-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.paper-table th { text-align: left; padding: 8px 10px; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line-strong); }
.paper-table td { padding: 9px 10px; vertical-align: top; border-bottom: 1px solid var(--line); }
.paper-table td:first-child { font-weight: 600; }
.paper-table .nw { white-space: nowrap; }
.paper-note { margin: 10px 0 0; font-size: .84rem; color: var(--muted); }
.paper .map-card { box-shadow: none; padding: 12px; }
.paper-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 40px; }
.paper-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.paper-team span { color: var(--muted); }
.paper-contact { margin: 0; display: grid; gap: 6px; }
.paper-contact div { display: grid; grid-template-columns: 8.8rem minmax(0, 1fr); gap: 10px; font-size: .92rem; }
.paper-contact dt { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }
.paper-contact dd { margin: 0; }
@media (max-width: 720px) {
  .paper-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-list { columns: 1; }
  .paper-cols { grid-template-columns: 1fr; }
  .paper-table { display: block; overflow-x: auto; }
}

/* ---------- case study ---------- */
.back-link { margin-bottom: 18px; }
.back-link::after { content: none; }
.case-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-figs div { padding: 24px clamp(16px, 3vw, 32px); border-left: 1px solid var(--line); }
.case-figs div:first-child { border-left: 0; }
.case-figs b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); line-height: 1; letter-spacing: -.04em; color: var(--blue-ink); }
.case-figs span { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); }
@media (max-width: 640px) { .case-figs { grid-template-columns: 1fr; } .case-figs div { border-left: 0; border-top: 1px solid var(--line); } .case-figs div:first-child { border-top: 0; } }
.case-text p { margin: 0; font-size: 1.12rem; line-height: 1.65; max-width: 62ch; }
.route--story li { padding-bottom: 30px; padding-left: 46px; }
.route--story li:last-child { padding-bottom: 0; }
.route--story strong { font-size: 1.15rem; }
.route--story span { margin-top: 6px; font-size: 1rem; line-height: 1.6; }
.world-map path.flight { fill: none; stroke: var(--map-hq-hover); stroke-width: 2.5px; stroke-dasharray: 7 6; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.city-dot { fill: #fff; stroke: var(--map-hq-hover); stroke-width: 3px; vector-effect: non-scaling-stroke; }
.city-dot--dest { stroke: var(--map-visited-hover); }
.case-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 24px clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: 20px; background: var(--band); color: var(--band-ink); text-decoration: none; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--band-ink); }
.case-card .kicker { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-green); }
.case-card h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 1.3vw + 1rem, 2.1rem); line-height: 1.12; letter-spacing: -.03em; }
.case-card p { margin: 0 0 18px; color: var(--band-muted); }
.case-more { font-family: var(--font-head); font-weight: 600; color: #fff; }
.case-figs-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.case-figs-mini li { display: flex; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .16); color: var(--band-muted); }
.case-figs-mini li:last-child { border-bottom: 0; }
.case-figs-mini b { min-width: 3.4ch; font-family: var(--font-head); font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: #fff; }
@media (max-width: 760px) { .case-card { grid-template-columns: 1fr; } }

/* ---------- copy-book additions: nav button, pillars, form, footer, map text ---------- */
.site-nav ul a.nav-cta { padding: 8px 16px; border: 0; border-radius: 8px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; }
.site-nav ul a.nav-cta:hover, .site-nav ul a.nav-cta[aria-current] { background: var(--btn-hover); color: var(--btn-ink); }
@media (max-width: 1060px) { .js .site-nav ul a.nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; } }
.pillar .checks { margin-top: 18px; gap: 10px; font-size: .98rem; }
.pillar > p { margin-bottom: 0; }
.stat b .todo { font-size: .9rem; letter-spacing: 0; display: inline-block; line-height: 1.4; }
.hero h1 { font-size: clamp(2rem, 2.1vw + 1rem, 3.1rem); }
.person .focus { margin: 10px 0 0; font-size: .9rem; }
.foot-company { margin: 0; }
.map-tip em { display: block; margin-top: 4px; max-width: 260px; font-style: normal; font-size: .82rem; line-height: 1.4; white-space: normal; color: #fff; }
.map-tip em:empty { display: none; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide, .form-actions, .form-status { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .85rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.form-status { margin: 0; min-height: 1.4em; font-weight: 600; color: var(--green-ink); }
.form-direct { margin: 16px 0 0; font-size: .95rem; color: var(--muted); }
.contact-side .contact-card { margin-top: 28px; }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- interactive project map (assets/js/project-map.js) ---------- */
.pm-root { position: relative; width: 100%; padding: 24px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); color: var(--ink); }
.pm-root::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 20px 20px 0 0; background: var(--grad); }
.pm-root *, .pm-root *::before, .pm-root *::after { box-sizing: border-box; }
.pm-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.pm-kpis { display: flex; flex-wrap: wrap; gap: 28px; }
.pm-kpi .v { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--blue-ink); }
.pm-kpi:first-child .v { color: var(--green-ink); }
.pm-kpi .l { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.pm-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1.5px solid var(--c, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--c, #fff) 12%, var(--card)); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.pm-chip .sw { width: 10px; height: 10px; border-radius: 50%; }
.pm-chip .n { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.pm-chip[aria-pressed="false"] { opacity: .55; background: var(--card); border-color: var(--line); font-weight: 400; }
.pm-chip[aria-pressed="false"] .sw { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
.pm-phases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.pm-phases .lbl { margin-right: 4px; font-size: .85rem; color: var(--muted); }
.pm-pchip { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-soft); color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; }
.pm-pchip .n { margin-left: 4px; font-variant-numeric: tabular-nums; opacity: .8; }
.pm-pchip:hover { border-color: var(--teal); }
.pm-pchip[aria-pressed="true"] { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); font-weight: 600; }
.pm-chip:focus-visible, .pm-pchip:focus-visible, .pm-zoom button:focus-visible, .pm-tip a:focus-visible, .pm-marker:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pm-mapwrap { position: relative; width: 100%; aspect-ratio: 2 / 1; min-height: 320px; background: linear-gradient(180deg, var(--pm-ocean-a), var(--pm-ocean-b)); border-radius: 12px; overflow: hidden; }
#pm-svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#pm-svg:active { cursor: grabbing; }
.pm-country { fill: var(--pm-land); stroke: var(--pm-border); stroke-width: .5; vector-effect: non-scaling-stroke; }
.pm-country.has { cursor: pointer; }
.pm-country.has.nolink, .pm-marker.nolink { cursor: default; }
.pm-country.has:hover, .pm-country.active { stroke: var(--green-ink); stroke-width: 1.4; }
.pm-marker { cursor: pointer; outline: none; }
.pm-marker .ring { fill: var(--card); filter: drop-shadow(0 1px 2px rgba(0, 40, 60, .3)); }
.pm-marker .hole { fill: var(--card); }
.pm-marker text { font-family: var(--font-head); font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; font-variant-numeric: tabular-nums; }
.pm-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 4px; }
.pm-zoom button { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 1rem; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.pm-zoom button:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.pm-legend { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--card) 92%, transparent); font-size: .75rem; color: var(--muted); }
.pm-legend .row { display: flex; align-items: center; gap: 6px; }
.pm-legend .sq { width: 14px; height: 10px; border-radius: 2px; }
.pm-strip { flex: none; display: inline-flex; gap: 2px; margin-left: auto; padding-left: 8px; align-self: center; }
.pm-strip i { width: 7px; height: 7px; border-radius: 2px; background: var(--line-strong); }
.pm-strip i.on { background: var(--teal); }
.pm-tip { position: absolute; z-index: 5; min-width: 230px; max-width: 330px; padding: 14px 12px 10px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); font-size: .85rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); transition: opacity .12s; max-height: calc(100% - 12px); overflow-y: auto; overscroll-behavior: contain; }
.pm-tip.show { opacity: 1; visibility: visible; pointer-events: auto; }
.pm-tip::before { content: ""; position: sticky; display: block; top: -14px; margin: -14px -12px 11px; height: 3px; background: var(--grad); }
.pm-tip h4 { margin: 0 0 6px; font-size: .95rem; letter-spacing: -.01em; }
.pm-tip .tot { font-weight: 400; color: var(--muted); }
.pm-tip .pm-bar { display: flex; height: 8px; gap: 2px; margin: 6px 0 8px; border-radius: 4px; overflow: hidden; }
.pm-tip .r { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.pm-tip .r b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pm-tip .r .k { display: flex; align-items: center; gap: 6px; }
.pm-tip .r .d { width: 8px; height: 8px; border-radius: 50%; }
.pm-tip .pm-ph { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.pm-tip .pm-ph .cap { margin-bottom: 3px; font-size: .72rem; color: var(--muted); }
.pm-tip .pr { display: grid; grid-template-columns: 100px 1fr 18px; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.pm-tip .pr .b { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.pm-tip .pr b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.pm-tip ul { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--ink); }
.pm-tip li { display: flex; width: 100%; gap: 6px; align-items: baseline; padding: 1px 0; min-width: 0; }
.pm-tip li .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-tip li .y, .pm-tip li.more { color: var(--muted); }
.pm-tip li .d { flex: none; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-1px); }
.pm-tip .lk { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 10px; }
.pm-tip .lk a { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue-ink); text-decoration: none; }
.pm-tip .lk a:hover { text-decoration: underline; color: var(--ink); }
.pm-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.pm-tablewrap { margin-top: 12px; font-size: .9rem; }
.pm-tablewrap summary { cursor: pointer; color: var(--blue-ink); font-weight: 600; }
.pm-tablewrap #pm-table { overflow-x: auto; }
.pm-tablewrap table { width: 100%; min-width: 520px; margin-top: 8px; border-collapse: collapse; }
.pm-tablewrap th, .pm-tablewrap td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pm-tablewrap th { color: var(--green-ink); font-weight: 700; border-bottom: 2px solid var(--green); }
.pm-tablewrap tbody tr:nth-child(even) { background: var(--bg-soft); }
.pm-tablewrap .sd { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.proj-country { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-soft); font-size: .95rem; }
.proj-country a { font-weight: 600; margin-left: 8px; }
@media (max-width: 640px) {
  .pm-root { padding: 18px 14px 14px; }
  .pm-kpi .v { font-size: 1.6rem; }
  .pm-mapwrap { aspect-ratio: auto; min-height: 0; }
  #pm-svg { height: auto; aspect-ratio: 2 / 1; }
  .pm-legend { position: static; background: transparent; padding: 8px 4px 10px; }
  .pm-zoom { right: 8px; top: 8px; }
  .pm-zoom button { width: 28px; height: 28px; font-size: .9rem; }
}

/* ---------- tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; font-weight: 500; background: var(--card); }

/* ---------- logos (enable by uncommenting the block in the partners page) ---------- */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.logo-grid li { display: grid; place-items: center; min-height: 100px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logo-grid img { max-height: 56px; width: auto; }

/* ---------- team ---------- */
.person .avatar {
  width: 112px; height: 112px; border-radius: 50%; margin-bottom: 22px; object-fit: cover; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 2rem; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--blue-ink); font-weight: 600; font-size: .95rem; margin: 0; }
.person .bio { margin-top: 14px; }

/* team cards: portrait on top (assets/img/team/<name>.svg is a low-poly placeholder; swap in a square photo) */
.person { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.person .portrait { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 12%; background: var(--bg-soft); }
.person-body { display: flex; flex-direction: column; flex: 1; padding: 22px clamp(20px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px); }
.person .person-more { margin-top: auto; padding-top: 18px; font-size: .95rem; color: var(--blue-ink); }
a.person:hover .person-more::after { transform: translateX(3px); }
.team-skills { grid-column: 1 / -1; }

/* legal pages (privacy notice, imprint) */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.25rem, .6vw + 1.1rem, 1.55rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: .6em 0 1.2em; padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose .meta { color: var(--muted); font-size: .95rem; }
.prose .facts { margin: 0 0 1.6em; }
.prose table { display: block; overflow-x: auto; width: 100%; margin: 1.2em 0 1.8em; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { min-width: 9rem; padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line-strong); }

/* consent checkbox on the contact forms */
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: .22em; accent-color: var(--blue); }
.consent input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent a { font-weight: 600; }

/* colleague profile pages */
.profile-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 300px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.profile-head h1 { max-width: 18ch; }
.profile-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 24px; box-shadow: var(--shadow); background: var(--bg); }
@media (max-width: 760px) {
  .profile-head__grid { grid-template-columns: 1fr; }
  .profile-portrait { order: -1; width: 180px; }
}
.case-lead { margin: 0; font-size: 1.12rem; line-height: 1.65; max-width: 62ch; }
.route .when { margin-top: 4px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.route .text-link { font-size: .95rem; }
.facts .org { color: var(--muted); font-weight: 400; }
.facts-title { margin: 34px 0 10px; font-size: 1.05rem; }
.facts-title--first { margin-top: 0; }
.mates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mate { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mate:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.mate-av { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); }
.mate-av img { display: block; width: 100%; height: 100%; transform: scale(1.6); transform-origin: 50% 33%; }
.mate-txt { min-width: 0; }
.mate-txt b { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.mate-txt small { display: block; margin-top: 2px; font-size: .85rem; color: var(--muted); line-height: 1.3; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { margin: 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.facts dd { margin: 0; font-weight: 500; }
.facts a { font-weight: 600; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }
.big-mail { display: inline-block; margin: 6px 0 28px; font-family: var(--font-head); font-size: clamp(1.4rem, 1.4vw + 1rem, 2.1rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 3px; }
.big-mail:hover { color: var(--blue-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-ink); font-size: .96rem; }
.site-footer a { color: var(--band-ink); text-decoration-color: rgba(255, 255, 255, .3); }
.site-footer a:hover { color: var(--on-dark-blue); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(44px, 6vw, 72px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer .brand { --wordmark: #FFFFFF; margin-bottom: 22px; text-decoration: none; }
.site-footer .brand-mark { height: 46px; padding: 6px 8px; background: #fff; border-radius: 12px; }
.site-footer .brand-word b i { color: var(--on-dark-green); }
.site-footer p { color: var(--band-muted); margin: 0 0 .5em; max-width: 36ch; }
.site-footer h4 { margin: 0 0 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--band-muted); font-size: .88rem; }
.foot-bottom p { margin: 0; max-width: none; }

/* ---------- reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media print {
  :root {
    --bg: #fff; --bg-soft: #F6F5F1; --card: #fff; --ink: #0F2433; --muted: #4F606C; --line: rgba(11, 48, 73, .16); --line-strong: rgba(11, 48, 73, .3);
    --blue-ink: #0E6C93; --green-ink: #1F7A39; --wordmark: #0B3049; --grad: linear-gradient(90deg, #0E6C93, #0C8A80 55%, #2FA24C);
    --map-land: #DCE4E8; --map-visited: #0E6C93; --map-visited-hover: #0A5575; --map-hq: #2FA24C; --map-hq-hover: #1F7A39; --btn-ink: #fff;
    --shadow: none;
  }
  @page { size: A4; margin: 14mm; }
  .site-header, .nav-toggle, .cta-section, .skip, .no-print { display: none !important; }
  body, body.profile { background: #fff; color: #0F2433; font-size: 10.5pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper { max-width: none; width: auto; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .paper h2 { break-after: avoid; margin-top: 22px; }
  .paper-table tr, .paper-list li, .paper-facts li { break-inside: avoid; }
  .paper-table { font-size: 8.6pt; }
  .paper-map { break-inside: avoid; }
  .world-map { min-width: 0 !important; }
  .map-scroll { overflow: visible; }
  .map-tip { display: none; }
}
