.header-nav [aria-current="page"] {
  color: var(--accent);
}

.project-story,
.project-commitment,
.home-editorial {
  padding-block: clamp(56px, 8vw, 112px);
}

.project-story {
  background: #f1efe7;
}

.project-commitment {
  background: var(--ink);
  color: #fff;
}

.project-commitment p {
  color: #c9c9c9;
}

.editorial-section-heading,
.editorial-actions {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.editorial-actions {
  justify-content: flex-start;
  margin-top: 36px;
}

.editorial-section-heading {
  margin-bottom: 28px;
}

.editorial-section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -.055em;
  line-height: 1.06;
}

.story-timeline,
.commitment-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.story-timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.story-timeline li,
.commitment-grid > div {
  border-top: 1px solid #d4cfc4;
  padding-top: 20px;
}

.story-timeline li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 20px;
}

.commitment-grid > div {
  border-color: #555;
}

.story-timeline h3,
.commitment-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -.025em;
}

.story-timeline p,
.commitment-grid p {
  margin: 0;
  max-width: 33ch;
  line-height: 1.65;
}

.post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9f6;
}

.post-card:hover {
  border-color: var(--accent);
}

.post-card img,
.article-photo {
  display: block;
  width: 100%;
  height: auto;
}

.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  display: block;
  padding: clamp(20px, 4vw, 42px);
}

.post-card-body h2,
.post-card-body h3,
.release-body h2 {
  margin: 10px 0;
  font-size: clamp(23px, 3vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.12;
}

.post-card-body p,
.release-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.editorial-link,
.editorial-back {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.editorial-link:hover,
.editorial-back:hover {
  color: var(--accent);
}

.project-commitment .editorial-link:hover {
  color: var(--accent-on-dark);
}

.editorial-page {
  padding-block: clamp(48px, 7vw, 100px);
}

.editorial-heading {
  display: block;
  height: auto;
  max-width: 810px;
  margin-bottom: 40px;
}

.editorial-heading h1 {
  font-size: clamp(46px, 7vw, 98px);
  margin: 20px 0;
}

.editorial-heading p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.editorial-meta,
.editorial-heading p.editorial-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.editorial-heading p.editorial-meta {
  margin-top: 20px;
}

.featured-post .post-card {
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}

.featured-post img {
  height: 100%;
}

.featured-post .editorial-link {
  display: inline-block;
  margin-top: 20px;
}

.older-posts {
  margin-top: 52px;
}

.editorial-article {
  max-width: 850px;
  margin-inline: auto;
}

.article-photo {
  border-radius: 12px;
}

.editorial-prose {
  max-width: 66ch;
  margin: 40px auto 0;
  font-size: 18px;
  line-height: 1.7;
}

.editorial-prose h2 {
  margin-top: 1.6em;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.release-entry {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px;
}

.release-meta {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.release-meta time {
  font-weight: 700;
  color: var(--ink);
}

.release-body h2 {
  margin-top: 0;
}

.release-body details {
  margin-top: 16px;
}

.release-body details ul {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.release-body li {
  margin-bottom: .45em;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .header-nav {
    flex-wrap: wrap;
    column-gap: clamp(10px, 3vw, 24px);
    row-gap: 0;
  }
}

@media (max-width: 620px) {
  .story-timeline,
  .commitment-grid,
  .post-grid,
  .featured-post .post-card,
  .release-entry {
    grid-template-columns: 1fr;
  }

  .release-entry {
    gap: 12px;
  }
}
