:root {
  --blue: #0878b9;
  --blue-dark: #005f9e;
  --ink: #20202a;
  --muted: #6b6f78;
  --line: #d8dde3;
  --soft: #f5f7f9;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1540px, calc(100% - 72px));
  margin: 0 auto;
}

.topbar {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  color: var(--white);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
  line-height: 1;
}

.logo-mark {
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 800;
  letter-spacing: 0;
}

.logo-copy {
  width: 98px;
  font-size: 13px;
  line-height: .96;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex: 1;
  white-space: nowrap;
}

.nav-links a:first-child {
  border-bottom: 1px solid currentColor;
  padding: 20px 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle span {
  margin: 5px 0;
}

.nav.is-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .menu-toggle span {
  opacity: 0;
}

.nav.is-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.flag {
  width: 18px;
  height: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  background:
    linear-gradient(#f00 0 33%, #fff 33% 66%, #171796 66%);
}

.circle-link {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  min-height: 820px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(8, 13, 18, .58), rgba(8, 13, 18, .58)),
    url("assets/building_sky.jpg") center / cover no-repeat;
}

.hero-inner {
  width: min(1200px, calc(100% - 48px));
  padding-top: 86px;
}

.hero h1 {
  max-width: 1180px;
  margin: 0 auto 8px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  text-transform: uppercase;
  font-weight: 800;
}

.hero p {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid currentColor;
  color: var(--white);
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.button:hover {
  background: var(--white);
  color: var(--ink);
}

section {
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 400;
}

.section-lead {
  max-width: 1220px;
  margin: 34px auto 0;
  font-size: 20px;
  text-align: center;
  color: #2f3040;
}

.center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 54px;
}

.service-card {
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(17, 28, 39, .09);
}

.check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 2px solid var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  color: var(--blue);
  font-size: 15px;
  line-height: 1;
}

.service-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.12;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 80px;
}

.angled-image {
  height: 446px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  background: #ddd;
}

.angled-image.reverse {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.angled-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-list h3,
.text-list h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 500;
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows li {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0;
  background: var(--white);
}

.stats-copy {
  min-height: 305px;
  padding: 54px 8vw 54px 48px;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, .68), rgba(0, 0, 0, .68)),
    url("assets/meeting-table.png") left center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.stats-copy .eyebrow {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.stats-copy h2 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
}

.stats-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.stats-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 28px;
  padding: 40px clamp(26px, 5vw, 78px);
  text-align: center;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 2px solid #444;
  color: #444;
  font-size: 30px;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1;
}

.stat span {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.process {
  padding: 74px 0;
  color: var(--white);
  background: var(--blue);
}

.process .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  align-items: center;
}

.process-step {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(21px, 1.55vw, 32px);
  line-height: 1.05;
  font-weight: 700;
}

.process-step:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: #75c4ea;
  font-family: var(--sans);
  font-size: 42px;
  font-weight: 300;
}

.about {
  padding-bottom: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
  text-align: center;
}

.mission-head {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}

.mission-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 48px;
}

.mission h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.mission p {
  max-width: 690px;
  margin: 0 auto;
  font-size: 19px;
}

.careers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 92px;
}

.career-panel {
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 42px 64px;
  text-align: center;
  color: var(--white);
  background: var(--blue);
}

.career-panel.image {
  background:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)),
    url("assets/work-table.png") center / cover no-repeat;
}

.career-panel h3 {
  margin: 10px 0 30px;
  font-family: var(--serif);
  font-size: 32px;
  text-transform: uppercase;
}

.career-panel p {
  max-width: 820px;
  margin: 0;
  font-size: 19px;
  font-weight: 650;
}

.partners {
  background: var(--soft);
  padding-top: 78px;
  padding-bottom: 0;
}

.partner-logo {
  margin: 18px auto 118px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #2a5e70;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 300;
}

.partner-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 12px solid #2a5e70;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr .6fr 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 86px;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--blue);
}

.footer-logo .logo-mark {
  font-size: 58px;
}

.footer-logo .logo-copy {
  color: var(--ink);
  border-color: var(--ink);
}

.footer p {
  margin: 0 0 18px;
  line-height: 1.12;
}

.footer-menu {
  display: grid;
  gap: 12px;
  margin: 80px 0 0;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-lines {
  margin-top: 80px;
}

.contact-lines p {
  margin-bottom: 24px;
}

.contact-lines strong {
  margin-right: 8px;
}

form {
  display: grid;
  gap: 6px;
  margin-top: 80px;
}

input,
textarea {
  width: 100%;
  border: 0;
  background: var(--white);
  padding: 13px 12px;
  font: inherit;
}

textarea {
  min-height: 82px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 4px;
  color: #858a93;
  font-size: 14px;
  line-height: 1.7;
}

.consent input {
  width: 15px;
  height: 15px;
  margin-top: 5px;
}

.submit {
  width: fit-content;
  border: 0;
  padding: 12px 26px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  border-top: 1px solid #d6d6d6;
  font-size: 14px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #8f8f8f;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .container {
    width: min(100% - 36px, 940px);
  }

  .nav {
    gap: 20px;
  }

  .nav-links {
    gap: 18px;
    font-size: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .stats,
  .mission-grid,
  .careers,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .stats-copy,
  .angled-image,
  .angled-image.reverse {
    clip-path: none;
  }

  .stats-numbers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    background: #182029;
  }

  .nav {
    min-height: 0;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo {
    min-width: 0;
  }

  .menu-toggle {
    display: grid;
    position: relative;
    z-index: 21;
    margin-left: 0;
  }

  .nav-links {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 340px);
    max-height: none;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 92px 28px 28px;
    background: #182029;
    box-shadow: -20px 0 40px rgba(0, 0, 0, .24);
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  .nav.is-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .nav-links a:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding: 16px 0;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 19;
    inset: 0;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background .25s ease;
  }

  .nav.is-open .menu-backdrop {
    pointer-events: auto;
    background: rgba(0, 0, 0, .38);
  }

  .hero {
    min-height: 620px;
  }

  section {
    padding: 62px 0;
  }

  .services-grid,
  .stats-numbers,
  .process .container {
    grid-template-columns: 1fr;
  }

  .split {
    padding-bottom: 48px;
  }

  .angled-image {
    height: 320px;
  }

  .process-step:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 28px;
    right: auto;
    left: 0;
    top: calc(100% + 14px);
    background: #75c4ea;
    transform: none;
  }

  .career-panel {
    padding: 36px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- v2 additions (multipage, trilingual) ---------- */

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}

.lang-switch a {
  padding: 4px 7px;
  opacity: .65;
}

.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  border-bottom: 2px solid currentColor;
}

.nav-links a:first-child {
  border-bottom: 0;
  padding: 0;
}

.nav-links a.active {
  border-bottom: 1px solid currentColor;
  padding: 20px 24px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .92;
}

.hero .hero-kicker {
  font-family: var(--sans);
}

.page-hero {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-inner {
  padding-top: 86px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  text-transform: uppercase;
  font-weight: 800;
}

.intro-section {
  padding-bottom: 24px;
}

.intro-section .section-lead {
  margin-top: 0;
}

.eyebrow.includes {
  margin-top: 44px;
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 54px;
}

.tri-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(17, 28, 39, .09);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tri-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(17, 28, 39, .16);
}

.tri-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tri-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.tri-body h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 600;
}

.tri-body p {
  margin: 0 0 18px;
  font-size: 16px;
}

.tri-body .more {
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.founder {
  padding-top: 80px;
  padding-bottom: 80px;
}

.founder .angled-image {
  height: 520px;
}

.founder-text h2 {
  margin-bottom: 22px;
}

.founder-text p {
  margin: 0 0 16px;
  font-size: 17px;
}

.founder-text .button {
  margin-top: 10px;
}

.button.solid {
  background: var(--blue);
  border-color: var(--blue);
}

.button.solid:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.careers {
  margin-top: 0;
}

.career-panel.image {
  min-height: 270px;
  background:
    linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
    url("assets/pexels-artur-roman-539746.jpg") center / cover no-repeat;
}

.career-panel a {
  border-bottom: 1px solid currentColor;
}

.split-desc {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.bullets {
  margin: 0;
  padding-left: 20px;
}

.bullets li {
  padding: 5px 0;
  font-size: 17px;
  font-weight: 650;
}

.block-title {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

.steps {
  max-width: 980px;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  gap: 22px;
  list-style: none;
  counter-reset: step;
  text-align: left;
}

.steps li {
  position: relative;
  padding: 4px 0 4px 68px;
  counter-increment: step;
  font-size: 17px;
  line-height: 1.45;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 44px;
}

.type-card {
  padding: 30px;
  text-align: left;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(17, 28, 39, .09);
}

.type-card h4 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

.type-card ul {
  margin: 0;
  padding-left: 20px;
}

.type-card li {
  padding: 4px 0;
  font-size: 16px;
}

.cta-band {
  padding: 70px 0;
  color: var(--white);
  text-align: center;
  background: var(--blue);
}

.cta-band p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.site-footer {
  padding-top: 90px;
  background: var(--soft);
}

.legal-body {
  padding: 70px 0 90px;
  max-width: 900px;
}

.legal-body p {
  font-size: 17px;
  margin: 0 0 16px;
}

.legal-body a {
  color: var(--blue);
}

/* hero slider */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 7s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 18, .58);
}

.hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* icons */

.tri-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  transition: transform .25s ease;
}

.tri-card:hover .tri-icon {
  transform: scale(1.08);
}

.tri-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* scroll-reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.rows li {
  transition: background .2s ease;
}

.rows li:hover {
  background: var(--soft);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide.is-active {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .founder .angled-image {
    height: 380px;
  }
}

@media (max-width: 760px) {
  .nav-links a:first-child,
  .nav-links a.active {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .tri-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 300px;
  }

  .page-hero .hero-inner {
    padding-top: 0;
  }

  .steps li {
    padding-left: 60px;
  }
}
