:root {
  --ink: #071014;
  --muted: #5f6c70;
  --line: rgba(7, 16, 20, 0.12);
  --paper: #f5f8f7;
  --white: #ffffff;
  --blue: #0d5b82;
  --cyan: #34b6c6;
  --green: #7abf8b;
  --gold: #c89b55;
  --shadow: 0 22px 70px rgba(7, 16, 20, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 16, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(52, 182, 198, 0.18), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(200, 155, 85, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 247, 0.62));
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: 4px;
  height: 100svh;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  box-shadow: 0 0 24px rgba(52, 182, 198, 0.64);
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 16, 20, 0.34);
  box-shadow: 0 18px 60px rgba(7, 16, 20, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav,
.nav-mail {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #d7f3f2);
  box-shadow: inset 0 -1px 0 rgba(7, 16, 20, 0.12);
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a,
.nav-mail {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav-mail:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-mail {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 720;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 80px) 56px;
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -0.08em;
  bottom: -0.19em;
  z-index: 1;
  content: "LEONARDS";
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(82px, 18vw, 260px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    radial-gradient(circle at var(--hero-x, 42%) var(--hero-y, 34%), rgba(52, 182, 198, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(5, 12, 18, 0.78), rgba(5, 12, 18, 0.42) 44%, rgba(5, 12, 18, 0.12)),
    linear-gradient(0deg, rgba(7, 16, 20, 0.72), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  min-width: 0;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7.2vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 980px;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.4;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(650px, 100%);
  margin-top: 28px;
}

.hero-metrics span {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics strong,
.hero-metrics small {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1;
}

.hero-metrics small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(255, 255, 255, 0.22);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: 56px;
  z-index: 2;
  width: min(350px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  text-wrap: balance;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.compact {
  display: block;
  max-width: 730px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.practice-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(7, 16, 20, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.practice-card:hover {
  border-color: rgba(13, 91, 130, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.practice-card::after {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 34px;
  background: var(--blue);
  content: "";
  transform-origin: left;
  transition: transform 220ms ease;
}

.practice-card:hover::after {
  transform: scaleX(2.2);
}

.practice-card span {
  display: block;
  margin-bottom: 74px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.practice-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  letter-spacing: 0;
}

.practice-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.ticker-band {
  overflow: hidden;
  border-block: 1px solid rgba(7, 16, 20, 0.11);
  background: #10191d;
  color: #ffffff;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 24px 18px;
  animation: ticker 36s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 760;
}

.portfolio {
  width: min(1320px, calc(100% - 40px));
}

.portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 1fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: end;
  margin-bottom: 20px;
}

.portfolio-head h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.92;
  text-wrap: balance;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.portfolio-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background: #10191d;
  box-shadow: 0 22px 80px rgba(7, 16, 20, 0.18);
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.portfolio-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(7, 16, 20, 0.86), rgba(7, 16, 20, 0.12) 58%),
    linear-gradient(110deg, rgba(13, 91, 130, 0.38), transparent 52%);
  content: "";
}

.portfolio-card:hover img {
  filter: saturate(1.14) contrast(1.05);
  transform: scale(1.065);
}

.portfolio-card > div,
.portfolio-card.muted-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 44px);
}

.portfolio-card span {
  display: block;
  margin-bottom: auto;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
}

.portfolio-card h3 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 78px);
  line-height: 0.94;
  text-wrap: balance;
}

.portfolio-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.55;
}

.portfolio-card-large {
  grid-row: span 2;
  min-height: 720px;
}

.muted-card {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(237, 245, 244, 0.78)),
    var(--paper);
  border: 1px solid var(--line);
}

.muted-card::before {
  background:
    radial-gradient(circle at 82% 20%, rgba(200, 155, 85, 0.22), transparent 28%),
    radial-gradient(circle at 22% 82%, rgba(52, 182, 198, 0.16), transparent 32%);
}

.muted-card h3,
.muted-card p,
.muted-card span {
  position: relative;
  z-index: 2;
}

.muted-card p {
  color: var(--muted);
}

.geo-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.orbital-map,
.market-slider {
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 64px rgba(7, 16, 20, 0.08);
}

.geography {
  position: relative;
}

.geography::before {
  position: absolute;
  top: 94px;
  right: -9vw;
  color: rgba(7, 16, 20, 0.045);
  content: "MARKETS";
  font-size: clamp(88px, 16vw, 230px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.orbital-map {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 91, 130, 0.08), rgba(122, 191, 139, 0.08)),
    rgba(255, 255, 255, 0.72);
}

.orbital-map::before {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px dashed rgba(7, 16, 20, 0.14);
  border-radius: 50%;
}

.orbital-map strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #071014, #0d5b82);
  box-shadow: 0 28px 80px rgba(13, 91, 130, 0.34);
  font-size: 18px;
  letter-spacing: 0;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(13, 91, 130, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 74%;
  aspect-ratio: 1;
  animation: spin 24s linear infinite;
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  animation: spin 18s linear infinite reverse;
}

.orbit-three {
  width: 39%;
  aspect-ratio: 1;
  animation: spin 15s linear infinite;
}

.node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(52, 182, 198, 0.13), 0 0 28px rgba(52, 182, 198, 0.62);
}

.node-moscow { top: 29%; left: 42%; }
.node-minsk { top: 35%; left: 31%; }
.node-yerevan { top: 54%; left: 55%; background: var(--gold); }
.node-astana { top: 41%; right: 25%; background: var(--green); }
.node-tashkent { bottom: 24%; right: 31%; }
.node-dushanbe { bottom: 19%; right: 42%; background: var(--gold); }

.market-slider {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.slider-head {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.slider-head h3 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.95;
}

.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  border-color: rgba(13, 91, 130, 0.42);
  transform: translateY(-1px);
}

.icon-button span {
  font-size: 34px;
  line-height: 1;
}

#market-copy {
  min-height: 86px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 112px;
  margin-top: auto;
  align-content: flex-end;
}

.city-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(13, 91, 130, 0.16);
  border-radius: 8px;
  background: rgba(13, 91, 130, 0.06);
  font-size: 14px;
  font-weight: 720;
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.slider-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 16, 20, 0.18);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button[aria-current="true"] {
  width: 54px;
  background: var(--blue);
}

.dealflow {
  padding-top: 0;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.flow-step {
  position: relative;
  min-height: 220px;
  padding: 28px 22px 0 0;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(13, 91, 130, 0.11);
  content: "";
}

.flow-step span {
  display: block;
  margin-bottom: 68px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.flow-step p {
  margin: 0;
  max-width: 230px;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 44px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.94), rgba(13, 91, 130, 0.92)),
    #071014;
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.contact p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.6;
}

.contact-link {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.contact-link span {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 2.4vw, 31px);
  font-weight: 760;
}

.contact-link strong {
  font-size: 15px;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045) translate3d(-1.3%, -0.8%, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 960px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
  }

  .section-heading,
  .portfolio-head,
  .geo-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .practice-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card-large {
    min-height: 520px;
  }

  .flow {
    gap: 22px;
    border-top: 0;
  }

  .flow-step {
    min-height: 180px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .flow-step span {
    margin-bottom: 38px;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: min(100% - 20px, 1180px);
    min-height: 58px;
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-mail {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 940px;
    padding: 118px 20px 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: 0.96;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-metrics span {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding-block: 66px;
  }

  .portfolio {
    width: min(100% - 28px, 1180px);
  }

  .portfolio-card,
  .portfolio-card-large {
    min-height: 430px;
  }

  .portfolio-card h3 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .scroll-progress {
    width: 3px;
  }

  .practice-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 240px;
  }

  .practice-card span {
    margin-bottom: 42px;
  }

  .orbital-map,
  .market-slider {
    min-height: 410px;
  }

  .hero-panel {
    width: 100%;
  }

  .orbital-map strong {
    width: 138px;
    height: 138px;
  }

  .slider-head {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  #market-copy {
    font-size: 18px;
  }

  .contact {
    width: min(100% - 28px, 1180px);
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
