@media (max-height: 760px) and (min-width: 900px) {
  .desktop {
    padding-top: 5.8rem;
    padding-bottom: 1rem;
  }

  .person-zone {
    min-height: 38rem;
  }

  .portrait {
    width: clamp(21rem, 32vw, 31rem);
    max-height: 70dvh;
  }

  .person-zone::before {
    bottom: 4.2rem;
  }

  .window {
    height: 73dvh;
    min-height: 28rem;
  }

}

@media (max-width: 1180px) {
  .desktop {
    grid-template-columns: minmax(24rem, 43vw) minmax(29rem, 1fr);
    gap: 1.2rem;
  }

  .section-tile--requests,
  .section-tile--consultation {
    right: -0.7rem;
  }
}

@media (max-width: 1100px) {
  body {
    overflow-y: auto;
  }

  .site-shell {
    overflow: visible;
  }

  .site-shell::before {
    content: none;
  }

  .brand,
  .telegram-link {
    position: absolute;
  }

  .telegram-link {
    width: 8.6rem;
  }

  .desktop {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 50rem);
    height: auto;
    min-height: 100dvh;
    padding: 5.6rem 1.35rem 2.2rem;
  }

  .person-zone {
    display: grid;
    justify-items: center;
    min-height: 0;
    padding-top: 0.5rem;
  }

  .portrait {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(38vw, 20rem);
    max-height: none;
    margin: 1rem auto 0;
    --dissolve-height: 9%;
    --pixel-size: 4px;
    --particle-count: 10;
    --motion-distance: 3px;
    transform: none;
  }

  .person-zone::before {
    top: auto;
    bottom: auto;
    width: min(46vw, 22rem);
    height: min(46vw, 22rem);
    margin-top: 0.7rem;
  }

  .window {
    justify-self: center;
    width: min(100%, 47rem);
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .window__body {
    height: auto;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }

  .section-nav {
    display: none;
  }

  .compact-nav {
    display: block;
    margin-top: 0.65rem;
  }

  .cta-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(23rem, 92%);
    margin: 0.65rem auto 0;
    transform: none;
  }

  .head-decor {
    display: none;
  }

}

@media (min-width: 621px) and (max-width: 1100px) {
  .brand__mark {
    width: clamp(6.6rem, 13vw, 8.5rem);
  }

  .brand__file {
    font-size: 0.9rem;
  }

  .telegram-link {
    width: clamp(6.6rem, 13vw, 8.6rem);
  }

  .person-zone {
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .person-zone::before {
    left: 50%;
    top: clamp(6rem, 14vw, 8rem);
    width: clamp(16rem, 42vw, 22rem);
    height: clamp(16rem, 42vw, 22rem);
    transform: translateX(-50%) scale(0.99);
  }

  .portrait {
    width: clamp(13.5rem, 34vw, 18.5rem);
    margin-top: 0.4rem;
    --dissolve-height: 9%;
    --pixel-size: 4px;
    --particle-count: 10;
    --motion-distance: 3px;
  }

  .window {
    margin-top: 1.25rem;
  }

  .window__body {
    padding: 1.6rem 1.7rem;
  }

}

@media (max-width: 620px) {
  body {
    overflow-y: auto;
  }

  .site-shell {
    overflow: visible;
    background-size: 3.6rem 3.6rem, 3.6rem 3.6rem, auto;
  }

  .person-zone::before {
    left: 50%;
    top: 7rem;
    display: block;
    width: min(78vw, 18rem);
    height: min(78vw, 18rem);
    transform: translateX(-50%) scale(0.98);
    opacity: 0.68;
  }

  .brand__file {
    display: none;
  }

  .brand__mark {
    width: clamp(5.7rem, 31vw, 6.8rem);
  }

  .telegram-link {
    top: 1.35rem;
    right: 0.8rem;
    width: clamp(6rem, 32vw, 7rem);
  }

  .desktop {
    gap: 0;
    padding: 5.65rem 0.9rem 1.15rem;
  }

  .person-zone {
    padding-top: 0.4rem;
  }

  .portrait {
    width: min(69vw, 19.5rem);
    margin: 1.3rem auto 0;
    --dissolve-height: 9%;
    --pixel-size: 4px;
    --particle-count: 12;
    --motion-distance: 3px;
  }

  .compact-nav {
    width: min(100%, 20rem);
    margin-top: 0.75rem;
  }

  .cta-card {
    width: min(22rem, 94%);
    margin: 0.85rem auto 0;
    font-size: 0.9rem;
  }

  .window {
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1.2rem 2.2rem rgba(5, 5, 5, 0.08);
  }

  .window__bar {
    min-height: 3rem;
    padding: 0.45rem 0.65rem;
  }

  .window__body {
    height: auto;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: 1.35rem 1rem 1.55rem;
  }

  .lead {
    font-size: 1.16rem !important;
  }

  .columns {
    grid-template-columns: 1fr;
  }

  .about-flow {
    grid-template-columns: 1fr;
  }

  .values,
  .facts,
  .info-list,
  .contact-list,
  .request-grid,
  .contact-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .request-grid section,
  .request-grid section:first-child {
    grid-column: auto;
    min-height: 0;
  }

  .faq-list {
    gap: 1.15rem;
  }

  .faq-list section {
    padding: 0.95rem 0.9rem 0.95rem 3.75rem;
  }

}
