/* Short project stories */

.story-page main {
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-hero {
  min-height: min(790px, 88vh);
  padding: 16px var(--site-page) clamp(72px, 9vw, 132px);
}

.story-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.story-topline a:hover,
.story-topline a:focus-visible,
.story-site:hover,
.story-site:focus-visible {
  color: var(--ink);
}

.story-hero h1 {
  margin: clamp(72px, 10vw, 150px) 0 clamp(80px, 10vw, 150px);
  font-size: clamp(5.6rem, 16vw, 17rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.74;
  white-space: nowrap;
}

.story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(52px, 9vw, 150px);
}

.story-lede {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.story-details {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.story-details div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.story-details dt {
  color: var(--muted);
}

.story-details dd {
  margin: 0;
}

.story-site {
  color: var(--ink-soft);
}

.story-site .arrow-45 {
  width: 10px;
  height: 10px;
  margin-left: 3px;
  vertical-align: -1px;
}

.story-body {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 0.65fr);
  justify-content: space-between;
  gap: clamp(60px, 14vw, 240px);
  padding: clamp(92px, 12vw, 190px) var(--site-page);
  border-top: 1px solid var(--rule);
}

.story-body-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.story-copy {
  max-width: 36rem;
}

.story-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.story-copy p + p {
  margin-top: 1.35em;
}

.story-next {
  padding: 0 var(--site-page) clamp(110px, 13vw, 200px);
}

.story-next > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
}

.story-next-links {
  border-top: 1px solid var(--rule);
}

.story-next-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.7rem, 3.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.95;
  transition: padding 220ms var(--ease), background-color 220ms var(--ease);
}

.story-next-links a:hover,
.story-next-links a:focus-visible {
  padding-right: 20px;
  padding-left: 20px;
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.story-next-links .arrow-45 {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .story-hero {
    min-height: 0;
  }

  .story-intro,
  .story-body {
    grid-template-columns: 1fr;
  }

  .story-details {
    max-width: 32rem;
  }

  .story-body {
    gap: 52px;
  }
}

@media (max-width: 680px) {
  .story-hero {
    padding-top: 10px;
    padding-bottom: 82px;
  }

  .story-hero h1 {
    margin-top: 72px;
    margin-bottom: 70px;
    font-size: clamp(4.1rem, 23vw, 7rem);
    line-height: 0.8;
    white-space: normal;
  }

  .story-lede {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }

  .story-intro {
    gap: 54px;
  }

  .story-body {
    padding-top: 88px;
    padding-bottom: 110px;
  }

  .story-copy p {
    font-size: 18px;
  }

  .story-next-links a {
    min-height: 84px;
    font-size: 27px;
  }
}
