.page {
  min-height: unset;
  display: block;
}

.about-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-page__title {
  font-size: 3rem;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.95);
}

.about-page__grid,
.about-page__grid--reverse {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
h1 {
  text-align: center;
}

.about-page__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-page__card {
  padding: 28px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.about-page__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.about-page__card h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.92);
}

.about-page__card p {
  margin: 0;
  line-height: 1.8;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.about-page__right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-page__portrait {
  margin-top: 100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 40px rgba(90, 167, 255, 0.28),
    0 0 80px rgba(255, 79, 216, 0.18);
}

.about-page__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .about-page__grid {
    grid-template-columns: 1fr;
  }

  .about-page__right {
    justify-content: flex-start;
  }

  .about-page__portrait {
    width: 190px;
    height: 190px;
  }

  .about-page__title {
    font-size: 2.3rem;
  }
}

.about-page__title,
.about-page__card,
.about-page__portrait
{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.about-page__visual {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.55s;
}

.about-page__card:nth-child(1) {
  animation-delay: 0.2s;
}

.about-page__card:nth-child(2) {
  animation-delay: 0.4s;
}

.about-page__portrait {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-page__card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-page__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(90, 167, 255, 0.15);
}

.about-page {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.about-page__grid--reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.about-page__left--image {
  display: flex;
  padding-top: 120px;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
}

.about-page__right--cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-page__visual {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 40px rgba(90, 167, 255, 0.18),
    0 0 80px rgba(255, 79, 216, 0.12);
}

.about-page__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .about-page {
    gap: 40px;
    padding: 32px 20px 70px;
  }

  .about-page__grid,
  .about-page__grid--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
  }

  .about-page__right,
  .about-page__left--image {
    justify-content: center;
    align-items: center;
  }

  .about-page__left--image {
    padding-top: 0;
    padding-left: 0;
    margin-top: 0;
  }

  .about-page__portrait {
    margin-top: 0;
    width: 190px;
    height: 190px;
  }

  .about-page__visual {
    max-width: 220px;
  }
}

.about-page__left--image {
  margin-top: 6px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 0 auto;
  min-height: auto;
  display: block;
  padding-bottom: 44px;
}

.footer {
  flex-shrink: 0;
}

.about-page__card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 50%, rgba(88,166,255,0.18), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(255,79,216,0.16), transparent 55%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
}

.about-page__card {
  position: relative;
}
