/* Обо мне */
.about {
  position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; grid-template-rows: auto auto;
  column-gap: clamp(16px, 3vw, 40px); align-items: start;
  /* в макете блок занимает x 140…1062 при ширине 1200 */
  max-width: calc(922px + 2 * var(--gutter));
}
.about__intro { grid-column: 1; grid-row: 1; padding-top: 40px; position: relative; z-index: 4; }
.about__title {
  position: relative; isolation: isolate; display: inline-block; margin: 0 0 16px; font-family: "Dela Gothic One", var(--f-kicker); font-weight: 400;
  font-size: clamp(28px, 2.95vw, 35px); line-height: 1.4; text-transform: uppercase; color: #fff; white-space: nowrap;
}
/* штрихкод под заголовком — как в макете: подпись шрифтом Libre Barcode 128, слитно и без разрядки, чтобы полоски шли без пробелов */
.about__barcode {
  position: absolute; left: 1.35em; top: 1.06em; z-index: -1; pointer-events: none; user-select: none;
  font-family: "Libre Barcode 128", monospace; font-weight: 400; font-size: .75em; line-height: 1;
  letter-spacing: 0; text-transform: lowercase; white-space: nowrap; color: #f157ff;
}
.about__text { margin: 0 0 26px; font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .09em; line-height: 22px; text-transform: lowercase; white-space: pre-line; max-width: 360px; }
.about__intro .socials { gap: 18px; }
.about__intro .social { width: 33px; height: 33px; }

.about__art { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; place-items: center; padding-top: 70px; }
/* кольцо-ореол из макета позади персонажа */
.about__halo { position: absolute; top: 50%; left: 50%; width: 128%; max-width: none; translate: -50% -46%; pointer-events: none; mix-blend-mode: screen;
  /* две маски, пересечение: круглая — плавно гасит свет к краям квадратной картинки (в ней по всему полю слабая
     засветка, и без маски на фоне виден светлый квадрат с резкими краями); линейная — нижняя часть кольца уходит за
     персонажа, как в макете, чтобы свет не ложился поверх тела */
  -webkit-mask-image: radial-gradient(closest-side circle, #000 78%, transparent 100%), linear-gradient(to bottom, #000 48%, transparent 70%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(closest-side circle, #000 78%, transparent 100%), linear-gradient(to bottom, #000 48%, transparent 70%);
  mask-composite: intersect; }
.about__img {
  position: relative; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.about__side { margin: 0; font-family: var(--f-display); font-size: 18px; letter-spacing: .09em; line-height: 22px; text-transform: lowercase; white-space: pre-line; color: #fff; }
.about__side--1 { grid-column: 3; grid-row: 1; align-self: end; justify-self: end; max-width: 260px; text-align: right; padding-top: 160px; }
.about__side--2 { grid-column: 1; grid-row: 2; align-self: end; padding-bottom: 40px; font-weight: 300; }

/* десктоп: раскладка по координатам макета (блок 922 px, от верха блока): заголовок 22, текст слева
   заходит на зону персонажа, персонаж 443 px по центру с отступом 74, правая подпись 324, нижняя 490 */
@media (min-width: 801px) {
  .about { display: block; min-height: 560px; }
  .about__art { width: min(443px, 42vw); margin-inline: auto; padding-top: 74px; }
  .about__intro { position: absolute; left: var(--gutter); top: 22px; padding-top: 0; }
  .about__side--1 { position: absolute; right: var(--gutter); top: 324px; padding-top: 0; }
  .about__side--2 { position: absolute; left: var(--gutter); top: 490px; padding-bottom: 0; }
  .section--about + .section--reviews { margin-top: 0; }
  .section--about .sparkles { margin-top: -64px; }
}

@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about__intro, .about__art, .about__side--1, .about__side--2 { grid-column: 1; grid-row: auto; }
  .about__intro { padding-top: 0; }
  .about__art { padding-top: 30px; width: min(380px, 92%); margin-inline: auto; }
  .about__halo { width: 112%; }
  .about__side--1 { padding-top: 10px; text-align: left; }
  .about__side--2 { padding-bottom: 0; margin-top: 12px; }
}
