/* =============================================
   ABOUT.CSS — About Me page styles
   ============================================= */

@import url('variables.css');
@import url('base.css');

/* ── Page header ─────────────────────────── */
.page-header {
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  animation: fadeUp 0.7s ease both;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--secondary);
}

.page-header h1 em {
  font-style: italic;
  color: var(--hint);
}

/* ── About layout ────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  padding: 6rem 4rem;
  align-items: start;
}

/* ── Portrait column ─────────────────────── */
.about-portrait {
  position: sticky;
  top: 6rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 340px;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(200, 169, 110, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(200, 169, 110, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Replace .portrait-placeholder with an <img> when you have a photo */
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(200, 169, 110, 0.12);
  z-index: -1;
}

.portrait-caption {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

/* ── Bio column ──────────────────────────── */
.about-content {
  animation: fadeUp 0.7s 0.2s ease both;
}

.about-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--secondary);
  margin-bottom: 2.5rem;
}

.about-body {
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ── Skills / Tags ───────────────────────── */
.skills-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(200, 169, 110, 0.1);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.skill-tag {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: rgba(200, 169, 110, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.skill-tag:hover {
  background: rgba(200, 169, 110, 0.1);
  color: var(--hint);
}

/* ── Experience timeline ─────────────────── */
.experience-section {
  padding: 0 4rem 6rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

.download-strip {
  padding: 2.5rem 4rem;
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  animation: fadeUp 0.7s 0.3s ease both;
}

.download-cta {
  margin-top: 1rem;
}

.download-cta .btn {
  min-width: 220px;
}

.timeline {
  margin-top: 2rem;
  border-left: 1px solid rgba(200, 169, 110, 0.2);
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  background: var(--hint);
  transform: translateX(-50%);
}

.timeline-period {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.timeline-org {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.45);
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}

.timeline-desc {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
}

/* ── Contact strip ───────────────────────── */
.contact-strip {
  padding: 5rem 4rem;
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--secondary);
}

.contact-links {
  display: flex;
  gap: 1rem;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .page-header { padding: 8rem 1.5rem 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; }
  .about-portrait { position: static; }
  .portrait-frame { max-width: 240px; margin: 0 auto; }
  .experience-section { padding: 0 1.5rem 4rem; }
  .contact-strip { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .contact-links { justify-content: center; }
}
