:root {
  color-scheme: dark;
  --black: #111112;
  --charcoal: #1a1a1c;
  --paper: #f2f1ec;
  --white: #fffefa;
  --muted: #b7b6b1;
  --artist: #b54852;
  --poet: #55a892;
  --gold: #d5b45c;
  --line-light: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(17, 17, 18, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line-light);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark__monogram {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 14px;
}

.wordmark__text,
.masthead__note {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.masthead__note {
  color: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  height: 88svh;
  overflow: hidden;
  background: var(--black);
}

.hero__heading {
  position: absolute;
  top: 92px;
  left: 50%;
  z-index: 10;
  width: min(860px, calc(100% - 48px));
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #7f2531;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  font-size: 76px;
}

.hero__question {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 22px;
}

.routes {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  text-decoration: none;
  isolation: isolate;
}

.route:last-child {
  border-right: 0;
}

.route__image,
.route__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route__image {
  z-index: -2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.67);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 450ms ease;
}

.route--artist .route__image {
  object-position: 62% center;
}

.route--poet .route__image {
  object-position: 50% 32%;
}

.route__veil {
  z-index: -1;
  opacity: 0.34;
  transition: opacity 450ms ease;
}

.route--artist .route__veil {
  background: #42141a;
}

.route--poet .route__veil {
  background: #0d3931;
}

.route__content {
  display: flex;
  width: min(100%, 560px);
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 56px 42px;
}

.route__role {
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.route--artist .route__role {
  color: #ff9ba3;
}

.route--poet .route__role {
  color: #8be0c8;
}

.route__name {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 0.96;
}

.route__years {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.route__summary {
  max-width: 390px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}

.route__action {
  margin-top: auto;
  padding-top: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.route:hover .route__image,
.route:focus-visible .route__image {
  transform: scale(1.035);
  filter: grayscale(0.55) contrast(1.05) brightness(0.74);
}

.route:hover .route__veil,
.route:focus-visible .route__veil {
  opacity: 0.22;
}

.route:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.section-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.intro {
  color: var(--black);
  background: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}

.intro__grid {
  display: grid;
  min-height: 330px;
  align-items: center;
  gap: 48px;
  grid-template-columns: 90px minmax(0, 1.15fr) minmax(280px, 0.85fr);
  padding-top: 68px;
  padding-bottom: 68px;
}

.section-index {
  align-self: start;
  margin: 8px 0 0;
  color: rgba(17, 17, 18, 0.52);
  font-size: 12px;
  font-weight: 700;
}

.intro h2,
.legacy h2,
.closing h2 {
  font-size: 52px;
}

.intro__text {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}

.legacy {
  padding: 104px 0;
  border-bottom: 1px solid var(--line-light);
}

.legacy--artist {
  background: #191719;
}

.legacy--poet {
  color: #0e1815;
  background: #dce9e2;
}

.legacy__grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
}

.legacy__grid--reverse {
  grid-template-columns: minmax(0, 1.22fr) minmax(270px, 0.78fr);
}

.legacy__grid--reverse .legacy__visual {
  grid-column: 2;
  grid-row: 1;
}

.legacy__grid--reverse .legacy__body {
  grid-column: 1;
  grid-row: 1;
}

.legacy__visual {
  position: relative;
  max-width: 390px;
  justify-self: center;
}

.legacy__visual img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 22px 24px 0 rgba(181, 72, 82, 0.22);
}

.legacy__visual--book img {
  border-color: rgba(14, 24, 21, 0.25);
  box-shadow: -22px 24px 0 rgba(16, 105, 82, 0.22);
}

.caption {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.legacy--poet .caption {
  color: rgba(14, 24, 21, 0.64);
}

.legacy__body {
  max-width: 680px;
}

.legacy--poet .eyebrow {
  color: #166b56;
}

.legacy__dates {
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legacy--poet .legacy__dates {
  color: rgba(14, 24, 21, 0.62);
}

.legacy__body > p:not(.eyebrow):not(.legacy__dates) {
  max-width: 640px;
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.legacy--poet .text-link:hover,
.legacy--poet .text-link:focus-visible {
  color: #166b56;
}

.text-link--pending {
  color: rgba(14, 24, 21, 0.56);
  border-bottom-style: dashed;
  cursor: default;
}

.closing {
  padding: 98px 0 110px;
  background: #2a1830;
  text-align: center;
}

.closing__inner {
  max-width: 920px;
}

.closing__links {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-top: 36px;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.58);
  background: #0a0a0b;
  font-size: 11px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer p {
  max-width: 620px;
  margin: 0;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .masthead {
    padding: 0 20px;
  }

  .masthead__note {
    display: none;
  }

  h1 {
    font-size: 58px;
  }

  .route__content {
    min-height: 300px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .route__name {
    font-size: 36px;
  }

  .intro__grid {
    gap: 30px;
    grid-template-columns: 55px 1fr;
  }

  .intro__text {
    grid-column: 2;
  }

  .legacy__grid,
  .legacy__grid--reverse {
    gap: 60px;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 680px) {
  .masthead {
    height: 62px;
  }

  .wordmark__text {
    font-size: 10px;
  }

  .hero {
    height: 88svh;
  }

  .hero__heading {
    top: 78px;
    width: calc(100% - 28px);
  }

  .hero__heading .eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
  }

  h1 {
    font-size: 43px;
    line-height: 0.96;
  }

  .hero__question {
    margin-top: 8px;
    font-size: 17px;
  }

  .route__content {
    min-height: 248px;
    padding: 0 14px 22px;
  }

  .route__role {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .route__name {
    font-size: 25px;
  }

  .route__years {
    margin-top: 8px;
    font-size: 11px;
  }

  .route__summary {
    display: none;
  }

  .route__action {
    padding-top: 16px;
    font-size: 10px;
  }

  .route--artist .route__image {
    object-position: 58% center;
  }

  .route--poet .route__image {
    object-position: 50% 25%;
  }

  .section-shell {
    width: calc(100% - 36px);
  }

  .intro__grid {
    display: block;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .section-index {
    margin-bottom: 28px;
  }

  .intro h2,
  .legacy h2,
  .closing h2 {
    font-size: 38px;
  }

  .intro__text {
    margin-top: 30px;
    font-size: 19px;
  }

  .legacy {
    padding: 72px 0;
  }

  .legacy__grid,
  .legacy__grid--reverse {
    display: flex;
    flex-direction: column;
    gap: 54px;
  }

  .legacy__visual,
  .legacy__grid--reverse .legacy__visual,
  .legacy__grid--reverse .legacy__body {
    width: min(82%, 360px);
    grid-column: auto;
    grid-row: auto;
  }

  .legacy__body,
  .legacy__grid--reverse .legacy__body {
    width: 100%;
  }

  .legacy__body > p:not(.eyebrow):not(.legacy__dates) {
    font-size: 18px;
  }

  .legacy__visual img {
    max-height: 520px;
    box-shadow: 14px 16px 0 rgba(181, 72, 82, 0.22);
  }

  .legacy__visual--book img {
    box-shadow: -14px 16px 0 rgba(16, 105, 82, 0.22);
  }

  .closing {
    padding: 72px 0 82px;
  }

  .closing__links,
  .footer__inner {
    flex-direction: column;
  }

  .closing__links {
    align-items: center;
    gap: 18px;
  }

  .footer__inner {
    gap: 12px;
  }
}

@media (max-height: 680px) and (min-width: 681px) {
  .hero__heading {
    top: 78px;
  }

  h1 {
    font-size: 58px;
  }

  .route__content {
    min-height: 255px;
    padding-bottom: 24px;
  }

  .route__summary {
    display: none;
  }
}

@media (max-height: 600px) and (max-width: 680px) {
  .masthead {
    height: 48px;
  }

  .wordmark__monogram {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .wordmark__text,
  .hero__heading .eyebrow {
    display: none;
  }

  .hero__heading {
    top: 58px;
  }

  h1 {
    font-size: 34px;
  }

  .hero__question {
    margin-top: 5px;
    font-size: 14px;
  }

  .route__content {
    min-height: 155px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
  }

  .route__role {
    margin-bottom: 5px;
    padding-bottom: 3px;
    font-size: 9px;
  }

  .route__name {
    font-size: 20px;
  }

  .route__years {
    margin-top: 4px;
    font-size: 9px;
  }

  .route__action {
    padding-top: 7px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
