/* ============================================================
   ABOUT — page-specific styles. Loads after base.css.
   ============================================================ */

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  width: 100%;
}

.about-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.about-hero__title {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 32px;
}

.about-hero__sub {
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ---------- BIO ---------- */
.bio-section {
  padding: 88px 48px;
  border-top: 1px solid var(--border-soft);
}

.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.bio-photo {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bio-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 10px;
}

.bio-photo-placeholder {
  display: none; /* shown by onerror on the <img> above when portrait.webp is missing */
  width: 100%;
  height: 400px;
  background: linear-gradient(160deg, #3a3a3a, #161616);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.bio-text p {
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.bio-text p:last-child { margin-bottom: 0; }

/* ---------- TIMELINE SECTIONS ---------- */
.timeline-section {
  padding: 88px 48px;
  border-top: 1px solid var(--border-soft);
}

.timeline-section__inner {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.timeline-section__heading {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 64px;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

/* continuous vertical rail */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 56px;
}

.timeline-item:last-child { padding-bottom: 0; }

/* dot on the rail */
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fg);
  transform-origin: center;
}

.timeline-date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.timeline-company {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 240, 0.45);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-faint);
  max-width: 680px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .about-hero {
    padding: 120px 24px 56px;
    min-height: 60vh;
    align-items: flex-end;
  }

  .bio-section,
  .timeline-section {
    padding: 56px 24px;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-photo img,
  .bio-photo-placeholder {
    height: 280px;
  }

  .bio-photo img {
    object-position: center;
  }

  .timeline { padding-left: 28px; }
  .timeline-dot { left: -32px; }
}
