/* ===========================================================================
   Визитка А. Харалгина — интерфейс.
   Тёмная «панель управления»: сетка, свечения, моноширинные подписи у данных.
   Шрифты только системные — внешних запросов нет, CSP держится на 'self'.
   =========================================================================== */

:root {
  --bg: #05070c;
  --bg-soft: #080c14;
  --ink: #e8edf6;
  --ink-dim: #98a4b9;
  --ink-faint: #5e6a80;

  --line: rgba(150, 175, 220, 0.14);
  --line-strong: rgba(150, 175, 220, 0.28);
  --surface: rgba(146, 172, 218, 0.045);
  --surface-2: rgba(146, 172, 218, 0.085);

  --accent: #5eead4;
  --violet: #a78bfa;
  --up: #34d399;
  --down: #fb7185;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --radius: 18px;
  --radius-sm: 11px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Палитра акцентов плиток. Цвет задаётся классом, а не инлайновым стилем:
   при CSP без 'unsafe-inline' атрибут style в разметке не сработает. */
.tile--a0 { --accent: #5eead4; }
.tile--a1 { --accent: #a78bfa; }
.tile--a2 { --accent: #f0abfc; }
.tile--a3 { --accent: #7dd3fc; }
.tile--a4 { --accent: #fcd34d; }
.tile--a5 { --accent: #86efac; }

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: #04121a;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
}
.skip:focus { top: 0; }

/* --------------------------------------------------------------- задник */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #0b1220 0%, var(--bg) 55%),
    var(--bg);
}

.backdrop__glow {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}
.backdrop__glow--a {
  top: -14vw; left: -8vw;
  background: radial-gradient(circle, #14b8a6 0%, transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.backdrop__glow--b {
  top: 4vw; right: -12vw;
  background: radial-gradient(circle, #7c3aed 0%, transparent 68%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.backdrop__glow--c {
  bottom: -20vw; left: 30vw;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 68%);
  opacity: 0.22;
  animation: drift-c 38s var(--ease) infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(14vw, 10vh, 0) scale(1.18); } }
@keyframes drift-b { to { transform: translate3d(-16vw, 14vh, 0) scale(1.12); } }
@keyframes drift-c { to { transform: translate3d(10vw, -12vh, 0) scale(1.22); } }

/* Сетка «чертежа» — считываемая метафора инфраструктуры, но приглушённая,
   чтобы не спорить с текстом. */
.backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 180, 230, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 180, 230, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 20%, #000 20%, transparent 78%);
}

.backdrop__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.016) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.6;
}

/* --------------------------------------------------------------- шапка */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.brand .mark { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 0.95rem; letter-spacing: -0.02em; }
.brand__text small {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 0.2rem;
  margin-left: auto;
  padding: 0.22rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.nav__item:hover { color: var(--ink); background: var(--surface-2); }
.nav__item[aria-current="page"] {
  color: #04121a;
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  font-weight: 620;
}
.nav__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.topbar__side { flex: 0 0 auto; }

/* Подпись авторства: дизайн этой страницы действительно сгенерирован моделью,
   и это заявлено прямо, а не спрятано в футере. */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(120deg,
    rgba(94, 234, 212, 0.12), rgba(167, 139, 250, 0.16), rgba(94, 234, 212, 0.12));
  background-size: 220% 100%;
  animation: shimmer 7s linear infinite;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stamp__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}
@keyframes shimmer { to { background-position: 220% 0; } }

/* --------------------------------------------------------------- макет */

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) 4rem;
}

/* Раздел выбирается сервером и переключается клиентом. Без JavaScript
   переходы просто работают как обычные ссылки. */
.view { display: none; }
html[data-view="home"]     #view-home,
html[data-view="projects"] #view-projects,
html[data-view="cv-en"]    #view-cv-en,
html[data-view="cv-ru"]    #view-cv-ru { display: block; animation: rise 0.45s var(--ease) both; }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- герой */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero__name {
  margin: 0.7rem 0 0.35rem;
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  background: linear-gradient(120deg, #ffffff 12%, #b9c6dd 48%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__role {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2vw, 1.22rem);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero__tagline {
  margin-top: 0.9rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--ink-dim);
}

.cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.7rem 0 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 550;
  transition: transform 0.18s var(--ease), border-color 0.18s, background 0.18s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--surface-2); }
.btn__tag {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.4rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  border-color: transparent;
  color: #04121a;
  font-weight: 640;
}
.btn--primary .btn__tag { background: rgba(4, 18, 26, 0.18); }
.btn--primary:hover { box-shadow: 0 10px 34px -12px var(--accent); }
.btn--ghost { background: transparent; }

/* ---------------------------------------------------------------- чипы */

.chips { display: flex; flex-wrap: wrap; gap: 0.42rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--ink-dim);
  transition: color 0.16s, border-color 0.16s;
}
a.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip--sm { padding: 0.24rem 0.58rem; font-size: 0.72rem; }
.chip__key {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.chips--contacts { margin-top: 0.4rem; }

/* -------------------------------------------------------- панель статуса */

.panel {
  padding: 1.15rem 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.65;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.panel__title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.panel__led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 12px var(--up);
}
.panel__led[data-state="stale"] { background: #fbbf24; box-shadow: 0 0 12px #fbbf24; }
.panel__led[data-state="down"]  { background: var(--down); box-shadow: 0 0 12px var(--down); }

.panel__stats { margin: 0; padding: 0.9rem 0 0.4rem; display: grid; gap: 0.7rem; }
.panel__stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.panel__stats dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.panel__stats dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.panel__foot {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------- блоки */

.block { margin-top: clamp(3rem, 7vw, 5rem); }

.block__title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.block__title > span { position: relative; padding-left: 1rem; }
.block__title > span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.block__more { margin-left: auto; color: var(--accent); }
.block__hint { margin-bottom: 1.2rem; color: var(--ink-faint); font-size: 0.9rem; max-width: 62ch; }

.pagehead { margin-bottom: 2rem; }
.pagehead h1 {
  margin: 0.6rem 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.04em;
}
.pagehead__lead { max-width: 66ch; color: var(--ink-dim); }

/* -------------------------------------------------------------- навыки */

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 0.9rem;
}
.skills__group {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.skills__group h3 {
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------ портфолио */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  animation: rise 0.5s var(--ease) both;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.tile::after {
  /* Свечение под курсором: появляется только при наведении, чтобы сетка
     в покое оставалась спокойной. */
  content: "";
  position: absolute;
  inset: -40% -40% auto;
  height: 180%;
  background: radial-gradient(circle at 50% 0%, var(--accent), transparent 62%);
  opacity: 0;
  transition: opacity 0.32s;
  pointer-events: none;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile:hover::after { opacity: 0.12; }
.tile:focus-within { border-color: var(--accent); }

.tile__link { display: block; padding: 1.15rem 1.2rem 1rem; position: relative; z-index: 1; }

.tile__mark { display: block; width: 52px; height: 52px; margin-bottom: 0.9rem; }
.tile__name { font-size: 1.14rem; margin-bottom: 0.28rem; }
.tile__tagline {
  min-height: 2.6em;
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
  color: var(--ink-dim);
}

.tile__foot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.tile__metric { font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.tile__metric em { font-style: normal; color: var(--ink-faint); margin-left: 0.15em; }

.status { display: inline-flex; align-items: center; gap: 0.36rem; margin-right: auto; }
.status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 8px var(--up);
}
.status--up { color: var(--up); }

.grid__empty {
  grid-column: 1 / -1;
  padding: 2.4rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* Генеративный знак проекта. Геометрия приходит из Go, цвет — отсюда. */
.mark { display: block; width: 100%; height: 100%; overflow: visible; }
.mark__orbit {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.28;
}
.mark__edge {
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: 0.55;
  stroke-linecap: round;
}
.mark__chord {
  stroke: var(--accent);
  stroke-width: 0.8;
  opacity: 0.3;
  stroke-dasharray: 2 3;
}
.mark__node { fill: var(--accent); opacity: 0.75; }
.mark__node--lead { opacity: 1; }
.mark__core { fill: var(--accent); opacity: 0.9; }
.tile:hover .mark__orbit { opacity: 0.5; }

/* ------------------------------------------------------------------ CV */

.cv { max-width: 900px; }

.cv__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.cv__head h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); letter-spacing: -0.04em; }
.cv__role {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
}

.cv__section { margin-top: clamp(2rem, 4vw, 2.9rem); }
.cv__section h2 {
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* В колонке подряд идут несколько разделов: каждому, кроме первого, нужен
   воздух сверху — иначе заголовок прилипает к списку предыдущего. */
.cv__section h2:not(:first-child) { margin-top: 1.9rem; }
.cv__summary { max-width: 70ch; color: var(--ink-dim); font-size: 1.03rem; }

.timeline { display: grid; gap: 1.6rem; }
.timeline__item {
  position: relative;
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -4.5px; top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--accent);
}
.timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
}
.timeline__head h3 { font-size: 1.16rem; }
.timeline__period {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  white-space: nowrap;
}
.timeline__role {
  margin: 0.2rem 0 0.7rem;
  font-size: 0.88rem;
  color: var(--accent);
}
.timeline__points { display: grid; gap: 0.45rem; margin-bottom: 0.8rem; }
.timeline__points li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-dim);
  font-size: 0.93rem;
}
.timeline__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 1px;
  background: var(--ink-faint);
}

.cv__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.skills--compact { grid-template-columns: 1fr; }

.cv__edu { display: grid; gap: 0.15rem; margin-bottom: 1rem; }
.cv__edu span { color: var(--ink-dim); font-size: 0.9rem; }
.cv__edu em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-faint);
}

.cv__list { display: grid; gap: 0.4rem; }
.cv__list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-dim);
  font-size: 0.93rem;
}
.cv__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 1px;
  background: var(--ink-faint);
}

/* --------------------------------------------------------------- футер */

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
  display: grid;
  gap: 0.35rem;
}
.footer__note { max-width: 70ch; line-height: 1.7; }

/* ------------------------------------------------------------ адаптив */

@media (max-width: 900px) {
  /* В одну колонку панель мониторинга уходит под имя: на визитке первым
     должен читаться человек, а не график сервисов. */
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 0.6rem 0.8rem; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .nav__item { flex: 1; justify-content: center; padding-inline: 0.5rem; }
  .topbar__side { margin-left: auto; }
  .timeline__period { margin-left: 0; width: 100%; }
}

/* Уважаем системную настройку: анимации здесь декоративные, без них
   интерфейс не теряет ни одной функции. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .backdrop__glow { animation: none; }
}

/* -------------------------------------------------------------- печать */

@media print {
  .backdrop, .topbar, .footer, .cta, .btn, .skip, .block__more { display: none !important; }
  body { background: #fff; color: #111; }
  main { padding: 0; max-width: none; }
  .view { display: none !important; }
  html[data-view="cv-en"] #view-cv-en,
  html[data-view="cv-ru"] #view-cv-ru { display: block !important; animation: none; }
  .chip, .skills__group, .panel { border-color: #ccc; background: transparent; }
  .cv__role, .timeline__role { color: #0d9488; }
  .timeline__points li, .cv__list li, .cv__summary, .chip { color: #333; }
  .timeline__item::before { box-shadow: none; background: #0d9488; }
}
