/* The homepage message and featured examples use the existing site palette and cards. */
.hero-purpose .hero-copy {
  min-width: 0;
  padding-block: clamp(42px, 4vw, 64px);
}
.hero-purpose .eyebrow { margin-bottom: 21px; }
.hero-purpose h1 {
  font-size: clamp(38px, 4.45vw, 66px);
  letter-spacing: -.038em;
  line-height: 1.06;
  margin-bottom: 16px;
  text-wrap: balance;
}
.hero-purpose .hero-tagline {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.45;
  margin-bottom: 22px;
}
.hero-purpose .hero-introduction {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.62;
  margin-bottom: 24px;
}
.hero-purpose .hero-introduction p { margin: 0 0 .8em; }
.hero-purpose .hero-introduction p:last-child { margin-bottom: 0; }
.hero-purpose .hero-note { margin-top: 24px; }

.home-purpose { padding-block: clamp(42px, 5vw, 74px); }
.home-purpose h2 { margin-bottom: 28px; }
.home-purpose .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-purpose .portfolio-grid:has(> .portfolio-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.home-purpose .portfolio-art { height: auto; aspect-ratio: 2 / 1; }
.home-purpose .portfolio-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.65; }

/* Share the column lines between the single project card and the visual study. */
.selected-projects {
  --selected-columns: minmax(0, 1fr);
  --selected-frame: 1px;
}
.selected-projects > .portfolio-grid > .portfolio-card:only-child {
  grid-template-columns: var(--selected-columns);
  border-inline-width: var(--selected-frame);
}
.selected-projects > .portfolio-grid:has(> .portfolio-card:only-child) + .v-home-bridge {
  grid-template-columns: var(--selected-columns);
  column-gap: var(--editorial-gap);
  padding-inline: var(--selected-frame);
}
@media (width > 760px) {
  .selected-projects {
    --selected-columns: repeat(2, minmax(0, 1fr));
    --selected-copy-inset: 32px;
  }
  .selected-projects > .portfolio-grid > .portfolio-card:only-child .portfolio-copy,
  .selected-projects > .portfolio-grid:has(> .portfolio-card:only-child) + .v-home-bridge > .v-bridge-copy {
    padding-inline: var(--selected-copy-inset);
  }
}

html:is([lang="fr"], [lang="es"]) .hero-actions .button { white-space: normal; }

@media (max-width: 760px) {
  .hero-purpose .hero-copy { padding-block: 34px; }
  .hero-purpose h1 { font-size: clamp(34px, 8.8vw, 52px); }
  .page-home .hero-purpose .hero-visual { aspect-ratio: 1.8 / 1; }
  .home-purpose .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .home-purpose h2 { margin-bottom: 22px; }
}
