/* ==========================================================================
   pages/home.css — Homepage only   (Figma frame: "Homepage")
   ========================================================================== */

/* ---- Hero ------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-block: 2.5rem 2rem; /* mobile: 40 / 32 */
}

.hero__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.hero__title {
  max-width: 55rem; /* 881 */
  font-size: var(--type-display);
  line-height: var(--leading-display);
}

/* Portrait: the only round image on the site (circle in Figma) */
.hero__photo {
  flex: none;
  width: 6rem; /* 96, below the heading on mobile */
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface);
}

.hero__lead {
  max-width: 45rem; /* 720 */
  font-size: var(--type-body-lg);
  color: var(--color-text-muted);
}

@media (min-width: 48rem) { /* bp: tablet (≥ 768px) */
  .hero {
    padding-block: var(--space-section);
  }

  .hero__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero__photo {
    width: clamp(8rem, 1.25rem + 14vw, 13.125rem); /* → 210 at 1440 */
  }
}

/* ---- Selected work ------------------------------------------------------ */
.selected-work {
  scroll-margin-top: var(--space-xl);
}

.selected-work__title {
  margin-bottom: 2.5rem; /* 40 */
  font-size: var(--type-h2);
}
