/* styles/about.css */

#about { 
  background: var(--surface); 
}

/* Layout */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;   /* photo slightly smaller than text */
  gap: 4rem;
  align-items: center;
}

/* Photo */
.photo-frame {
  position: relative;
  width: 320px;              /* bigger photo */
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mid);
  margin: auto;
  /* border: 4px solid var(--ink);    */
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  border-radius: 50%;
  transition: transform .4s ease;
}

/* subtle hover effect */
.photo-frame:hover img {
  transform: scale(1.05);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--mid);
  color: var(--ink-muted);
  border-radius: 50%;
}

.photo-corner {
  display: none;
}

/* Text */
.about-text p { 
  color: var(--ink-muted); 
  margin-bottom: 1.2rem; 
  line-height: 1.6;
}

.about-text p:last-of-type { 
  margin-bottom: 2rem; 
}


.social-row { 
  display: flex; 
  gap: .75rem; 
  flex-wrap: wrap; 
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: all .2s;
}

.social-pill:hover { 
  background: var(--ink); 
  color: var(--bg); 
}

/* Mobile */
@media (max-width: 800px) {
  .about-grid { 
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .photo-frame {
    width: 220px;
    height: 220px;
  }
}