:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #18181b;
  --muted: #71717a;
  --border: rgba(39, 39, 42, 0.12);
  --dark: #09090b;
  --dark-soft: #18181b;
  --dark-line: rgba(255, 255, 255, 0.16);
  --light-line: rgba(24, 24, 27, 0.14);
  --accent: #a855f7;
  --accent-soft: #fb923c;
  --container: min(1380px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", "Avenir Next", sans-serif;
  line-height: 1.6;
}

::selection {
  background: var(--ink);
  color: #fff;
}

button,
input,
textarea {
  font: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(24, 24, 27, 0.06) 0.45px, transparent 0.45px);
  background-size: 10px 10px;
  opacity: 0.18;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background-color 300ms ease,
    backdrop-filter 300ms ease,
    border-color 300ms ease,
    padding 300ms ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-color: rgba(39, 39, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner,
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__inner {
  min-height: 92px;
}

.brand--button,
.site-nav__link,
.header-cta,
.hero__bottom-action,
.mobile-menu__links button,
.button,
.footer__link {
  cursor: pointer;
}

.brand--button {
  font-size: clamp(1.2rem, 1rem + 0.45vw, 1.7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.brand--button span {
  color: rgba(255, 255, 255, 0.5);
}

.site-header.is-scrolled .brand--button span {
  color: #a1a1aa;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav__link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav__link:hover,
.footer__link:hover {
  color: #a1a1aa;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled .header-cta {
  border-color: rgba(24, 24, 27, 0.12);
  background: #f4f4f5;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .header-cta:hover {
  background: #e4e4e7;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 28px;
  right: 24px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.mobile-menu__links button {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  overflow: hidden;
  padding-top: 112px;
}

.hero__columns {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  border-top: 1px solid var(--dark-line);
}

.hero-panel {
  position: relative;
  flex: 1;
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 34px;
  overflow: hidden;
  border-right: 1px solid var(--dark-line);
  transition: background-color 300ms ease;
}

.hero-panel:last-child {
  border-right: 0;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-panel::before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(1) brightness(0.48);
  transform: scale(1.02);
  transition: filter 400ms ease, transform 400ms ease;
}

.hero-panel::after {
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.62), rgba(9, 9, 11, 0.16) 28%, rgba(9, 9, 11, 0.82)),
    linear-gradient(90deg, rgba(9, 9, 11, 0.18), transparent 28%, transparent 72%, rgba(9, 9, 11, 0.22));
}

.hero-panel:hover::before {
  filter: grayscale(0.35) brightness(0.72);
  transform: scale(1.05);
}

.hero-panel--hakhalev::before {
  background-image: url("assets/hakhalev-photo.png");
  background-position: center 18%;
}

.hero-panel--kornev::before {
  background-image: url("assets/kornev-photo.png");
  background-position: center 18%;
}

.hero-panel--lochkanov::before {
  background-image: url("assets/lochkanov-photo.png");
  background-position: center 18%;
}

.hero-panel__meta,
.section-index,
.practice__title,
.button,
.contact__eyebrow {
  text-transform: uppercase;
}

.hero-panel__meta,
.hero-panel__name {
  position: relative;
  z-index: 1;
}

.hero-panel__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero-panel__line {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-panel__name {
  align-self: flex-start;
  color: #fff;
  font-size: clamp(3.8rem, 5.1vw, 6.6rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.hero-panel__dot {
  color: #71717a;
  font-size: 0.72em;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--dark-line);
  background: rgba(9, 9, 11, 0.92);
}

.hero__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
}

.hero__bottom-text {
  max-width: 64rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero__bottom-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__bottom-arrow {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.hero__bottom-action:hover .hero__bottom-arrow {
  transform: translateY(3px);
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-index {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #71717a;
}

.section-index--light {
  color: rgba(255, 255, 255, 0.5);
}

.manifesto {
  background: #fafafa;
}

.manifesto__index {
  margin-bottom: 34px;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.manifesto__quote {
  max-width: none;
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3rem, 3.7vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

.manifesto__text {
  max-width: none;
  margin-top: 0;
  justify-self: stretch;
}

.manifesto__text p {
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}

.manifesto__text p + p {
  margin-top: 22px;
}

.section--light {
  background: #fff;
  border-top: 1px solid rgba(39, 39, 42, 0.08);
}

.experts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 42px;
  margin-top: 56px;
}

.expert-card {
  cursor: default;
}

.expert-card--offset-1 {
  margin-top: 80px;
}

.expert-card--offset-2 {
  margin-top: 160px;
}

.expert-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 28px;
  background-color: #f4f4f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(1);
  transition: filter 400ms ease, transform 400ms ease;
}

.expert-card:hover .expert-card__image {
  filter: grayscale(0);
  transform: scale(1.02);
}

.expert-card__image--hakhalev {
  background-image: url("assets/hakhalev-photo.png");
  background-position: center 18%;
}

.expert-card__image--kornev {
  background-image: url("assets/kornev-photo.png");
  background-position: center 20%;
}

.expert-card__image--lochkanov {
  background-image: url("assets/lochkanov-photo.png");
  background-position: center 20%;
}

.expert-card h3 {
  font-size: 3rem;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.expert-card__role {
  margin: 10px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e4e7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #71717a;
}

.expert-card__text {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.practice__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--dark-line);
}

.practice__title {
  margin-top: 18px;
  font-size: clamp(3rem, 4.2vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.practice__lead {
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
}

.practice__list {
  display: grid;
}

.practice-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 220ms ease;
}

.practice-item:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.practice-item__number {
  flex: 0 0 22%;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.18);
}

.practice-item__body {
  flex: 1;
}

.practice-item__body h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.practice-item__body p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.practice-item__arrow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 220ms ease, border-color 220ms ease;
}

.practice-item:hover .practice-item__arrow {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.contact {
  background: #fff;
  border-top: 1px solid rgba(39, 39, 42, 0.08);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
}

.contact__title {
  margin: 22px 0 26px;
  font-size: clamp(3.2rem, 4.8vw, 5.8rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.contact__text {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
}

.contact__panel {
  padding: 34px;
  background: #fafafa;
  border: 1px solid rgba(39, 39, 42, 0.08);
}

.contact__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #71717a;
}

.contact__steps {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.contact__steps article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e7;
}

.contact__steps span {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 0.9;
  color: #a1a1aa;
}

.contact__steps p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  transition: all 180ms ease;
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--dark:hover {
  background: #27272a;
}

.button--ghost-dark {
  border: 1px solid #d4d4d8;
  color: var(--ink);
}

.button--ghost-dark:hover {
  border-color: var(--ink);
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(39, 39, 42, 0.08);
  background: #fff;
}

.footer__inner {
  font-size: 0.88rem;
  color: #71717a;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__link {
  color: inherit;
}


@media (max-width: 1080px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__columns {
    flex-direction: column;
  }

  .hero-panel {
    min-height: 28vh;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .hero-panel:last-child {
    border-bottom: 0;
  }

  .hero__bottom-inner,
  .practice__head,
  .contact__grid,
  .manifesto__grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .manifesto__text {
    max-width: none;
    margin-top: 0;
    justify-self: stretch;
  }

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

  .expert-card--offset-1,
  .expert-card--offset-2 {
    margin-top: 0;
  }

  .practice-item {
    align-items: flex-start;
  }

  .practice-item__number {
    flex-basis: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1380px, calc(100vw - 28px));
  }

  .site-header__inner {
    min-height: 78px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-panel {
    min-height: 23vh;
    padding: 22px 18px 24px;
  }

  .hero-panel__name {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .hero__bottom-inner {
    padding: 22px 0 26px;
  }

  .section {
    padding: 88px 0;
  }

  .manifesto__quote,
  .contact__title {
    max-width: none;
  }

  .practice-item {
    flex-direction: column;
    gap: 18px;
  }

  .practice-item__arrow {
    width: 48px;
    height: 48px;
  }

  .contact__panel {
    padding: 22px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
