/* Landing-page styles on top of the shared theme (theme.css). */

.hero.home { max-width: 70ch; padding: 2.5rem 0 1.5rem; }
.hero.home h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.hero.home p.cta { margin-top: 1.4rem; }
.hero.home .button { margin-right: .6rem; }

.section-title { font-size: 1.35rem; margin: 2.6rem 0 .6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
section > .prose { margin-bottom: .4rem; }

.studies { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card.study { display: flex; flex-direction: column; }
.card.study .cta { margin-top: auto; padding-top: .6rem; }
.card.study .also { display: inline-block; font-size: .9rem; color: var(--ink-2); margin: .3rem 0; }
.card.study .lede { margin: .2rem 0 .6rem; font-size: 1.02rem; }
.card.study h2 { font-size: 1.25rem; }

.journey-card {
  background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--accent); border-radius: 6px;
  padding: 1.4rem 1.6rem; max-width: 76ch; margin: 1rem 0;
}
.journey-card h3 { margin: 0 0 .6rem; font-size: 1.25rem; }
.journey-card .eyebrow { margin-bottom: .2rem; }
.journey-card .cta { margin-top: 1rem; }

.principles { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.principles .card { background: var(--card-2); }
.principles h3 { margin-top: 0; font-size: 1rem; }
.principles p { margin: .4rem 0 0; font-size: .95rem; }

.about .bio { display: grid; grid-template-columns: 112px 1fr; gap: 1.5rem; align-items: start; margin: 1rem 0 1.6rem; }
.about .portrait {
  width: 112px; height: 112px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; letter-spacing: .04em;
  border: 4px solid var(--accent);
}
/* The photo, once site/scripts/portrait.py has put it in place. */
.about img.portrait { display: block; object-fit: cover; background: var(--card); }
.about .bio-text h3 { margin: .2rem 0 0; font-size: 1.2rem; }
.about .bio-text .lede { margin: .2rem 0 .8rem; }
.about .links { font-size: .92rem; }
.about > h3 { margin-top: 1.4rem; }
.pubs { font-size: .93rem; max-width: 80ch; }
.pubs li { margin: .5rem 0; }
@media (max-width: 560px) {
  .about .bio { grid-template-columns: 1fr; }
  .about .portrait { width: 80px; height: 80px; font-size: 1.5rem; }
}

.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
table.labels { min-width: 640px; }
table.labels td:first-child { white-space: nowrap; }
.contact .card p { font-size: .95rem; }
