@font-face {
  font-family: "Bariol";
  src: url("/assets/fonts/bariol_regular-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bariol";
  src: url("/assets/fonts/Bariol_Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --leo-purple: #761f8b;       /* exact background purple in the original horizontal logo PDF render */
  --brand-purple: #7e2a8a;     /* brandbook purple for text/graphics */
  --leo-yellow: #ffd800;
  --ink: #2d2130;
  --muted: #5a4b5e;
  --page: #ffffff;
  --section-alt: #fbf8fc;
  --max-width: 1360px;
  --header-height: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); background: var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Bariol", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }

:where(a, button):focus-visible {
  outline: 3px solid var(--leo-yellow);
  outline-offset: 4px;
}

.hero-cta:focus-visible { outline-color: var(--brand-purple); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 16px;
  transform: translateY(-160%);
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--leo-yellow);
  color: #30163a;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--leo-purple);
  border-bottom: 4px solid var(--leo-yellow);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max-width));
  height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 160px;
  height: 78px;
  overflow: visible;
  line-height: 0;
}
.brand img {
  display: block;
  width: 154px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
}
.desktop-nav a,
.language-switcher a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.desktop-nav a {
  position: relative;
  padding: 10px 0 9px;
  font-size: 20px;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--leo-yellow);
  transition: right .18s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { right: 0; }

.language-switcher {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.42);
}
.language-switcher a { font-size: 18px; }
.language-switcher a[aria-current="page"] { color: var(--leo-yellow); }
.language-pending {
  color: rgba(255,255,255,.70);
  cursor: default;
  user-select: none;
}

.menu-toggle,
.mobile-nav { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-inner {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(52px, 6vw, 104px);
  align-items: center;
  padding: 76px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

h1 {
  margin: 0;
  color: var(--brand-purple);
  font-size: clamp(64px, 5.95vw, 94px);
  line-height: .965;
  letter-spacing: -.035em;
  font-weight: 700;
}
.yellow-dot { color: var(--leo-yellow); }

.hero-lead {
  max-width: 750px;
  margin: 28px 0 0;
  color: #3f3342;
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.48;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 15px 23px 14px;
  border-radius: 999px;
  background: var(--leo-yellow);
  color: #36173e;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 9px 25px rgba(126,42,138,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(126,42,138,.16);
}

/* RIGHT-SIDE MOTIF: the approved original circular graphic */
.hero-graphic {
  position: relative;
  min-height: 610px;
  align-self: stretch;
  pointer-events: none;
}
.outer-circle {
  position: absolute;
  width: min(47vw, 660px);
  aspect-ratio: 1;
  right: -13%;
  top: 50%;
  transform: translateY(-50%);
  border: 18px solid var(--brand-purple);
  border-radius: 50%;
}
.ring {
  position: absolute;
  border: 2px solid rgba(126,42,138,.13);
  border-radius: 50%;
}
.ring-1 { width: 420px; height: 420px; right: -62px; top: 90px; }
.ring-2 { width: 300px; height: 300px; right: -2px; top: 150px; }
.ring-3 { width: 178px; height: 178px; right: 59px; top: 211px; }
.center-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 136px;
  top: 288px;
  border-radius: 50%;
  background: var(--leo-yellow);
}

.anchor-placeholder { height: 0; }

@media (max-width: 1120px) {
  .header-inner {
    width: min(calc(100% - 44px), var(--max-width));
    grid-template-columns: 150px 1fr auto;
    gap: 16px;
  }
  .brand { width: 142px; height: 70px; }
  .brand img { width: 136px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 17px; }
  .language-switcher { padding-left: 16px; gap: 10px; }
  .language-switcher a { font-size: 16px; }
  .hero-inner {
    width: min(calc(100% - 44px), var(--max-width));
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .7fr);
  }
  .outer-circle { right: -34%; }
}

@media (max-width: 900px) {
  :root { --header-height: 82px; }
  .header-inner {
    width: min(calc(100% - 30px), var(--max-width));
    height: var(--header-height);
    grid-template-columns: 1fr auto;
  }
  .brand { width: 118px; height: 60px; }
  .brand img { width: 114px; }
  .desktop-nav,
  .language-switcher { display: none; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: .18s ease;
  }
  .site-header[data-open="true"] .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header[data-open="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    background: var(--leo-purple);
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 10px 18px 22px;
  }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-nav nav { display: grid; }
  .mobile-nav nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
  }
  .mobile-languages {
    display: flex;
    gap: 20px;
    padding-top: 19px;
  }
  .mobile-languages a,
  .mobile-languages .language-pending {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-languages .language-pending { color: rgba(255,255,255,.70); }
  .mobile-languages a[aria-current="page"] { color: var(--leo-yellow); }

  .hero-inner {
    width: min(calc(100% - 36px), var(--max-width));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 58px 0 74px;
  }
  h1 {
    font-size: clamp(50px, 12vw, 72px);
    line-height: .98;
  }
  .hero-lead {
    margin-top: 28px;
    font-size: 20px;
  }
  .hero-cta { margin-top: 28px; font-size: 17px; }
  .hero-graphic {
    display: none;
  }
  .outer-circle {
    width: min(78vw, 360px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-width: 14px;
  }
  .ring-1 {
    width: min(63vw, 290px);
    height: min(63vw, 290px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .ring-2 {
    width: min(46vw, 210px);
    height: min(46vw, 210px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .ring-3 {
    width: min(28vw, 130px);
    height: min(28vw, 130px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .center-dot {
    width: 18px;
    height: 18px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 520px) {
  .brand { width: 108px; height: 56px; }
  .brand img { width: 104px; }
  h1 { font-size: clamp(46px, 12.7vw, 61px); }
  .hero-lead { font-size: 18px; }
  .hero-cta { padding: 14px 20px; }
  .outer-circle { width: min(82vw, 320px); border-width: 13px; }
  .ring-1 { width: min(64vw, 250px); height: min(64vw, 250px); }
  .ring-2 { width: min(46vw, 178px); height: min(46vw, 178px); }
  .ring-3 { width: min(27vw, 106px); height: min(27vw, 106px); }
  .center-dot { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* COMMERCIAL PARTNERSHIPS */
.partnerships {
  background: var(--section-alt);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-inner {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 76px 0 80px;
}

.section-heading {
  max-width: 1040px;
  margin-bottom: 64px;
}

.section-title {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--brand-purple);
  font-size: clamp(54px, 4.55vw, 70px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.section-title::after {
  content: "";
  display: inline-block;
  width: .16em;
  height: .16em;
  margin-left: .10em;
  border-radius: 50%;
  background: var(--leo-yellow);
  vertical-align: .10em;
}

.section-intro {
  margin: 38px 0 0;
  max-width: 940px;
  color: #3f3342;
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.48;
  font-weight: 400;
}

/* Open editorial 2 × 2 layout — intentionally not styled as service cards. */
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(56px, 6vw, 96px);
  row-gap: 74px;
}

.partnership-item {
  position: relative;
  min-height: 260px;
  padding: 30px 0 12px;
  background: transparent;
}

.partnership-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-purple);
}

.item-index {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
  color: var(--brand-purple);
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
}

.item-index i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: var(--leo-yellow);
}

.partnership-item h3 {
  margin: 0;
  max-width: 560px;
  color: var(--brand-purple);
  font-size: clamp(31px, 2.35vw, 40px);
  line-height: 1.02;
  letter-spacing: -.027em;
  font-weight: 700;
}

.partnership-item p {
  margin: 24px 0 0;
  max-width: 590px;
  color: #4b3f4e;
  font-size: 20px;
  line-height: 1.56;
}

@media (max-width: 900px) {
  .partnerships { scroll-margin-top: calc(var(--header-height) + 8px); }
  .section-inner {
    width: min(calc(100% - 36px), var(--max-width));
    padding: 62px 0 66px;
  }
  .section-heading { margin-bottom: 50px; }
  .section-title { font-size: clamp(38px, 9.6vw, 46px); }
  .section-intro {
    margin-top: 26px;
    font-size: 20px;
  }
  .partnership-grid {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }
  .partnership-item {
    min-height: 0;
    padding: 26px 0 8px;
  }
  .partnership-item::before {
    width: 58px;
    height: 2px;
  }
  .item-index {
    margin-bottom: 22px;
    font-size: 19px;
  }
  .partnership-item h3 { font-size: clamp(27px, 7vw, 31px); }
  .partnership-item p {
    margin-top: 18px;
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .section-inner { width: min(calc(100% - 28px), var(--max-width)); }
  .section-title { font-size: clamp(36px, 9.7vw, 42px); }
  .section-intro { font-size: 18px; }
  .partnership-grid { row-gap: 38px; }
}

/* CEE MARKET EXPERTISE */
.cee-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.cee-inner {
  position: relative;
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding: 76px 0 82px;
}

.cee-copy {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.cee-copy h2 {
  margin: 0;
  max-width: 900px;
  color: var(--brand-purple);
  font-size: clamp(54px, 4.55vw, 70px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.cee-copy > p {
  margin: 38px 0 0;
  max-width: 900px;
  color: #4b3f4e;
  font-size: clamp(21px, 1.6vw, 26px);
  line-height: 1.5;
}

.cee-topics {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 18px 42px;
  margin-top: 44px;
}

.cee-topics li {
  position: relative;
  display: inline-block;
  padding-left: 18px;
  color: var(--brand-purple);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
}

.cee-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leo-yellow);
}

.cee-graphic {
  position: relative;
  min-height: 410px;
  align-self: stretch;
  pointer-events: none;
}

.cee-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(126,42,138,.12);
}

.cee-ring-1 {
  width: 470px;
  height: 470px;
  right: -118px;
  top: -4px;
}

.cee-ring-2 {
  width: 340px;
  height: 340px;
  right: -53px;
  top: 61px;
}

.cee-ring-3 {
  width: 210px;
  height: 210px;
  right: 12px;
  top: 126px;
}

.cee-point {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 104px;
  top: 220px;
  border-radius: 50%;
  background: var(--leo-yellow);
}

@media (max-width: 900px) {
  .cee-section { scroll-margin-top: calc(var(--header-height) + 8px); }
  .cee-inner {
    width: min(calc(100% - 36px), var(--max-width));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 62px 0 66px;
  }
  .cee-copy h2 { font-size: clamp(38px, 9.6vw, 46px); }
  .cee-copy > p {
    margin-top: 28px;
    font-size: 20px;
  }
  .cee-topics {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 34px;
  }
  .cee-topics li {
    font-size: 16px;
    white-space: normal;
  }
  .cee-graphic {
    display: none;
  }
  .cee-ring-1 {
    width: min(78vw, 320px);
    height: min(78vw, 320px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .cee-ring-2 {
    width: min(57vw, 234px);
    height: min(57vw, 234px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .cee-ring-3 {
    width: min(36vw, 148px);
    height: min(36vw, 148px);
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .cee-point {
    width: 18px;
    height: 18px;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 520px) {
  .cee-inner { width: min(calc(100% - 28px), var(--max-width)); }
  .cee-copy h2 { font-size: clamp(36px, 9.7vw, 42px); }
  .cee-copy > p { font-size: 18px; }
  .cee-topics {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .cee-topics li { font-size: 15px; }
}

/* FROM OPPORTUNITY TO MARKET */
.process-section {
  background: var(--section-alt);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.process-inner {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 78px 0 52px;
}

.process-heading {
  max-width: 980px;
  margin-bottom: 58px;
}

.process-heading h2 {
  margin: 0;
  color: var(--brand-purple);
  font-size: clamp(54px, 4.55vw, 70px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.process-heading p {
  margin: 28px 0 0;
  max-width: 820px;
  color: #4b3f4e;
  font-size: clamp(21px, 1.6vw, 26px);
  line-height: 1.5;
}

.process-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 44px;
  counter-reset: none;
}

.process-step {
  position: relative;
  min-height: 0;
  padding: 28px 34px 0 0;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 2px;
  background: rgba(126,42,138,.34);
  border-radius: 2px;
}

.process-number {
  margin-bottom: 22px;
  color: var(--brand-purple);
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
}

.process-number::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--leo-yellow);
  vertical-align: .08em;
}

.process-step h3 {
  margin: 0;
  max-width: 360px;
  color: var(--brand-purple);
  font-size: clamp(28px, 1.95vw, 34px);
  line-height: 1.05;
  letter-spacing: -.024em;
  font-weight: 700;
}

.process-step p {
  margin: 18px 0 0;
  max-width: 390px;
  color: #4b3f4e;
  font-size: 18px;
  line-height: 1.52;
}

@media (max-width: 900px) {
  .process-section { scroll-margin-top: calc(var(--header-height) + 8px); }
  .process-inner {
    width: min(calc(100% - 36px), var(--max-width));
    padding: 62px 0 62px;
  }
  .process-heading { margin-bottom: 52px; }
  .process-heading h2 { font-size: clamp(38px, 9.6vw, 46px); }
  .process-heading p {
    margin-top: 26px;
    font-size: 20px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-step {
    min-height: 0;
    padding: 26px 0 42px 46px;
  }
  .process-step::before {
    left: 0;
    top: 32px;
    width: 22px;
    height: 2px;
  }
  .process-step:not(:nth-child(3n))::after,
  .process-step::after {
    content: "";
    position: absolute;
    left: 10px;
    right: auto;
    top: 52px;
    bottom: 0;
    width: 1px;
    height: auto;
    background: rgba(126,42,138,.20);
  }
  .process-step:last-child::after { display: none; }
  .process-number { margin-bottom: 18px; font-size: 18px; }
  .process-step h3 { font-size: clamp(27px, 7vw, 31px); }
  .process-step p { margin-top: 15px; font-size: 18px; }
}

@media (max-width: 520px) {
  .process-inner { width: min(calc(100% - 28px), var(--max-width)); }
  .process-heading h2 { font-size: clamp(36px, 9.7vw, 42px); }
  .process-heading p { font-size: 18px; }
  .process-step { padding-left: 40px; padding-bottom: 38px; }
  .process-step p { font-size: 17px; }
}



/* LET'S TALK */
.contact-section {
  background: var(--page);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.contact-inner {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  display: block;
  padding: 54px 0 76px;
}

.contact-main h2 {
  margin: 0;
  color: var(--brand-purple);
  font-size: clamp(54px, 4.55vw, 70px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.contact-main > p {
  margin: 36px 0 0;
  max-width: 850px;
  color: #4b3f4e;
  font-size: clamp(21px, 1.6vw, 26px);
  line-height: 1.5;
  font-weight: 400;
}

.contact-main > p strong {
  color: var(--ink);
  font-weight: 700;
}

.contact-email {
  position: relative;
  display: inline-block;
  margin-top: 40px;
  color: var(--brand-purple);
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none;
}

.contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--leo-yellow);
  transform-origin: left;
  transition: transform .18s ease;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  transform: scaleX(.68);
}


@media (max-width: 900px) {
  .contact-section { scroll-margin-top: calc(var(--header-height) + 8px); }
  .contact-inner {
    width: min(calc(100% - 36px), var(--max-width));
    padding: 58px 0 66px;
  }
  .contact-main h2 { font-size: clamp(38px, 9.6vw, 46px); }
  .contact-main > p {
    margin-top: 28px;
    font-size: 20px;
  }
  .contact-email {
    margin-top: 32px;
    font-size: clamp(27px, 7vw, 36px);
  }
}

@media (max-width: 520px) {
  .contact-inner { width: min(calc(100% - 28px), var(--max-width)); }
  .contact-main h2 { font-size: clamp(36px, 9.7vw, 42px); }
  .contact-main > p { font-size: 18px; }
  .contact-email { font-size: clamp(25px, 7vw, 32px); }
}


/* FOOTER */
.site-footer {
  background: var(--leo-purple);
  border-top: 2px solid var(--leo-yellow);
}

.footer-inner {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.footer-brand {
  width: 150px;
  height: 76px;
  display: flex;
  align-items: center;
  overflow: visible;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-email {
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
}

.footer-email:hover,
.footer-email:focus-visible,
.footer-languages a:hover,
.footer-languages a:focus-visible {
  color: var(--leo-yellow);
}

.footer-languages {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  font-weight: 700;
}

.footer-languages a {
  color: #fff;
  text-decoration: none;
}

.footer-languages a[aria-current="page"] {
  color: var(--leo-yellow);
}

@media (max-width: 700px) {
  .footer-inner {
    width: min(calc(100% - 36px), var(--max-width));
    min-height: 0;
    padding: 30px 0 32px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }
  .footer-brand {
    width: 128px;
    height: 64px;
  }
  .footer-email {
    font-size: 18px;
  }
  .footer-languages {
    justify-self: start;
  }
}


.footer-languages .language-pending { color: rgba(255,255,255,.68); }

/* Switch to compact navigation before the desktop labels become cramped. */
@media (max-width: 1040px) and (min-width: 901px) {
  :root { --header-height: 92px; }
  .header-inner {
    width: min(calc(100% - 44px), var(--max-width));
    height: var(--header-height);
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  .brand { width: 142px; height: 72px; }
  .brand img { width: 136px; }
  .desktop-nav, .language-switcher { display: none; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: .18s ease;
  }
  .site-header[data-open="true"] .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header[data-open="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    background: var(--leo-purple);
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 10px 22px 22px;
  }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-nav nav { display: grid; }
  .mobile-nav nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
  }
  .mobile-languages { display: flex; gap: 20px; padding-top: 19px; }
  .mobile-languages a, .mobile-languages .language-pending {
    color: #fff; text-decoration: none; font-weight: 700;
  }
  .mobile-languages .language-pending { color: rgba(255,255,255,.70); }
  .mobile-languages a[aria-current="page"] { color: var(--leo-yellow); }
}

/* =========================================================
   UNIFIED SECTION VERTICAL RHYTHM
   One rule for every content section after Hero.
   Desktop: 72px top / 72px bottom
   Mobile: 56px top / 56px bottom
   ========================================================= */
:root {
  --content-section-space-y: 72px;
}

.section-inner,
.cee-inner,
.process-inner,
.contact-inner {
  padding-top: var(--content-section-space-y);
  padding-bottom: var(--content-section-space-y);
}

/* Remove hidden height/padding that made visual bottom spacing inconsistent. */
.cee-inner {
  min-height: 0;
}

.partnership-item {
  min-height: 0;
  padding-bottom: 0;
}

.process-step {
  min-height: 0;
  padding-bottom: 0;
}

.cee-topics {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  :root {
    --content-section-space-y: 56px;
  }

  .section-inner,
  .cee-inner,
  .process-inner,
  .contact-inner {
    padding-top: var(--content-section-space-y);
    padding-bottom: var(--content-section-space-y);
  }

  .partnership-item {
    padding-bottom: 0;
  }
}

