@font-face {
  font-family: "Annie";
  src: url("fonts/Annie.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 40px 160px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 120px;
  align-items: center;
}

.about-text h1 {
  margin-bottom: 40px;
  font-family: "Annie", serif;
  color: var(--text-main);
  transition: color 0.6s ease;
}

.about-text p {
  font-size: 30px;
  line-height: 1.7;
  font-family: "Annie", serif;
  color: var(--text-soft);
  transition: color 0.6s ease;
  margin-bottom: 10px;
}

.about-photo {
  display: flex;
  justify-content: center;
}

.about-photo img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
}

.author-mark {
  margin-top: 550px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: "ComingSoon", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  opacity: 0.75;
}

.author-mark a {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.6s ease;
}

.author-mark a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.author-mark a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 1100px) {
  .about-page {
    padding: 160px 24px 0;
    padding-top: 300px;
    transition:
      background-color 0.6s ease,
      color 0.6s ease;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-photo img {
    width: 240px;
    height: 240px;
    transition: transform 0.6s ease;
  }

  .about-text h1 {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.6s ease;
  }

  .about-text p {
    font-size: 18px;
    line-height: 1.6;
    transition: transform 0.6s ease;
  }

  .author-mark {
    position: fixed;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "ComingSoon", serif;
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    opacity: 0.75;
    z-index: 19;
    pointer-events: auto;
    transition:
      color 0.6s ease,
      opacity 0.6s ease,
      background 0.6s ease;
  }

  .author-mark a {
    color: var(--text-main);
    opacity: 1;
    transition:
      color 0.6s ease,
      opacity 0.6s ease;
  }

  .author-mark a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 0.5px;
    background: currentColor;
    opacity: 0.6;
    transition:
      color 0.6s ease,
      opacity 0.6s ease;
  }

  .author-mark a:active {
    opacity: 1;
  }

  .author-mark a:hover {
    opacity: 0.85;
  }
}
