
.author-page {
  --author-navy: #0b1922;
  --author-accent: #b3231c;
  background: var(--author-navy);
}

.author-backdrop {
  min-height: calc(100vh - 100px);
  min-height: calc(100svh - 100px);
  background-color: var(--author-navy);
  
  background-image: linear-gradient(90deg, rgb(11 25 34 / 97%), rgb(11 25 34 / 82%)),
    var(--wjc-background, url("assets/book-cover.png"));
  background-position: center, right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.author-main {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 40px 64px;
}
.author-profile {
  display: grid;
  gap: 40px;
  align-items: center;
}
.author-eyebrow {
  margin: 0 0 12px;
  color: var(--author-accent);
  font-size: 20px;
  letter-spacing: 3px;
}
.author-copy h1 {
  text-align: left;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.15;
  letter-spacing: 2px;
}
.author-copy h1::after {
  content: "";
  display: block;
  width: 132px;
  height: 3px;
  margin-block: 26px 30px;
  background: var(--author-accent);
}
.author-bio {
  max-width: 590px;
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.48;
  letter-spacing: .3px;
}
.author-portrait {
  position: relative;
  isolation: isolate;
  width: min(100%, 380px);
  justify-self: center;
  margin-right: 12px;
}
.author-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -12px 0 35%;
  background: var(--author-accent);
}
.author-portrait img,
.portrait-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 380 / 490;
  object-fit: cover;
  border: 1px solid rgb(229 215 173 / 50%);
}
.author-portrait img {
  height: auto;
  filter: grayscale(1);
}
.portrait-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: #303537;
  color: var(--cream);
  text-align: center;
  letter-spacing: 2px;
}
.portrait-placeholder small {
  font-size: 14px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.author-quote {
  position: relative;
  max-width: 1024px;
  margin: 64px auto 0;
  padding: 38px 22px 42px;
  border: 1px solid var(--cream);
  text-align: center;
}
.quote-mark {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  padding-inline: 20px;
  background: var(--author-navy);
  color: var(--author-accent);
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
}
.author-quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
}
.author-quote p {
  margin: 0;
}
.author-quote figcaption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  padding-inline: 14px;
  background: var(--author-navy);
  font-size: 16px;
  letter-spacing: 2px;
  white-space: nowrap;
}
.author-page .site-footer {
  min-height: 100px;
}
@media (min-width: 740px) {
  .author-main {
    padding-top: 62px;
  }
  .author-profile {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
  }
  .author-portrait {
    justify-self: start;
  }
  .author-quote {
    padding: 40px 60px 48px;
  }
  .author-quote figcaption {
    padding-inline: 24px;
    font-size: 20px;
  }
}
@media (min-width: 1100px) {
  .author-backdrop {
    min-height: calc(100vh - 122px);
    min-height: calc(100svh - 122px);
  }
  .author-page .site-footer {
    min-height: 122px;
  }
}
