/* fxck.cc — /about. вёрстка поверх style.css: те же панели, hero и пилюли, что на главной. */

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 5vw, 3rem) clamp(2rem, 6vh, 4rem);
}

.about-card { margin: 0; }

/* левая карточка — кто я */
.about-id { text-align: center; }

.about-id .avatar {
  width: 120px;
  height: 120px;
  margin: 0.3rem auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 45, 45, 0.07), 0 24px 60px -30px rgba(255, 45, 45, 0.8);
}
.about-id .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.about-name {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.about-bio { color: var(--muted); margin: 0; }

.about-location {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--faint);
}

/* правая карточка — текст, скиллы, ссылки */
.about-description { color: #d7d7e4; margin: 0; }

.about-card h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--faint);
  margin: 1.3rem 0 0.6rem;
}

.about-contact,
.about-skills,
.about-links { margin-top: 1.3rem; }

.about-contact h3,
.about-skills h3 { margin-top: 0; }

.about-contact a {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-contact a:hover { color: #fff; }

.skills-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.skill-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.28rem 0.72rem;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.2s, border-color 0.2s;
}
.skill-tag:hover { color: #fff; border-color: var(--border-strong); }

.about-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }

.about-link {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.about-link:hover { color: #fff; }

/* соцсети — те же пилюли, что в hero на главной */
.about-card .socials {
  justify-content: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border);
}
.about-card .socials:empty { display: none; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-id .avatar { width: 96px; height: 96px; }
}

@media (max-width: 480px) {
  .about-card .socials { justify-content: center; }
}
