﻿/* =========================================================
   Анна Хомутова — сайт-визитка
   Стиль: тёмно-сливовый космос + электрические акценты
   ========================================================= */

:root {
  --bg: #241a38;
  --bg-2: #2c1f45;
  --bg-3: #221731;

  --blue: #7c5cff;
  --blue-soft: #a78bfa;
  --cyan: #ab9bff;
  --violet: #c4b5fd;
  --lime: #c9ff5c;
  --pink: #f0a6d0;

  --ink: #ede6fb;
  --ink-dim: #cdc0e6;
  --muted: #b7abda;

  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(30, 21, 46, 0.80);
  --stroke: rgba(196, 181, 253, 0.18);
  --stroke-bright: rgba(196, 181, 253, 0.50);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;

  --radius: 26px;
  --radius-sm: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection {
  background: var(--lime);
  color: #201540;
}

/* ---------- скроллбар ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #241a38; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--violet));
  border-radius: 99px;
  border: 3px solid #241a38;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--cyan), var(--blue)); }

/* =========================================================
   ФОН
   ========================================================= */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(124, 92, 255, 0.30), transparent 62%),
    radial-gradient(900px 600px at 8% 8%, rgba(167, 139, 250, 0.20), transparent 60%),
    radial-gradient(1000px 900px at 50% 110%, rgba(196, 181, 253, 0.10), transparent 65%),
    linear-gradient(175deg, #241a38 0%, #2b1e42 45%, #1f1730 100%);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}
.aurora--1 {
  width: 52vw; height: 52vw;
  top: -16vw; right: -8vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.72), transparent 68%);
  animation: drift-1 24s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 42vw; height: 42vw;
  bottom: -12vw; left: -10vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.50), transparent 68%);
  animation: drift-2 30s ease-in-out infinite alternate;
}
.aurora--3 {
  width: 34vw; height: 34vw;
  top: 42%; left: 44%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.40), transparent 66%);
  animation: drift-3 26s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  to { transform: translate3d(-8vw, 9vh, 0) scale(1.18); }
}
@keyframes drift-2 {
  to { transform: translate3d(10vw, -8vh, 0) scale(1.12); }
}
@keyframes drift-3 {
  to { transform: translate3d(-12vw, -10vh, 0) scale(0.85); }
}

.grid-lines {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(196, 181, 253, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(196, 181, 253, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 78%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 40%, transparent 45%, rgba(22, 15, 34, 0.85) 100%);
  pointer-events: none;
}

/* курсорный свет */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 560px; height: 560px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), rgba(196, 181, 253, 0.07) 42%, transparent 68%);
  transition: opacity 0.6s var(--ease);
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* прогресс */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 45%, var(--violet) 80%, var(--lime));
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.65);
}

/* =========================================================
   НАВИГАЦИЯ
   ========================================================= */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(var(--wrap), calc(100% - 32px));
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(32, 23, 50, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), top 0.5s var(--ease);
}
.nav.is-scrolled {
  top: 10px;
  background: rgba(30, 21, 46, 0.90);
  border-color: rgba(196, 181, 253, 0.30);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  min-width: 0;
}
.nav__monogram {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #201540;
  background: linear-gradient(135deg, var(--violet), #a78bfa 55%, #d8ccff);
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.45);
  transition: transform 0.6s var(--ease);
}
.nav__brand:hover .nav__monogram { transform: rotate(-8deg) scale(1.05); }

.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-text strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav__brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a:hover { color: #fff; background: rgba(167, 139, 250, 0.16); }

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  color: #1c1230;
  background: linear-gradient(115deg, var(--lime), #b9a2ff 45%, #f0a6d0);
  box-shadow: 0 14px 38px rgba(201, 255, 92, 0.22);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #f0a6d0, var(--lime));
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(167, 139, 250, 0.35); }
.btn--primary:hover::after { opacity: 1; }

.btn--line {
  border-color: rgba(196, 181, 253, 0.35);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.btn--line:hover {
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.35), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  border-color: var(--stroke);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.btn--ghost:hover { border-color: var(--cyan); color: #fff; background: rgba(199, 180, 253, 0.12); }
.btn--small { padding: 11px 18px; font-size: 13px; }
.btn--small svg { width: 15px; height: 15px; }

/* =========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================= */
.section {
  position: relative;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) 0;
  scroll-margin-top: 96px;
}
#top { scroll-margin-top: 0; }

.section__head { margin-bottom: clamp(34px, 4vw, 56px); }
.section__head--split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: end;
}

.section__index {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section__index::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.3vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan), var(--blue-soft) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__note {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 34ch;
  padding-bottom: 6px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 90px;
  min-height: 100svh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 255, 92, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 255, 92, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(201, 255, 92, 0.03); }
}

.hero__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; }

.line--accent {
  color: var(--violet);
  padding-bottom: 0.04em;
}

.line--accent .rotator span {
  background: linear-gradient(100deg, var(--cyan) 0%, #c9b6ff 38%, var(--violet) 74%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.line--outline {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(196, 181, 253, 0.50);
  transform: translateX(0.12em);
}

.rotator {
  display: inline-grid;
  vertical-align: bottom;
  height: 1.02em;
  line-height: 1.02em;
  overflow: hidden;
}
.rotator span {
  grid-area: 1 / 1;
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: word-cycle 13.2s cubic-bezier(0.7, 0, 0.25, 1) infinite;
}
.rotator span:nth-child(1) { animation-delay: 0s; }
.rotator span:nth-child(2) { animation-delay: 3.3s; }
.rotator span:nth-child(3) { animation-delay: 6.6s; }
.rotator span:nth-child(4) { animation-delay: 9.9s; }

@keyframes word-cycle {
  0%   { opacity: 0; transform: translateY(105%); }
  4%   { opacity: 1; transform: translateY(0); }
  20%  { opacity: 1; transform: translateY(0); }
  25%  { opacity: 0; transform: translateY(-105%); }
  100% { opacity: 0; transform: translateY(-105%); }
}

.hero__lead {
  max-width: 46ch;
  margin: 0 0 34px;
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--ink-dim);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__chips li {
  padding: 7px 13px;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.hero__chips li:hover {
  color: var(--lime);
  border-color: rgba(201, 255, 92, 0.5);
  transform: translateY(-2px);
}

/* ---------- карточка-визитка ---------- */
.hero__right {
  position: relative;
  display: grid;
  place-items: center;
  padding: 56px 0 60px;
  perspective: 1200px;
}

.idcard {
  position: relative;
  z-index: 2;
  width: min(360px, 84%);
  padding: 26px 26px 22px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(124, 92, 255, 0.35), rgba(28, 20, 44, 0.90) 60%),
    rgba(28, 20, 44, 0.86);
  border: 1px solid rgba(196, 181, 253, 0.26);
  backdrop-filter: blur(22px);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: rotate(-3.5deg);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  overflow: hidden;
  animation: float-card 7s ease-in-out infinite;
}
.idcard:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 50px 100px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(196, 181, 253, 0.32);
}
@keyframes float-card {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.idcard__ring {
  position: absolute;
  width: 320px; height: 320px;
  top: -140px; right: -120px;
  border-radius: 50%;
  border: 1px solid rgba(196, 181, 253, 0.20);
  box-shadow: 0 0 80px rgba(124, 92, 255, 0.30) inset;
  pointer-events: none;
}
.idcard__ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, 0.16);
}

.idcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s infinite;
}

.idcard__monogram {
  position: relative;
  margin: 16px 0 18px;
}

.portrait {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  /* Кадр повторяет пропорции исходника (1:1), чтобы фото не обрезалось. */
  aspect-ratio: 1 / 1;
  background: #2a1f42;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.03) contrast(1.03);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}
.idcard:hover .portrait img {
  filter: saturate(1.1) contrast(1.05);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 15, 34, 0.18), transparent 24%, transparent 80%, rgba(22, 15, 34, 0.46)),
    linear-gradient(115deg, rgba(124, 92, 255, 0.20), transparent 45%);
  pointer-events: none;
}
.portrait__grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.portrait__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(201, 255, 92, 0.45);
  border-radius: 999px;
  background: rgba(28, 20, 44, 0.55);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.idcard__name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.idcard__role {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 26ch;
}

.idcard__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.idcard__bar-line {
  flex: 1;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.idcard__bar-line i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  background-size: 200% 100%;
  animation: bar-shift 4s linear infinite;
}
@keyframes bar-shift { to { background-position: 200% 0; } }

.idcard__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(196, 181, 253, 0.15);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* плавающие карточки */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(38, 27, 58, 0.85);
  border: 1px solid rgba(196, 181, 253, 0.30);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.9);
  animation: float-soft 6s ease-in-out infinite;
}
.float-card strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}
.float-card span {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
}
.float-card--a { top: -42px; left: 12%; }
.float-card--b { bottom: -42px; right: 0; animation-delay: 1.2s; }
.float-card--b strong { color: var(--cyan); }
@keyframes float-soft {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  display: block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  animation: scroll-line 2.6s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* =========================================================
   БЕГУЩАЯ СТРОКА
   ========================================================= */
.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(196, 181, 253, 0.16);
  border-bottom: 1px solid rgba(196, 181, 253, 0.16);
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.14), rgba(167, 139, 250, 0.10), rgba(196, 181, 253, 0.12));
  transform: rotate(-1.1deg);
  margin: 30px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
  min-width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(237, 230, 251, 0.92);
  white-space: nowrap;
}
.marquee__track b {
  color: var(--lime);
  font-size: 16px;
  font-weight: 400;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   БЕНТО / ОБО МНЕ
   ========================================================= */
.glass {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(30, 21, 46, 0.45));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(196, 181, 253, 0.50), transparent 32%, transparent 68%, rgba(201, 255, 92, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.glass::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.glass:hover { transform: translateY(-4px); border-color: rgba(196, 181, 253, 0.42); }
.glass:hover::before { opacity: 1; }
.glass:hover::after { opacity: 1; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento__card { padding: clamp(22px, 2.4vw, 32px); }
.bento__card--wide { grid-column: span 7; }
.bento__card--tall { grid-column: span 5; grid-row: span 2; }
.bento__card:nth-child(3) { grid-column: span 4; }
.bento__card:nth-child(4) { grid-column: span 3; }

.bento__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 11px;
  border: 1px solid rgba(201, 255, 92, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.bento__lead {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: #f2ecff;
}
.bento__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.bento__card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bento__card h3 + p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.bento__card hr {
  height: 1px;
  margin: 18px 0;
  border: 0;
  background: rgba(196, 181, 253, 0.16);
}

.bento__card--accent {
  background: radial-gradient(120% 120% at 100% 100%, rgba(124, 92, 255, 0.35), transparent 60%), rgba(30, 21, 46, 0.55);
}
.bento__card--lime {
  background: linear-gradient(150deg, rgba(201, 255, 92, 0.16), rgba(196, 181, 253, 0.14) 60%, transparent);
}
.bento__card--lime p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(196, 181, 253, 0.16);
}
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 3px;
}
.steps span { font-size: 13.5px; line-height: 1.55; color: var(--ink-dim); }

.mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mini-logos span {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(26, 18, 40, 0.60);
  border: 1px solid rgba(201, 255, 92, 0.22);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--lime);
}

/* =========================================================
   РАБОТЫ
   ========================================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(40, 29, 60, 0.45);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.filter:hover { color: #fff; border-color: rgba(196, 181, 253, 0.62); }
.filter.is-active {
  color: #201540;
  background: linear-gradient(100deg, var(--lime), #b9a2ff);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(167, 139, 250, 0.25);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  grid-auto-flow: dense;
}

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 1;
  padding: 12px 12px 18px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(28, 20, 42, 0.55));
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), opacity 0.4s var(--ease);
}
.work--large { grid-column: span 2; }
.work--wide { grid-column: span 2; }
.work--tall { grid-column: span 1; }

.work:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 181, 253, 0.42);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(196, 181, 253, 0.16);
}

.work__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #2a1f42;
  aspect-ratio: 4 / 5;
}
.work--large .work__media { aspect-ratio: 16 / 10; }
.work--wide .work__media { aspect-ratio: 21 / 10; }
.work--tall .work__media { aspect-ratio: 3 / 4; }
/* карточка, где картинка показывается целиком, без кадрирования
   (пропорция задаётся переменной --work-ratio на карточке) */
.work.work--natural .work__media { aspect-ratio: var(--work-ratio, 4 / 5); }
.work--natural:hover .work__media img { transform: none; }

.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: saturate(0.85) contrast(1.02);
}
.work:hover .work__media img {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.04);
}
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 15, 34, 0.60));
  pointer-events: none;
}
.work__spot {
  position: absolute;
  width: 260px; height: 260px;
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.work:hover .work__spot { opacity: 1; }

.work__body { padding: 16px 6px 0; }
.work__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.work__meta span:last-child { color: var(--muted); }
.work__body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.work__body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.work__num {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(26, 18, 40, 0.60);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.work.is-hidden {
  display: none;
}
.work.is-fading {
  animation: work-in 0.55s var(--ease);
}
@keyframes work-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   НАВЫКИ
   ========================================================= */
.skill-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(196, 181, 253, 0.15);
}
.skill-col {
  padding: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgba(33, 23, 50, 0.92), rgba(26, 18, 40, 0.96));
  transition: background 0.5s var(--ease);
}
.skill-col:hover { background: linear-gradient(180deg, rgba(68, 46, 100, 0.92), rgba(32, 22, 46, 0.96)); }
.skill-col h3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.skill-col h3 span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--cyan);
}
.skill-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.skill-col li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.skill-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: rgba(196, 181, 253, 0.45);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.skill-col li:hover { color: #fff; transform: translateX(3px); }
.skill-col li:hover::before { background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.stat {
  padding: 26px 22px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.stat:hover { border-color: rgba(201, 255, 92, 0.4); transform: translateY(-3px); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #fff, var(--cyan) 55%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   ОПЫТ
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(124, 92, 255, 0.40) 45%, transparent);
}

.tl {
  position: relative;
  padding: 24px clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(28, 20, 44, 0.50));
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.45s var(--ease);
}
.tl:hover {
  border-color: rgba(196, 181, 253, 0.42);
  background: linear-gradient(150deg, rgba(78, 53, 116, 0.50), rgba(30, 21, 46, 0.60));
  transform: translateX(4px);
}
.tl__dot {
  position: absolute;
  left: -26px;
  top: 30px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(199, 180, 253, 0.12);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tl:first-child .tl__dot { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 14px rgba(201, 255, 92, 0.6); }
.tl:hover .tl__dot { background: var(--cyan); box-shadow: 0 0 14px rgba(167, 139, 250, 0.65); }

.tl__date {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tl h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.tl__org {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--violet);
  font-weight: 600;
}
.tl__text {
  margin: 0;
  max-width: 78ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.tl__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tl__tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 255, 92, 0.28);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.tl-more { margin-top: 4px; }
.tl-more summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  padding: 10px 18px;
  border: 1px dashed rgba(196, 181, 253, 0.42);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-dim);
  cursor: pointer;
  list-style: none;
  transition: all 0.35s var(--ease);
}
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary span {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.20);
  color: var(--cyan);
  font-size: 13px;
  transition: transform 0.4s var(--ease);
}
.tl-more summary:hover { border-color: var(--cyan); color: #fff; }
.tl-more[open] summary span { transform: rotate(45deg); }
.tl-more__body {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  animation: work-in 0.5s var(--ease) both;
}
.tl--mini { border-style: dashed; }

.courses {
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: 32px;
  border-top: 1px solid rgba(196, 181, 253, 0.15);
}
.courses__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.courses__grid div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 6px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.courses__grid div:hover { border-color: rgba(196, 181, 253, 0.42); background: rgba(255, 255, 255, 0.08); }
.courses__grid b {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  padding-top: 2px;
}
.courses__grid span { font-size: 12.5px; line-height: 1.5; color: var(--ink-dim); }

/* =========================================================
   КОНТАКТ
   ========================================================= */
.contact { padding-bottom: 60px; }
.contact__card {
  position: relative;
  padding: clamp(30px, 5vw, 70px);
  border-radius: 36px;
  border: 1px solid rgba(196, 181, 253, 0.34);
  background:
    linear-gradient(150deg, rgba(124, 92, 255, 0.32), rgba(28, 20, 44, 0.92) 55%),
    rgba(28, 20, 44, 0.92);
  overflow: hidden;
  isolation: isolate;
}
.contact__glow {
  position: absolute;
  z-index: -1;
  width: 640px; height: 640px;
  right: -180px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), rgba(196, 181, 253, 0.28) 45%, transparent 68%);
  filter: blur(30px);
  animation: float-soft 9s ease-in-out infinite;
}
.contact__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.contact__title .grad {
  background: linear-gradient(100deg, var(--lime), var(--cyan) 55%, var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__lead {
  max-width: 46ch;
  margin: 0 0 34px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.contact__mail svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--lime);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.contact__mail:hover { border-color: var(--lime); color: var(--lime); }
.contact__mail:hover svg { transform: translate(3px, -3px); }

.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.30);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.copy:hover { color: #201540; background: var(--lime); border-color: var(--lime); }
.copy.is-done { background: var(--lime); border-color: var(--lime); color: #201540; }

.contact__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(196, 181, 253, 0.15);
}
.contact__links > * {
  padding: 22px clamp(16px, 2vw, 24px);
  background: rgba(28, 20, 44, 0.55);
  transition: background 0.4s var(--ease);
}
.contact__links > *:hover { background: rgba(72, 50, 106, 0.60); }
.contact__k {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__v {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.contact__foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(196, 181, 253, 0.15);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* =========================================================
   ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
   ========================================================= */
[data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.85s var(--ease), translate 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 0.8fr; }
  .works__grid { grid-template-columns: repeat(4, 1fr); }
  .skill-board { grid-template-columns: repeat(2, 1fr); }
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    min-height: auto;
  }
  .hero__right { min-height: 0; margin-top: 20px; }
  .hero__scroll { display: none; }
  .section__head--split { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .bento__card--wide,
  .bento__card--tall,
  .bento__card:nth-child(3),
  .bento__card:nth-child(4) { grid-column: span 12; grid-row: auto; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .work--large,
  .work--wide { grid-column: span 2; }
  .contact__links { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section { width: calc(100% - 28px); }
  .hero { width: calc(100% - 28px); }
  .hero__title { font-size: clamp(2.05rem, 8.9vw, 2.6rem); }
  .nav { width: calc(100% - 24px); padding: 8px 8px 8px 10px; gap: 10px; }
  .nav__brand-text small { display: none; }
  .nav__brand-text strong { font-size: 12px; }
  .nav .btn--small span { display: none; }
  .nav .btn--small { padding: 11px; border-radius: 50%; }
  .works__grid { grid-template-columns: 1fr; }
  .work,
  .work--large,
  .work--wide,
  .work--tall { grid-column: span 1; }
  .work--large .work__media,
  .work--wide .work__media { aspect-ratio: 16 / 11; }
  .skill-board { grid-template-columns: 1fr; }
  .courses__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .contact__row { align-items: flex-start; flex-direction: column; }
  .contact__card { border-radius: 26px; }
  .float-card { padding: 11px 14px; }
  .float-card strong { font-size: 20px; }
  .hero__right { padding: 6px 0 74px; }
  .float-card--a { display: none; }
  .float-card--b { bottom: -14px; right: 4%; left: auto; }
  .timeline { padding-left: 20px; }
  .tl__dot { left: -20px; width: 9px; height: 9px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
}

/* =========================================================
   УВАЖЕНИЕ К prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .rotator span { animation: none; opacity: 0; transform: none; }
  .rotator span:first-child { opacity: 1; }
  .cursor-glow { display: none; }
}
