.directory-page,
.bio-page {
  background: radial-gradient(ellipse at 85% 0, #102754 0, transparent 38rem), var(--night);
}

.directory-intro {
  padding-block: clamp(120px, 12vw, 164px) 36px;
}

.directory-intro h1 {
  font-size: clamp(64px, 9.3vw, 118px);
  line-height: .9;
}

.directory-intro > p:last-child,
.book-copy > p:not(.eyebrow),
.project-card > p:not(.eyebrow),
.directory-career p:not(.eyebrow),
.bio-intro {
  color: var(--muted);
}

.directory-intro > p:last-child {
  max-width: 40rem;
  margin-top: 22px;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  border: 1px solid var(--line);
  background: #0a1938;
}

.book-art {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: clamp(28px, 5vw, 58px);
  background: radial-gradient(ellipse at center, #374d83, #0a1631 75%);
}

.book-art img {
  width: clamp(172px, 22vw, 250px);
  box-shadow: 12px 20px 45px #0009;
}

.book-copy {
  padding: clamp(28px, 5.2vw, 64px);
}

.book-copy h2 {
  font-size: clamp(43px, 6vw, 78px);
}

.book-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin-top: 22px;
}

.book-buy {
  margin-top: 24px;
  background: #a9c2ff;
  color: #07172f;
  font-size: 13px;
}

.book-buy:hover {
  background: #d6e2ff;
}

.about-book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-top: 22px;
}

.about-book-actions .book-buy,
.about-book-actions .text-link {
  margin-top: 0;
}

.directory-projects,
.directory-career {
  margin-block: clamp(60px, 9vw, 112px);
}

.directory-projects h2,
.directory-career h2 {
  font-size: clamp(52px, 7vw, 93px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.project-card h3 {
  font-size: clamp(22px, 3vw, 34px);
}

.project-card > p:not(.eyebrow) {
  margin-block: 16px 20px;
  max-width: 36rem;
}

.project-card .text-link {
  margin-top: auto;
}

.directory-career {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.directory-career .text-link {
  margin-top: 16px;
}

.directory-footer {
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: #bdcdf0;
  font-size: 13px;
}

.directory-footer > .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 22px;
}

.directory-footer a:hover,
.bio-home:hover,
.bio-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bio-wrap {
  width: min(660px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 34px 46px;
}

.bio-profile {
  text-align: center;
}

.bio-home {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  color: #c0d2f8;
  font-size: 13px;
}

.bio-portrait {
  width: 110px;
  height: 110px;
  margin: 18px auto 20px;
  border: 2px solid #a9c2ff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 33%;
}

.bio-profile .eyebrow {
  justify-content: center;
  margin-bottom: 9px;
}

.bio-profile h1 {
  font-size: clamp(52px, 10vw, 86px);
}

.bio-intro {
  max-width: 32rem;
  margin: 16px auto 28px;
}

.bio-feature {
  display: grid;
  grid-template-columns: minmax(65px, 22%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 4vw, 26px);
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #a6bbee5e;
  background: linear-gradient(115deg, #1b3466, var(--panel) 75%);
}

.bio-feature img {
  box-shadow: 7px 10px 24px #0007;
}

.bio-feature .eyebrow {
  margin-bottom: 8px;
}

.bio-feature h2 {
  font-size: clamp(26px, 5.5vw, 43px);
  line-height: 1;
  letter-spacing: -.2px;
}

.bio-feature .button {
  min-height: 44px;
  gap: 12px;
  margin-top: 13px;
  padding: 9px 12px;
}

.bio-group {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.bio-group h2 {
  color: #b0c3e9;
  font: 600 12px/1.6 var(--sans);
  letter-spacing: 1.35px;
}

.bio-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  line-height: 1.4;
  transition: border-color .2s, background .2s;
}

.bio-group a:hover {
  border-color: #a9c2ff;
  background: #14264d;
}

.bio-group strong,
.bio-group small {
  display: block;
}

.bio-group small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.bio-group b {
  color: #a9c2ff;
  font-size: 20px;
  font-weight: 400;
}

.bio-footer {
  margin-top: 28px;
  text-align: center;
  color: #b0c3e9;
  font-size: 13px;
}

.bio-footer a {
  display: inline-block;
  padding-block: 10px;
}

@media (max-width: 700px) {
  .book-feature,
  .project-grid,
  .directory-career {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-art {
    border-top: 1px solid var(--line);
  }

  .book-copy {
    grid-row: 1;
  }
}
