/* ============================================================
   ЕЛЕНА РОЗИТ — бизнес-тренер и коуч · 2026
   Тренды: акцидентная типографика, гиперминимализм,
   микроэлементы (mono), aurora-градиенты, органические блобы,
   стекло и слои, микровзаимодействия.
   Палитра: бирюза #0E9089 · синий #2273A8 · navy #0D1F2A · янтарь #F2A65A
   ============================================================ */

:root {
  --paper: #edf4f4;
  --paper-2: #e2eded;
  --ink: #0e1f28;
  --ink-soft: #43596a;
  --ink-mute: #7a8ea0;

  --accent: #0e9089;
  --accent-deep: #0a6b66;
  --accent-bright: #1fb5ac;
  --blue: #2273a8;

  --dark: #0a1822;
  --dark-2: #0f2733;
  --cream: #eaf4f4;

  --warm: #f2a65a;
  --warm-soft: #f4b678;

  --line: rgba(14, 31, 40, 0.13);
  --line-light: rgba(234, 244, 244, 0.15);

  --grad-accent: linear-gradient(115deg, var(--accent) 0%, var(--blue) 100%);
  --grad-text: linear-gradient(100deg, var(--accent-bright) 10%, var(--blue) 90%);

  --font-display: "Unbounded", "Manrope", sans-serif;
  --font-serif: "Cormorant", "Georgia", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --container: 1280px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Зерно — фактура */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 3000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: var(--cream); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
section { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.35s, color 0.35s, border-color 0.35s, filter 0.35s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad-accent);
  color: var(--cream);
  box-shadow: 0 16px 40px -14px rgba(14, 144, 137, 0.6);
}
.btn--primary:hover { transform: translateY(-3px); filter: saturate(1.2) brightness(1.06); box-shadow: 0 24px 50px -16px rgba(34, 115, 168, 0.6); }
.btn--glass {
  background: rgba(234, 244, 244, 0.07);
  border-color: rgba(234, 244, 244, 0.25);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(234, 244, 244, 0.14); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); }
.btn--outline-light { border-color: var(--line-light); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--cream); transform: translateY(-3px); }
.btn--icon {
  width: 58px; height: 58px;
  padding: 0;
  border-radius: 50%;
  background: rgba(234, 244, 244, 0.07);
  border-color: rgba(234, 244, 244, 0.25);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--icon svg { width: 23px; height: 23px; }
.btn--icon:hover { background: rgba(234, 244, 244, 0.15); transform: translateY(-3px); }
.btn--icon.is-copied { border-color: var(--accent-bright); background: rgba(31, 181, 172, 0.2); }
.btn--small { padding: 12px 24px; font-size: 14px; background: var(--cream); color: var(--ink); }
.btn--small:hover { background: var(--accent); color: var(--cream); transform: translateY(-2px); }

/* ---------- Прелоадер ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: var(--dark);
  transition: clip-path 0.9s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.preloader__word {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  color: var(--cream);
  opacity: 0;
  transform: translateY(30px);
  animation: preloadWord 0.7s var(--ease-out) forwards;
}
.preloader__word:nth-child(2) { animation-delay: 0.18s; color: var(--accent-bright); }
.preloader__word:nth-child(3) { animation-delay: 0.36s; }
@keyframes preloadWord { to { opacity: 1; transform: none; } }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  color: var(--cream);
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s, color 0.4s;
}
.header.is-scrolled {
  background: rgba(237, 244, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__monogram {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--grad-accent);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  transition: transform 0.4s var(--ease-out), border-radius 0.4s var(--ease-out);
}
.logo:hover .logo__monogram { transform: rotate(-8deg); border-radius: 50%; }
.logo__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 5px;
  height: 1.5px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.9;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.8px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 100px 32px 48px;
  background: var(--dark);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-out), visibility 0s 0.65s;
}
.mobile-menu.is-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.65s var(--ease-out);
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu__link:hover { color: var(--accent-bright); }
.mobile-menu__link em {
  font-family: var(--font-mono);
  font-size: 13px;
  font-style: normal;
  color: var(--warm);
}
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.85;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}
.hero__aurora { position: absolute; inset: 0; overflow: hidden; }
.hero__aurora .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob--1 {
  width: 620px; height: 620px;
  top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(14, 144, 137, 0.85), transparent 65%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.blob--2 {
  width: 540px; height: 540px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(34, 115, 168, 0.8), transparent 65%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.blob--3 {
  width: 380px; height: 380px;
  top: 30%; left: 44%;
  background: radial-gradient(circle, rgba(31, 181, 172, 0.55), transparent 65%);
  animation: drift3 19s ease-in-out infinite alternate;
}
.blob--4 {
  width: 300px; height: 300px;
  bottom: 8%; left: 18%;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.28), transparent 65%);
  animation: drift2 24s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(90px, 60px) scale(1.15); }
}
@keyframes drift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -70px) scale(1.12); }
}
@keyframes drift3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(0.9); }
}
/* Каркасные линии — отсылка к интерфейсам и коду */
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 244, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 244, 244, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 181, 172, 0.14), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: 50%; top: 40%;
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  flex: 1;
}
.hero__topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 4vh, 44px);
  color: rgba(234, 244, 244, 0.6);
}
.hero__topline-right { color: var(--accent-bright); }
.hero__domain {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 10vh, 120px);
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(234, 244, 244, 0.08);
  pointer-events: none;
  user-select: none;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__name { color: var(--cream); }
.hero__name--grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__slogan {
  margin-top: clamp(20px, 3vh, 32px);
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
}
.hero__slogan em { color: var(--warm); }
.hero__lead {
  max-width: 540px;
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(234, 244, 244, 0.72);
}
.hero__lead strong { color: var(--cream); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__blob {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, rgba(31, 181, 172, 0.5), rgba(34, 115, 168, 0.35) 55%, transparent 75%);
  border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%;
  filter: blur(40px);
  animation: blobMorph 14s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0% { border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { border-radius: 58% 42% 40% 60% / 44% 62% 38% 56%; transform: translate(-50%, -50%) rotate(18deg) scale(1.08); }
}
.hero__card {
  position: relative;
  width: min(400px, 100%);
  border-radius: 50%;
  padding: 12px;
  background: rgba(234, 244, 244, 0.06);
  border: 1px solid rgba(234, 244, 244, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  transform-origin: center top;
  transform: scale(1.22) translateY(7%);
}
.hero__chip {
  position: absolute;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(13, 31, 42, 0.72);
  border: 1px solid rgba(234, 244, 244, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.6);
}
.hero__chip--1 { top: 4%; left: -8%; transform: rotate(-5deg); }

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(36px, 6vh, 64px);
  border: 1px solid rgba(234, 244, 244, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(234, 244, 244, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.hstat { padding: clamp(20px, 2.6vw, 32px); }
.hstat + .hstat { border-left: 1px solid rgba(234, 244, 244, 0.12); }
.hstat__number {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  color: var(--warm);
  line-height: 1;
}
.hstat__label {
  margin-top: 10px;
  color: rgba(234, 244, 244, 0.55);
  font-size: 11px;
}

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  font-style: italic;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__track i { margin: 0 18px; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции: общее ---------- */
.section { padding: clamp(80px, 12vh, 140px) 0; }
.section__head { margin-bottom: clamp(28px, 4vh, 44px); }
.section__tag { color: var(--accent); }
.section__tag::before { content: none; }
.section__title {
  max-width: 820px;
  margin-bottom: clamp(44px, 6vh, 72px);
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.section__title em { color: var(--accent); }
.formats .section__tag--light,
.contacts .section__tag--light { color: var(--accent-bright); }

/* ---------- Обо мне ---------- */
.about { background: var(--paper); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.about__title {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}
.about__title em { color: var(--accent); }
.about__text p { margin-bottom: 24px; color: var(--ink-soft); font-size: 17.5px; }
.about__text > p:first-child {
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.about__tags .mono {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.about__tags .mono:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

/* ---------- Экспертиза ---------- */
.expertise { background: var(--paper-2); }
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.expertise-card {
  position: relative;
  padding: clamp(30px, 3.4vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px -34px rgba(13, 31, 42, 0.45);
  border-color: rgba(14, 144, 137, 0.4);
}
.expertise-card__index {
  position: absolute;
  top: 26px; right: 30px;
  color: var(--ink-mute);
  opacity: 0.7;
}
.expertise-card__icon {
  width: 60px; height: 60px;
  margin-bottom: 26px;
  padding: 14px;
  border-radius: 18px;
  background: var(--grad-accent);
  color: var(--cream);
  box-shadow: 0 14px 30px -12px rgba(14, 144, 137, 0.55);
  transition: transform 0.4s var(--ease-out), border-radius 0.4s var(--ease-out);
}
.expertise-card:hover .expertise-card__icon { transform: rotate(-8deg); border-radius: 50%; }
.expertise-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 700;
  line-height: 1.15;
}
.expertise-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Программы ---------- */
.programs { background: var(--paper); }
.programs__list { border-top: 1px solid var(--line); }
.program {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto 56px;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  padding: clamp(26px, 3.4vh, 40px) 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  cursor: default;
}
/* градиентная волна при наведении */
.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 144, 137, 0.08), rgba(34, 115, 168, 0.05) 60%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.program:hover::before { transform: scaleX(1); }
.program > * { position: relative; }
.program__number { color: var(--accent); }
.program:hover .program__number { animation: nudge 0.4s var(--ease-out); }
@keyframes nudge { 50% { transform: translateX(5px); } }
.program__name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.08;
  transition: transform 0.4s var(--ease-out), color 0.3s;
}
.program:hover .program__name { transform: translateX(10px); color: var(--accent-deep); }
.program__desc {
  max-width: 340px;
  font-size: 14.5px;
  color: var(--ink-mute);
  text-align: right;
}
.program__arrow {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  opacity: 0;
  transform: translateX(-14px) rotate(-45deg);
  transition: opacity 0.35s, transform 0.35s var(--ease-out), background-color 0.35s, color 0.35s, border-color 0.35s;
}
.program:hover .program__arrow {
  opacity: 1;
  transform: translateX(0) rotate(0);
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--cream);
}

/* ---------- Раскрытие презентаций при наведении ---------- */
.program__details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.program__details-inner { overflow: hidden; min-height: 0; }
.program__details-body {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  padding: 24px 2px 4px;
}
.program--expandable:hover .program__details,
.program--expandable.program--open .program__details { grid-template-rows: 1fr; }
.program--expandable:hover .program__arrow {
  opacity: 1;
  transform: translateX(0) rotate(90deg);
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--cream);
}

.pres {
  flex: 1 1 280px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.pres:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -26px rgba(13, 31, 42, 0.4);
  border-color: rgba(14, 144, 137, 0.4);
}
.pres__tag {
  align-self: flex-start;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
}
.pres__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.15;
}
.pres__text { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.pres--cta {
  flex: 0 1 auto;
  align-self: center;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}
.pres--cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(14, 144, 137, 0.6);
}

/* ---------- Всплывающий предпросмотр презентации ---------- */
.pres-preview {
  position: fixed;
  z-index: 2500;
  width: min(360px, 42vw);
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 44px 88px -32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.pres-preview.is-on { opacity: 1; transform: none; }
.pres-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.22s ease;
}
.pres-preview__hint {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 24, 34, 0.82);
  border: 1px solid rgba(234, 244, 244, 0.15);
  color: var(--cream);
  font-size: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pres-preview__counter {
  position: absolute;
  right: 12px; top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 24, 34, 0.82);
  color: var(--warm-soft);
  font-size: 10px;
}

/* ---------- Форматы ---------- */
.formats {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}
.formats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 12% 0%, rgba(14, 144, 137, 0.3), transparent 65%),
    radial-gradient(720px 520px at 95% 100%, rgba(34, 115, 168, 0.32), transparent 65%);
  pointer-events: none;
}
.formats__title {
  position: relative;
  max-width: 860px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 600;
  line-height: 1.04;
}
.formats__title em { color: var(--warm); }
.formats__lead {
  position: relative;
  max-width: 560px;
  margin-bottom: clamp(40px, 6vh, 60px);
  color: rgba(234, 244, 244, 0.75);
  font-size: 17px;
}
.formats__carousel {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 8px max(24px, calc((100vw - var(--container)) / 2)) 24px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}
.formats__carousel::-webkit-scrollbar { display: none; }
.formats__carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.fchip {
  flex: 0 0 auto;
  padding: clamp(20px, 2.2vw, 28px) clamp(26px, 2.8vw, 40px);
  border: 1.5px solid rgba(234, 244, 244, 0.28);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 600;
  font-style: italic;
  white-space: nowrap;
  background: rgba(234, 244, 244, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.35s, color 0.35s, transform 0.35s var(--ease-out), border-color 0.35s;
}
.fchip:nth-child(3n) { background: rgba(234, 244, 244, 0.1); }
.fchip:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--accent-deep);
  transform: translateY(-5px);
}
.formats__hint {
  position: relative;
  color: rgba(234, 244, 244, 0.45);
}

/* ---------- Проекты ---------- */
.projects { background: var(--paper-2); }
.projects__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card {
  position: relative;
  padding: clamp(30px, 3.4vw, 46px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(13, 31, 42, 0.45); }
.project-card--wide {
  grid-column: 1 / -1;
  min-height: 320px;
  background: var(--dark);
  color: var(--cream);
  border-color: transparent;
  overflow: hidden;
}
.project-card--wide::after {
  content: "✳";
  position: absolute;
  top: -40px; right: 0;
  font-size: 240px;
  line-height: 1;
  color: rgba(234, 244, 244, 0.05);
  pointer-events: none;
}
.project-card--wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 85% 20%, rgba(14, 144, 137, 0.25), transparent 65%);
  pointer-events: none;
}
.project-card__tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  opacity: 0.8;
  font-size: 11px;
}
.project-card h3 {
  position: relative;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}
.project-card p { position: relative; max-width: 660px; font-size: 15.5px; color: var(--ink-soft); }
.project-card--wide p { color: rgba(234, 244, 244, 0.72); }

/* ---------- Клиенты ---------- */
.clients { background: var(--paper); }
.clients__list { border-top: 1px solid var(--line); }
.client-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.8vh, 30px) 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s, padding 0.35s var(--ease-out);
}
.client-row:hover { background: var(--dark); padding-left: 24px; padding-right: 24px; }
.client-row__index { color: var(--accent); }
.client-row__name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 34px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color 0.35s;
}
.client-row:hover .client-row__name { color: var(--cream); }
.client-row__meta { color: var(--ink-mute); transition: color 0.35s; }
.client-row:hover .client-row__meta { color: var(--warm-soft); }
.clients__note { margin-top: 24px; color: var(--ink-mute); font-size: 11.5px; }

/* ---------- Образование ---------- */
.education { background: var(--paper-2); }
.timeline { position: relative; max-width: 800px; margin-left: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 12px; bottom: 12px;
  width: 1.5px;
  background: var(--line);
}
.timeline__item { position: relative; padding: 0 0 40px 52px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 3px solid var(--accent);
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.timeline__item:hover .timeline__dot { transform: scale(1.35); background: var(--accent); }
.timeline__index { display: block; margin-bottom: 6px; color: var(--accent); font-size: 11px; }
.timeline__item h3 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}
.timeline__item p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Контакты ---------- */
.contacts {
  position: relative;
  padding: clamp(88px, 13vh, 150px) 0;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}
.contacts__aurora { position: absolute; inset: 0; overflow: hidden; }
.contacts__aurora .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.blob--5 {
  width: 560px; height: 560px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(14, 144, 137, 0.7), transparent 65%);
  animation: drift1 24s ease-in-out infinite alternate;
}
.blob--6 {
  width: 480px; height: 480px;
  bottom: -140px; right: -80px;
  background: radial-gradient(circle, rgba(34, 115, 168, 0.65), transparent 65%);
  animation: drift2 28s ease-in-out infinite alternate;
}
.contacts__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.contacts__title {
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 600;
  line-height: 1;
}
.contacts__title em { color: var(--warm); }
.contacts__lead {
  max-width: 520px;
  margin-bottom: 44px;
  color: rgba(234, 244, 244, 0.72);
  font-size: 17.5px;
}
.contacts__links { display: grid; gap: 14px; margin-bottom: 40px; max-width: 560px; }
.contacts__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(234, 244, 244, 0.16);
  border-radius: var(--radius);
  background: rgba(234, 244, 244, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.contacts__link:hover {
  background: rgba(234, 244, 244, 0.09);
  border-color: rgba(31, 181, 172, 0.5);
  transform: translateX(8px);
}
.contacts__link--btn {
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.contacts__link.is-copied {
  border-color: var(--accent-bright);
  background: rgba(31, 181, 172, 0.12);
}
.contacts__link-label { color: var(--accent-bright); font-size: 11px; display: inline-flex; align-items: center; gap: 9px; }
.contacts__link-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.contacts__link-value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
}
.contacts__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.contacts__visual { position: relative; display: flex; justify-content: center; }
.contacts__blob {
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 60% 35%, rgba(31, 181, 172, 0.4), rgba(34, 115, 168, 0.28) 55%, transparent 75%);
  border-radius: 56% 44% 38% 62% / 46% 58% 42% 54%;
  filter: blur(44px);
  animation: blobMorph 16s ease-in-out infinite alternate-reverse;
}
.contacts__photo {
  position: relative;
  width: min(380px, 100%);
  margin: 0;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: rgba(234, 244, 244, 0.05);
  border: 1px solid rgba(234, 244, 244, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}
.contacts__photo img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* ---------- Футер ---------- */
.footer {
  position: relative;
  padding: 40px 0 0;
  background: var(--dark);
  border-top: 1px solid var(--line-light);
  color: rgba(234, 244, 244, 0.6);
  overflow: hidden;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 32px;
  font-size: 13.5px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cream);
}
.footer__slogan { font-family: var(--font-serif); font-style: italic; font-size: 17px; }
.footer__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.9;
  text-align: center;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(234, 244, 244, 0.12);
  user-select: none;
  pointer-events: none;
  transform: translateY(22%);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.magnetic { transition: transform 0.25s ease-out, box-shadow 0.35s, background-color 0.35s, color 0.35s, border-color 0.35s, filter 0.35s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { order: -1; margin-top: 12px; }
  .hero__card { width: min(320px, 84vw); }
  .hero__chip--1 { left: -12px; }
  .hero__topline-right { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hstat + .hstat { border-left: none; }
  .hstat:nth-child(even) { border-left: 1px solid rgba(234, 244, 244, 0.12); }
  .hstat:nth-child(n+3) { border-top: 1px solid rgba(234, 244, 244, 0.12); }
  .about__grid { grid-template-columns: 1fr; }
  .about__title { position: static; }
  .expertise__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .pres { flex: 1 1 100%; max-width: none; }
  .pres--cta { align-self: flex-start; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__visual { order: -1; }
  .contacts__photo { width: min(300px, 78vw); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__actions .btn { display: none; }
  .hero__cta .btn { padding: 15px 26px; font-size: 14px; }
  .program { grid-template-columns: 58px 1fr; grid-template-rows: auto auto; }
  .program__desc { display: none; }
  .program__arrow { display: none; }
  .client-row { grid-template-columns: 44px 1fr; }
  .client-row__meta { display: none; }
  .contacts__link { flex-direction: column; gap: 6px; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
