/* ============================================================
   Блок: about
   ============================================================ */

@layer components {
  .about__inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    align-items: center;
    background: var(--secondary);
    border-radius: var(--radius-6);
    padding: var(--sp-6);
  }
  .about__watermark {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 55%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
  }
  .about__media {
    max-width: 360px;
    justify-self: center;
    width: 100%;
  }
  .about__media img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-md);
  }
  .about__caption {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: var(--sp-4);
  }
  .about__name { font-weight: 700; font-size: clamp(1rem, 3vw + 0.03rem, 1.2rem); }
  .about__role { color: var(--muted); font-weight: 200; font-size: clamp(0.9rem, 3vw + 0.03rem, 1rem);}

  .about__content { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; font-weight: 200;}
  .about__content p { color: var(--fg); }
  .about__content p + p { color: var(--muted); }
  .about__content .btn { margin-top: var(--sp-1); }

  @media (min-width: 900px) {
    .about__inner { grid-template-columns: 0.7fr 1.3fr; gap: var(--sp-5); padding: var(--sp-5); }
    .about__media { justify-self: start; }
    .about__caption { text-align: start; }
  }
}
