/* ==========================================================================
   Beyond Borders Group — site stylesheet
   Palette: navy / deep navy / brand blue / steel / cool paper. One typeface.
   ========================================================================== */

:root {
  --navy: #0e1f3d;
  --navy-deep: #081530;
  --navy-ink: #14284a;
  --blue: #265cbc;
  --blue-dark: #1d4a9c;
  --steel: #64748b;
  --steel-light: #9aa7b8;
  --line: #d7dee7;
  --line-dark: rgba(255, 255, 255, 0.16);
  --paper: #f3f5f8;
  --white: #ffffff;
  --text: #16223a;
  --brand-yellow: #ffdd57;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wdth-display: 88%;

  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 140px);
  --header-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.display, h1 {
  font-stretch: var(--wdth-display);
  font-weight: 650;
  font-size: clamp(42px, 6.2vw, 100px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-stretch: var(--wdth-display);
  font-weight: 620;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
h3, .h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h4, .h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--navy-ink); max-width: 36em; }
.muted { color: var(--steel); }
.small { font-size: 14px; line-height: 1.5; }
.measure { max-width: 34em; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--white); }
.section--navy .muted, .section--deep .muted { color: var(--steel-light); }
.section--navy .lede, .section--deep .lede { color: rgba(255, 255, 255, 0.82); }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 5fr 7fr; align-items: start; }
.grid--split-rev { grid-template-columns: 7fr 5fr; align-items: start; }

/* Editorial section head: title left, lede right */
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lede { margin: 0; }
.sec-head--stack { grid-template-columns: 1fr; align-items: start; }
.sec-head--stack .lede { margin-top: 20px; }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4, .grid--split, .grid--split-rev, .sec-head { grid-template-columns: 1fr; }
}

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section--navy hr.rule, .section--deep hr.rule { border-color: var(--line-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--paper); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.section--navy .link, .section--deep .link { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255,255,255,0.14); transition: background-color 0.25s; }
.header--solid, .header--light { background: var(--white); color: var(--navy); }
.header--solid::after, .header--light::after { background: var(--line); }
.header--solid { box-shadow: 0 1px 0 var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand__logo { height: 52px; width: auto; display: block; }
.brand__logo--dark { display: none; }
.header--solid .brand__logo--light, .header--light .brand__logo--light { display: none; }
.header--solid .brand__logo--dark, .header--light .brand__logo--dark { display: block; }
body.menu-open .header .brand__logo--light { display: block; }
body.menu-open .header .brand__logo--dark { display: none; }
.footer .brand__logo { height: 50px; margin-bottom: 18px; }
.footer .brand__logo--dark { display: none; }
@media (max-width: 480px) { .brand__logo { height: 38px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; font-size: 15px; font-weight: 500; opacity: 0.9; position: relative; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header .btn { padding: 12px 18px; font-size: 14px; }

.menu-btn {
  display: none; background: none; border: 1px solid currentColor; color: inherit;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 40; background: var(--navy); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: var(--navy); color: var(--white); }
.mobile-nav a.mobile-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-stretch: 90%; font-size: clamp(26px, 6vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.mobile-nav .btn-row { margin-top: 32px; }
.mobile-nav__foot { font-size: 14px; color: var(--steel-light); margin-top: 32px; }

@media (max-width: 1100px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) { .header__cta .btn { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: center; text-align: center;
  color: var(--white); background: var(--navy-deep); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__media img.is-active { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 21, 48, 0.82) 0%, rgba(8, 21, 48, 0.42) 40%, rgba(8, 21, 48, 0.5) 100%);
}
.hero .wrap { position: relative; padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; }
.hero__text { max-width: 1100px; margin-inline: auto; }
.hero__text h1 { max-width: none; }
.hero__text .lede { color: rgba(255,255,255,0.88); margin: 28px auto 40px; max-width: 34em; font-size: clamp(18px, 1.7vw, 24px); }
.hero .btn-row { justify-content: center; }
.hero .btn { padding: 18px 30px; font-size: 16px; }
.hero__strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero__strip div { padding: 18px 20px 22px 0; border-right: 1px solid rgba(255,255,255,0.14); font-size: 14px; line-height: 1.4; }
.hero__strip div + div { padding-left: 20px; }
.hero__strip div:last-child { border-right: 0; }
.hero__strip strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.hero__strip span { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip div:nth-child(2) { border-right: 0; }
  .hero__strip div:nth-child(3) { padding-left: 0; }
  .hero__strip div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.14); }
}
@media (max-width: 560px) { .hero__strip { grid-template-columns: 1fr; } .hero__strip div { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,0.14); } .hero__strip div:first-child { border-top: 0; } }

/* one orchestrated entrance on the hero */
.hero .reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.hero .reveal:nth-child(2) { animation-delay: 0.12s; }
.hero .reveal:nth-child(3) { animation-delay: 0.22s; }
.hero__strip.reveal { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--white); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(56px, 7vw, 100px); overflow: hidden; }
.page-hero--photo { min-height: 62vh; display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,21,48,0.88), rgba(8,21,48,0.5) 60%, rgba(8,21,48,0.25)), linear-gradient(0deg, rgba(8,21,48,0.85), rgba(8,21,48,0.1) 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); max-width: 14ch; }
.page-hero .lede { color: rgba(255,255,255,0.82); margin-top: 24px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 28px; display: flex; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--white); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.6; }

/* ---------- Credibility band ---------- */
.cred { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred div { padding: 32px 32px 32px 0; border-right: 1px solid var(--line); }
.cred div + div { padding-left: 32px; }
.cred div:last-child { border-right: 0; }
.cred strong { display: block; font-stretch: 90%; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 10px; }
.cred p { margin: 0; color: var(--steel); font-size: 15px; }
@media (max-width: 900px) { .cred { grid-template-columns: 1fr; } .cred div { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-block: 24px; } .cred div:last-child { border-bottom: 0; } }

/* ---------- Two journeys ---------- */
.journeys { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.journey { position: relative; color: var(--white); display: flex; align-items: flex-end; padding: clamp(40px, 5vw, 72px) var(--gutter); overflow: hidden; background: var(--navy-deep); }
.journey img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.journey:hover img { transform: scale(1.03); }
.journey::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,48,0.95) 0%, rgba(8,21,48,0.7) 45%, rgba(8,21,48,0.35) 100%); }
.journey__body { position: relative; z-index: 1; max-width: 520px; }
.journey__body .kicker { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.journey__body h3 { font-stretch: 90%; font-size: clamp(28px, 3vw, 42px); font-weight: 620; letter-spacing: -0.02em; }
.journey__body p { color: rgba(255,255,255,0.82); margin: 18px 0 26px; }
.journey__body h3 { margin-bottom: 28px; }
.journey__body ul { margin-bottom: 28px; }
.journey__body li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.18); font-size: 15px; }
@media (max-width: 900px) { .journeys { grid-template-columns: 1fr; } .journey { min-height: 520px; } }

/* ---------- Capabilities explorer ---------- */
.cap { display: grid; grid-template-columns: 6fr 6fr; gap: var(--gutter); align-items: start; }
.cap__stage { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; background: var(--navy-deep); overflow: hidden; }
.cap__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.cap__stage img.is-active { opacity: 1; }
.cap__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; color: var(--white); background: linear-gradient(0deg, rgba(8,21,48,0.85), rgba(8,21,48,0)); font-size: 14px; }
.cap__list { border-top: 1px solid var(--line); }
.cap__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; text-decoration: none; }
.cap__item .idx { font-size: 13px; color: var(--steel); font-variant-numeric: tabular-nums; }
.cap__item .name { font-stretch: 92%; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.015em; color: var(--navy); transition: color 0.2s; }
.cap__item .desc { grid-column: 2 / -1; color: var(--steel); font-size: 15px; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease); }
.cap__item.is-active .desc { max-height: 120px; opacity: 1; margin-top: 4px; }
.cap__item .arrow { width: 16px; height: 16px; color: var(--blue); opacity: 0; transition: opacity 0.2s; }
.cap__item.is-active .arrow, .cap__item:hover .arrow { opacity: 1; }
.cap__item.is-active .name { color: var(--blue); }
.cap__thumb { display: none; }
@media (max-width: 900px) {
  .cap { grid-template-columns: 1fr; }
  .cap__stage { display: none; }
  .cap__item { grid-template-columns: 72px 1fr; align-items: center; }
  .cap__item .idx { display: none; }
  .cap__thumb { display: block; width: 72px; height: 72px; object-fit: cover; grid-row: 1 / span 2; }
  .cap__item .desc { grid-column: 2; max-height: none; opacity: 1; margin-top: 4px; }
  .cap__item .arrow { display: none; }
}

/* ---------- Case study (featured & projects page) ---------- */
.case { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: stretch; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.case:last-of-type { border-bottom: 1px solid var(--line); }
.case--rev .case__media { order: 2; }
.case__media { position: relative; background: var(--navy-deep); overflow: hidden; min-height: 380px; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__media .year { position: absolute; top: 20px; left: 20px; background: var(--white); color: var(--navy); padding: 8px 12px; font-size: 13px; font-weight: 600; }
.case__body { display: flex; flex-direction: column; justify-content: space-between; }
.case__body h3 { font-stretch: 90%; font-size: clamp(26px, 2.6vw, 38px); font-weight: 620; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--navy); }
.case__body .type { color: var(--steel); font-size: 15px; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.case__body > p { max-width: 34em; }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 15px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 11px 0; border-top: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 32%; font-weight: 500; color: var(--steel); padding-right: 16px; }
.spec td { color: var(--navy); }
.section--navy .spec th, .section--navy .spec td, .section--deep .spec th, .section--deep .spec td { border-color: var(--line-dark); }
.section--navy .spec td, .section--deep .spec td { color: var(--white); }
.section--navy .spec th, .section--deep .spec th { color: var(--steel-light); }
.status { display: inline-block; padding: 5px 9px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); color: var(--navy); }
.status--done { border-color: #1a9d5b; color: #157a47; }
.status--progress { border-color: var(--blue); color: var(--blue-dark); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case--rev .case__media { order: 0; } .case__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Partner logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 22px 20px; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; background: var(--white); }
.logo-tile img { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile .logo-text { font-stretch: 90%; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--navy); opacity: 0.75; line-height: 1.1; }
.logo-tile .meta { margin-top: 18px; font-size: 13px; color: var(--steel); line-height: 1.4; }
.logo-tile .meta strong { display: block; color: var(--navy); font-weight: 600; }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .logos { grid-template-columns: repeat(2, 1fr); } .logo-tile { padding: 20px 16px 16px; min-height: 130px; } }

/* ---------- Global structure diagram ---------- */
.structure { position: relative; }
.structure__svg { width: 100%; height: auto; display: block; margin: 8px 0 24px; }
.structure__svg .line { stroke: rgba(255,255,255,0.35); stroke-width: 1.5; fill: none; }
.structure__svg .flow { stroke: var(--blue); stroke-width: 2.5; fill: none; stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.structure.is-drawn .flow { animation: draw 2.2s var(--ease) forwards; }
.structure__svg .node { fill: var(--navy); stroke: var(--white); stroke-width: 1.5; }
.structure__svg .node-core { fill: var(--blue); }
.structure__svg .lbl { fill: var(--white); font-family: var(--font); font-size: 15px; font-weight: 600; }
.structure__svg .sub { fill: rgba(255,255,255,0.6); font-family: var(--font); font-size: 12.5px; }
.structure__svg .tick { stroke: rgba(255,255,255,0.35); stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .structure__svg .flow { stroke-dashoffset: 0; } }

.entities { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.entity { padding: 28px 24px 32px 0; border-right: 1px solid var(--line-dark); }
.entity + .entity { padding-left: 24px; }
.entity:last-child { border-right: 0; }
.entity h4 { font-stretch: 90%; font-size: 24px; font-weight: 620; letter-spacing: -0.02em; margin-bottom: 4px; }
.entity .role { color: var(--steel-light); font-size: 14px; margin-bottom: 18px; }
.entity li { padding: 8px 0; border-top: 1px solid var(--line-dark); font-size: 15px; color: rgba(255,255,255,0.88); }
.entity .legal { margin-top: 20px; font-size: 13px; color: var(--steel-light); line-height: 1.5; }
.entity .legal strong { color: var(--white); font-weight: 500; }
@media (max-width: 1000px) { .entities { grid-template-columns: 1fr 1fr; } .entity:nth-child(2) { border-right: 0; } .entity:nth-child(3) { padding-left: 0; } .entity:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 600px) { .entities { grid-template-columns: 1fr; } .entity { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line-dark); } .entity:first-child { border-top: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,21,48,0.95), rgba(8,21,48,0.6)); }
.cta-band .wrap { position: relative; padding-block: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: end; }
.cta-band h2 { max-width: 14ch; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 32em; margin: 0 0 28px; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 4fr 3.5fr 2fr 2.5fr; gap: var(--gutter); padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
.footer h5 { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--white); }
.footer li { padding: 5px 0; }
.footer a:hover { color: var(--white); }
.footer__brand p { max-width: 24em; color: var(--steel-light); margin: 20px 0 0; font-size: 15px; }
.footer .brand__logo { height: 48px; }
.footer .brand__logo--dark { display: none; }
.footer__contact .big { display: block; color: var(--white); font-stretch: 92%; font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.footer__contact .btn { margin-top: 22px; }
.footer__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--steel-light); }
.footer__more svg { width: 13px; height: 13px; }
.footer__bottom { padding: 22px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--steel-light); font-size: 13px; }
.footer__bottom a { margin-left: 18px; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 32px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
  .footer .brand__logo { height: 42px; }
  .footer__contact .btn { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .footer__bottom a { margin: 0 16px 0 0; }
}

/* ---------- Inner-page components ---------- */

/* solutions index list */
.sol { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.sol:last-child { border-bottom: 1px solid var(--line); }
.sol__media { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.sol__media img { width: 100%; height: 100%; object-fit: cover; }
.sol__body h3 { font-stretch: 90%; font-size: clamp(26px, 2.6vw, 36px); font-weight: 620; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 14px; }
.sol__body .idx { font-size: 13px; color: var(--steel); margin-bottom: 12px; display: block; font-variant-numeric: tabular-nums; }
.sol__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0 26px; }
.sol__cols h4 { font-size: 14px; font-weight: 600; color: var(--steel); margin-bottom: 8px; }
.sol__cols li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 900px) { .sol { grid-template-columns: 1fr; } .sol__cols { grid-template-columns: 1fr; } }

/* industries list */
.ind-list { border-top: 1px solid var(--line); }
.ind { display: grid; grid-template-columns: 60px 4fr 6fr; gap: var(--gutter); padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ind .idx { font-size: 14px; color: var(--steel); font-variant-numeric: tabular-nums; }
.ind h3 { font-stretch: 90%; font-size: clamp(24px, 2.4vw, 34px); font-weight: 620; letter-spacing: -0.02em; color: var(--navy); }
.ind p { margin: 0; color: var(--navy-ink); max-width: 36em; }
.ind .tags { margin-top: 10px; font-size: 14px; color: var(--steel); }
@media (max-width: 900px) { .ind { grid-template-columns: 40px 1fr; } .ind p { grid-column: 2; } }

/* photo band */
.band { position: relative; height: clamp(320px, 55vh, 640px); overflow: hidden; background: var(--navy-deep); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 0; color: var(--white); background: linear-gradient(0deg, rgba(8,21,48,0.85), rgba(8,21,48,0)); font-size: 14px; }
.band__caption .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* steps (sequence content only) */
.steps { border-top: 1px solid var(--line); counter-reset: step; }
.step { display: grid; grid-template-columns: 72px 4fr 6fr; gap: var(--gutter); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-stretch: 90%; font-size: 22px; font-weight: 600; color: var(--steel-light); font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.step p { margin: 0; color: var(--navy-ink); max-width: 36em; }
.section--navy .steps, .section--navy .step { border-color: var(--line-dark); }
.section--navy .step h3 { color: var(--white); }
.section--navy .step p { color: rgba(255,255,255,0.82); }
@media (max-width: 900px) { .step { grid-template-columns: 44px 1fr; } .step p { grid-column: 2; } }

/* definition list (relationship categories, values) */
.defs { border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); padding: 22px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 600; color: var(--navy); font-size: 18px; letter-spacing: -0.01em; }
.defs dd { margin: 0; color: var(--navy-ink); max-width: 40em; }
.section--navy .defs, .section--navy .defs > div { border-color: var(--line-dark); }
.section--navy .defs dt { color: var(--white); } .section--navy .defs dd { color: rgba(255,255,255,0.82); }
@media (max-width: 800px) { .defs > div { grid-template-columns: 1fr; gap: 6px; } }

/* two-column prose */
.prose { max-width: 38em; }
.prose h3 { margin: 40px 0 12px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--navy-ink); }
.prose ul { list-style: none; margin: 12px 0 20px; }
.prose li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--blue); }
.section--navy .prose p, .section--deep .prose p { color: rgba(255,255,255,0.84); }
.section--navy .prose h3, .section--deep .prose h3 { color: var(--white); }
.section--navy .prose li, .section--deep .prose li { border-color: var(--line-dark); }

/* timeline */
.timeline { border-top: 1px solid var(--line); }
.timeline > div { display: grid; grid-template-columns: 140px 1fr; gap: var(--gutter); padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font-stretch: 90%; font-size: 22px; font-weight: 620; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; color: var(--navy-ink); }
@media (max-width: 600px) { .timeline > div { grid-template-columns: 1fr; gap: 4px; } }

/* stat-like facts (real, not invented) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.facts div + div { padding-left: 24px; }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-stretch: 86%; font-size: clamp(36px, 4vw, 56px); font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--navy); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.facts span { color: var(--steel); font-size: 15px; line-height: 1.4; display: block; }
.section--navy .facts, .section--navy .facts div { border-color: var(--line-dark); }
.section--navy .facts strong { color: var(--white); } .section--navy .facts span { color: var(--steel-light); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(3) { padding-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Forms ---------- */
.form { max-width: 880px; scroll-margin-top: calc(var(--header-h) + 24px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 40px; }
.form legend { font-stretch: 90%; font-size: clamp(22px, 2vw, 28px); font-weight: 620; letter-spacing: -0.015em; color: var(--navy); padding: 0; margin-bottom: 6px; }
.form .legend-note { color: var(--steel); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 13px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38,92,188,0.18); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--steel); margin-top: 6px; }
.field--file input { padding: 10px; background: var(--paper); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--navy-ink); }
.check input { margin-top: 5px; accent-color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 8px; }
.form-note { font-size: 14px; color: var(--steel); max-width: 44em; margin-top: 20px; }
.form-success { scroll-margin-top: calc(var(--header-h) + 24px); display: none; border: 1px solid var(--line); padding: 32px; background: var(--paper); }
.form-success h3 { margin-bottom: 8px; }
.form-success .ref { font-stretch: 88%; font-size: 34px; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); margin: 14px 0; }
.form.is-sent form { display: none; }
.form.is-sent .form-success { display: block; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* sticky side panel on form pages */
.side { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); padding: 28px; }
.side h4 { margin-bottom: 14px; }
.side li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--navy-ink); }
.side .contact { margin-top: 18px; font-size: 15px; }
.side .contact a { display: block; color: var(--blue); font-weight: 600; }

/* contact offices */
.office { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-stretch: 90%; font-size: 26px; font-weight: 620; letter-spacing: -0.02em; color: var(--navy); }
.office .role { color: var(--steel); font-size: 14px; margin-top: 4px; }
.office address { font-style: normal; line-height: 1.5; color: var(--navy-ink); }
.office .reg { font-size: 14px; color: var(--steel); margin-top: 8px; }
@media (max-width: 800px) { .office { grid-template-columns: 1fr; gap: 10px; } }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.text-white { color: var(--white); }
.note { font-size: 14px; color: var(--steel); }

/* structure diagram: vertical variant on small screens */
.structure__mobile { display: none; }
@media (max-width: 800px) {
  .structure__svg { display: none; }
  .structure__mobile { display: block; list-style: none; margin: 8px 0 32px; padding-left: 28px; position: relative; }
  .structure__mobile::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--blue); }
  .structure__mobile li { position: relative; padding: 0 0 22px; }
  .structure__mobile li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 1.5px solid var(--white); }
  .structure__mobile li:last-child::before { background: var(--blue); }
  .structure__mobile strong { display: block; font-weight: 600; }
  .structure__mobile span { color: var(--steel-light); font-size: 14px; }
}

.form-error { display: none; border: 1px solid #c8412f; padding: 16px 18px; margin-top: 18px; font-size: 15px; color: #8a2a1d; background: #fbf1ef; }
.form-error a { color: inherit; text-decoration: underline; }
.form.is-error .form-error { display: block; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(96px, 12vw, 190px); }
.statement h2 { font-size: clamp(34px, 4.6vw, 66px); max-width: 20ch; color: var(--navy); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.pillars > div { padding-top: 22px; }
.pillars h4 { font-stretch: 90%; font-size: 22px; font-weight: 620; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 10px; }
.pillars p { margin: 0; color: var(--steel); font-size: 16px; max-width: 26em; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; gap: 20px; } .pillars > div { border-top: 1px solid var(--line); } .pillars { border-top: 0; } }

/* ---------- Solution families ---------- */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.family { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy-deep); color: var(--white); display: block; }
.family img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s var(--ease); filter: saturate(0.85); }
.family::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,48,0.92) 0%, rgba(8,21,48,0.45) 40%, rgba(8,21,48,0.08) 75%); }
.family:hover img { transform: scale(1.04); filter: saturate(1); }
.family__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 28px 28px; }
.family__body h3 { font-stretch: 90%; font-size: clamp(22px, 1.9vw, 27px); font-weight: 620; letter-spacing: -0.02em; margin-bottom: 8px; max-width: 14ch; }
.family__body p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.72); max-width: 30em; }
@media (max-width: 1000px) { .families { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .families { grid-template-columns: 1fr; } .family { aspect-ratio: 4 / 3; } }

/* ---------- Project showcase ---------- */
.showcase .sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.proj { padding-bottom: clamp(56px, 7vw, 110px); }
.proj:last-of-type { padding-bottom: 0; }
.proj__media { position: relative; display: block; aspect-ratio: 16 / 8; max-height: 720px; overflow: hidden; background: var(--navy-deep); }
.proj__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj__media:hover img { transform: scale(1.025); }
.proj__media .year { position: absolute; top: 24px; left: 24px; background: var(--white); color: var(--navy); padding: 10px 14px; font-size: 14px; font-weight: 600; }
.proj__row { display: grid; grid-template-columns: 6fr 6fr; gap: var(--gutter); margin-top: clamp(28px, 3vw, 44px); align-items: start; }
.proj__row h3 { font-stretch: 90%; font-size: clamp(28px, 3vw, 44px); font-weight: 620; letter-spacing: -0.025em; margin-bottom: 16px; max-width: 16ch; }
.proj__row p { color: rgba(255,255,255,0.82); max-width: 32em; margin-bottom: 22px; }
.proj__row .spec { margin: 0; }
@media (max-width: 900px) { .proj__row { grid-template-columns: 1fr; } .proj__media { aspect-ratio: 4 / 3; } }

/* ---------- Single-row logos ---------- */
.logos--row { grid-template-columns: repeat(6, 1fr); }
.logos--row .logo-tile { min-height: 132px; }
@media (max-width: 1100px) { .logos--row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .logos--row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Structure: stage brackets + light variant ---------- */
.structure__svg .bracket { fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 1; }
.structure__svg .stage { fill: rgba(255,255,255,0.75); font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.structure__svg .arrow { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.structure--light .structure__svg .line, .structure--light .structure__svg .bracket, .structure--light .structure__svg .tick { stroke: var(--line); }
.structure--light .structure__svg .line { stroke: #b9c4d3; }
.structure--light .structure__svg .node { fill: var(--paper); stroke: var(--navy); stroke-width: 2; }
.structure--light .structure__svg .node-core { fill: var(--blue); stroke: var(--blue); }
.structure--light .structure__svg .lbl { fill: var(--navy); font-size: 17px; }
.structure--light .structure__svg .sub { fill: var(--steel); }
.structure--light .structure__svg .stage { fill: var(--navy); }
.structure--light .structure__mobile::before { background: var(--blue); }
.structure--light .structure__mobile li::before { background: var(--paper); border-color: var(--navy); }
.structure--light .structure__mobile span { color: var(--steel); }
.entities--lite { border-top: 1px solid var(--line); }
.entities--lite .entity { border-right-color: var(--line); padding-top: 24px; padding-bottom: 24px; }
.entities--lite .entity h4 { color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.entities--lite .entity p { color: var(--navy-ink); font-size: 15px; margin: 0 0 14px; max-width: 24em; }
.entities--lite .entity .legal { margin-top: 0; color: var(--steel); }
.entities--lite .entity .legal strong { color: var(--navy); }
@media (max-width: 1000px) { .entities--lite .entity:nth-child(n+3) { border-top-color: var(--line); } }
@media (max-width: 600px) { .entities--lite .entity { border-top-color: var(--line); } }

/* ---------- Hero: centered composition ---------- */
.hero__eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 56px; height: 1px; background: rgba(255,255,255,0.35); }
.hero__countries { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 56px; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero__countries::before, .hero__countries::after { content: ""; width: 80px; height: 1px; background: rgba(255,255,255,0.3); margin: 0 24px; }
.hero__countries span + span::before { content: "·"; margin: 0 18px; opacity: 0.6; letter-spacing: 0; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero__scroll span { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__scroll i { display: block; width: 1px; height: 56px; background: rgba(255,255,255,0.45); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__dots { position: absolute; right: var(--gutter); bottom: 44px; display: flex; gap: 20px; }
.hero__dots button { background: none; border: 0; padding: 4px 0; color: rgba(255,255,255,0.45); font-size: 13px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; cursor: pointer; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.hero__dots button.is-active { color: var(--white); border-bottom-color: var(--white); }
@media (prefers-reduced-motion: reduce) { .hero__scroll i { animation: none; } .hero__media img { transition: none; } }
@media (max-width: 700px) {
  .hero { text-align: left; align-items: flex-end; }
  .hero__eyebrow, .hero__countries { justify-content: flex-start; }
  .hero__eyebrow::before, .hero__countries::before { display: none; }
  .hero__countries::after { display: none; }
  .hero__countries { margin-top: 36px; flex-wrap: wrap; row-gap: 8px; letter-spacing: 0.18em; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .hero .btn-row { justify-content: flex-start; }
  .hero__text .lede { margin-left: 0; }
  .hero__scroll, .hero__dots { display: none; }
  .hero .wrap { padding-bottom: 44px; }
}
/* inner page heroes centered */
.page-hero { text-align: center; }
.page-hero h1 { margin-inline: auto; max-width: 18ch; }
.page-hero .lede { margin-inline: auto; }
.crumbs { justify-content: center; }
.page-hero--photo { align-items: center; min-height: 66vh; }
.page-hero__media::after { background: linear-gradient(0deg, rgba(8,21,48,0.85), rgba(8,21,48,0.45) 55%, rgba(8,21,48,0.55)); }
@media (max-width: 700px) { .page-hero { text-align: left; } .page-hero h1, .page-hero .lede { margin-inline: 0; } .crumbs { justify-content: flex-start; } }

/* tighter rhythm on phones */
@media (max-width: 600px) {
  :root { --section: 56px; }
  .statement { padding-block: 64px; }
  .statement h2 { font-size: 30px; }
  .cred div { padding-block: 18px; }
  .sec-head { margin-bottom: 28px; }
  .journey { min-height: 420px; padding: 32px var(--gutter); }
  .proj { padding-bottom: 48px; }
  .entities--lite .entity { padding-top: 18px; padding-bottom: 18px; }
  .cta-band .wrap { padding-block: 64px; }
}

/* ---------- Inline CTA ---------- */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(48px, 5vw, 72px); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inline p { margin: 0; font-stretch: 92%; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.015em; color: var(--navy); max-width: 24em; }
.section--navy .cta-inline, .section--deep .cta-inline { border-color: var(--line-dark); }
.section--navy .cta-inline p { color: var(--white); }
.sol + .cta-inline { margin-top: 0; border-top: 0; }
.cta-inline + .sol { border-top: 0; }

/* ---------- Partner marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item { position: relative; flex: 0 0 auto; width: 220px; height: 128px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); cursor: pointer; outline-offset: -3px; }
.marquee__item img { height: 54px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.marquee__item:hover img, .marquee__item:focus img, .marquee__item.is-open img { filter: none; opacity: 1; }
.marquee__item .logo-text { font-stretch: 90%; font-weight: 700; font-size: 18px; color: var(--navy); opacity: 0.75; text-align: center; padding: 0 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: 100%; } .marquee__track > *:nth-child(n+15) { display: none; } }

/* tooltip shared by marquee items and partner tiles */
.tip { position: absolute; left: 50%; bottom: calc(100% - 8px); transform: translate(-50%, 6px); width: 260px; background: var(--navy); color: var(--white); padding: 16px 18px; font-size: 13.5px; line-height: 1.45; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s; z-index: 5; text-align: left; box-shadow: 0 12px 30px rgba(8,21,48,0.25); }
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy); }
.tip strong { display: block; font-size: 15px; margin-bottom: 2px; }
.tip span { display: block; color: var(--brand-yellow); font-weight: 500; }
.tip em { display: block; font-style: normal; color: var(--steel-light); margin-bottom: 8px; }
.tip p { margin: 0; color: rgba(255,255,255,0.85); }
.marquee__item:hover .tip, .marquee__item:focus .tip, .marquee__item.is-open .tip,
.logo-tile--hover:hover .tip, .logo-tile--hover:focus .tip, .logo-tile--hover.is-open .tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.marquee__item .tip { display: none; }
.marquee__item:hover .tip, .marquee__item:focus .tip, .marquee__item.is-open .tip { transform: translate(-50%, 0); }
.marquee__item .tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy); }
.marquee { padding-bottom: 8px; }
.logo-tile--hover { position: relative; justify-content: center; align-items: center; cursor: pointer; min-height: 140px; }
.logo-tile--hover img { height: 46px; max-width: 150px; }
.logo-tile--hover .logo-text { text-align: center; }
@media (max-width: 700px) { .tip { width: 220px; } .marquee__item { width: 170px; height: 104px; } .marquee__item img { height: 36px; max-width: 120px; } }

/* ---------- Value strip (structure section) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.values > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.values > div + div { padding-left: 24px; }
.values > div:last-child { border-right: 0; }
.values h4 { font-stretch: 92%; font-size: 20px; font-weight: 620; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 8px; }
.values p { margin: 0; font-size: 15px; color: var(--steel); max-width: 22em; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .values > div:nth-child(2) { border-right: 0; } .values > div:nth-child(3) { padding-left: 0; } .values > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values > div { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding-block: 16px; } .values > div:first-child { border-top: 0; } }

/* ---------- Mobile pass ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .display, h1 { font-size: clamp(34px, 9.5vw, 44px); }
  h2, .h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .lede { font-size: 17px; }
  .hero .wrap { padding-top: calc(var(--header-h) + 8px); }
  .hero__text .lede { font-size: 17px; margin: 20px 0 28px; }
  .hero .btn-row, .cta-band .btn-row, .cta-inline .btn-row, .form-foot { width: 100%; }
  .hero .btn, .cta-band .btn, .cta-inline .btn, .form-foot .btn, .journey .btn { width: 100%; justify-content: center; }
  .cta-inline { padding: 22px 0; gap: 16px; }
  .cta-inline p { font-size: 20px; }
  .page-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 44px; }
  .page-hero--photo { min-height: 0; }
  .page-hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .crumbs { margin-bottom: 18px; }
  .cred strong { font-size: 19px; }
  .family__body { padding: 18px 18px 20px; }
  .family__body h3 { font-size: 21px; }
  .proj__row h3 { font-size: 26px; }
  .spec { font-size: 14px; }
  .spec th { width: 34%; }
  .side { position: static; padding: 22px; }
  .form fieldset { margin-bottom: 28px; }
  .form legend { font-size: 21px; }
  .field input, .field select, .field textarea { padding: 14px; }
  .check { font-size: 14px; }
  .band { height: 260px; }
  .band__caption { font-size: 13px; }
  .sol { padding-block: 32px; }
  .sol__body h3 { font-size: 24px; }
  .ind { padding: 20px 0; gap: 12px; }
  .ind h3 { font-size: 22px; }
  .step { padding: 18px 0; gap: 12px; }
  .step::before { font-size: 18px; }
  .defs > div { padding: 16px 0; }
  .office { padding: 18px 0; }
  .facts strong { font-size: 34px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .header .btn { display: none; }
}
@media (max-width: 400px) { .brand__logo { height: 34px; } .hero__countries { display: none; } }

.marquee__detail { display: grid; grid-template-columns: 220px 1fr; gap: 6px 32px; align-items: baseline; padding: 22px 0 0; min-height: 96px; font-size: 15px; color: var(--navy-ink); }
.marquee__detail strong { font-stretch: 92%; font-size: 22px; font-weight: 620; letter-spacing: -0.015em; color: var(--navy); grid-row: 1; }
.marquee__detail span { grid-row: 2; color: var(--blue); font-weight: 600; font-size: 14px; }
.marquee__detail em { grid-row: 1; grid-column: 2; font-style: normal; color: var(--steel); font-size: 14px; }
.marquee__detail p { grid-row: 2; grid-column: 2; margin: 0; max-width: 46em; }
.marquee__detail:empty, .marquee__detail strong:empty + span:empty + em:empty + p:empty { display: none; }
@media (max-width: 700px) { .marquee__detail { grid-template-columns: 1fr; gap: 4px; } .marquee__detail em, .marquee__detail p, .marquee__detail span { grid-column: 1; grid-row: auto; } }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .grid > *, .case > *, .proj__row > *, .sol > *, .sec-head > *, .cta-inline > * { min-width: 0; }
  .case .btn, .sol .btn { width: 100%; justify-content: center; }
}
