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

@font-face {
  font-family: "Bariol";
  src: url("../fonts/Bariol_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  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;
  --max-width: 1360px;
  --header-height: 118px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Bariol";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }

.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: 190px 1fr auto;
  gap: 32px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 178px;
  height: 88px;
  overflow: hidden;
  line-height: 0;
}
.brand img {
  display: block;
  width: 169px;
  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: 15px;
}
.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: 14px; }
.language-switcher a[aria-current="page"] { color: var(--leo-yellow); }

.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: 36px 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: 164px 1fr auto;
    gap: 18px;
  }
  .brand { width: 154px; height: 82px; }
  .brand img { width: 148px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 14px; }
  .language-switcher { padding-left: 16px; gap: 10px; }
  .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: 92px; }
  .header-inner {
    width: min(calc(100% - 30px), var(--max-width));
    height: var(--header-height);
    grid-template-columns: 1fr auto;
  }
  .brand { width: 132px; height: 70px; }
  .brand img { width: 126px; }
  .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 {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }
  .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 0;
  }
  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 {
    min-height: 340px;
    margin-top: 10px;
    overflow: hidden;
  }
  .outer-circle {
    width: 360px;
    right: -92px;
    top: 53%;
    border-width: 14px;
  }
  .ring-1 { width: 290px; height: 290px; right: -17px; top: 23px; }
  .ring-2 { width: 210px; height: 210px; right: 23px; top: 63px; }
  .ring-3 { width: 130px; height: 130px; right: 63px; top: 103px; }
  .center-dot { width: 18px; height: 18px; right: 119px; top: 159px; }
}

@media (max-width: 520px) {
  .brand { width: 120px; height: 64px; }
  .brand img { width: 116px; }
  h1 { font-size: clamp(46px, 12.7vw, 61px); }
  .hero-lead { font-size: 18px; }
  .hero-cta { padding: 14px 20px; }
  .hero-graphic { min-height: 290px; }
  .outer-circle { width: 320px; right: -86px; top: 53%; border-width: 13px; }
  .ring-1 { width: 250px; height: 250px; right: -10px; top: 19px; }
  .ring-2 { width: 178px; height: 178px; right: 26px; top: 55px; }
  .ring-3 { width: 106px; height: 106px; right: 62px; top: 91px; }
  .center-dot { width: 16px; height: 16px; right: 108px; top: 138px; }
}

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