/* =====================================================================
   home.css — composition for the home page
   ===================================================================== */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem);
}

.hero__title {
  font-family: var(--font-display);
  text-wrap: balance;
}

.hero__name {
  display: block;
  font-size: calc(var(--fs-display) * var(--display-scale));
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
}

/* The role sits under the name at roughly two-fifths its size. */
.hero__role {
  display: block;
  margin-top: 0.35em;
  font-size: clamp(1.25rem, 2.7vw, 2.125rem);
  font-weight: var(--weight-mid);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg-muted);
}

/* The statement block itself lives in components.css; the home page just
   sets the tighter measure the comp uses. */
.intro__statement { max-width: 20ch; }

.intro__aside .label { display: block; margin-bottom: clamp(1rem, 2.4vw, 1.5rem); }

/* ---------- Selected work ---------- */
.work { padding-bottom: var(--space-sm); }

.work-list { margin-top: 0.5rem; }

@media (max-width: 860px) {
  .intro__statement { max-width: 24ch; }
}
