.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.journal-header {
  position: absolute;
  background: rgba(3, 13, 26, .38);
}

.journal-header .site-nav a[aria-current="page"] {
  color: var(--gold);
}

.journal-home-link {
  min-width: 3.4rem;
  width: 3.4rem;
  justify-content: center;
}

.journal-home-link svg {
  width: 1.5rem;
}

.journal-hero {
  position: relative;
  min-height: 33.5rem;
  padding: 8rem var(--gutter) 3.5rem;
  background: url("../assets/blog-mountains-hero.png") center 52% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.journal-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 26, .86) 0%, rgba(3, 13, 26, .52) 31%, rgba(3, 13, 26, .04) 62%), linear-gradient(0deg, rgba(3, 13, 26, .38), transparent 45%);
}

.journal-hero-copy {
  max-width: 45rem;
  text-shadow: 0 2px 20px rgba(3, 13, 26, .9);
}

.journal-hero h1 {
  margin: 0;
  font: 400 clamp(3.8rem, 5.3vw, 5.35rem) / .95 var(--serif);
  letter-spacing: -.045em;
}

.journal-hero p {
  margin: 1.15rem 0 1.7rem;
  color: var(--silver);
  font: 400 clamp(1.25rem, 1.65vw, 1.62rem) / 1.28 var(--serif);
}

.journal-hero .button {
  width: 17.7rem;
  border-color: rgba(216, 182, 108, .9);
  color: #f1d391;
}

.journal-silver-band {
  height: 2.35rem;
  border-block: 1px solid rgba(245, 248, 251, .55);
  background: linear-gradient(110deg, #a9b8c5 0%, #e3e8ec 45%, #bac6d0 100%);
}

.latest-stories {
  min-height: 20rem;
  padding: 1.5rem var(--gutter) 2.4rem;
  background: radial-gradient(circle at 70% 10%, rgba(28, 90, 143, .18), transparent 35%), var(--navy);
}

.latest-stories h2 {
  margin: 0 0 .7rem;
  color: var(--silver);
  font: 400 clamp(2rem, 3vw, 3rem) / 1 var(--serif);
}

.story-list {
  border-bottom: 1px solid rgba(216, 182, 108, .42);
}

.story-row {
  min-height: 7.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(216, 182, 108, .42);
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 2.25rem;
  text-decoration: none;
  transition: padding-inline .25s ease, background-color .25s ease;
}

.story-row:hover {
  padding-inline: 1rem;
  background: rgba(28, 90, 143, .15);
}

.story-row time {
  color: var(--gold);
  font: 400 1rem / 1.3 var(--ui);
  letter-spacing: .05em;
}

.story-summary {
  padding-left: 2.5rem;
  border-left: 1px solid var(--gold);
  display: grid;
  gap: .35rem;
}

.story-summary strong {
  color: var(--silver);
  font: 400 clamp(1.75rem, 2.6vw, 2.65rem) / 1 var(--serif);
}

.story-summary > span {
  color: var(--steel);
  font: 400 1rem / 1.45 var(--ui);
}

.story-row > svg {
  color: var(--gold);
  transition: transform .25s ease;
}

.story-row:hover > svg {
  transform: translateX(.35rem);
}

.archive-note {
  margin: 2.2rem 0 0;
  color: rgba(174, 189, 202, .74);
  font: italic 1.05rem / 1.5 var(--serif);
}

.journal-footer {
  border-top: 1px solid rgba(216, 182, 108, .36);
}

.article-mountain-banner {
  height: 15.5rem;
  background: url("../assets/blog-mountains-hero.png") center 43% / cover no-repeat;
  border-bottom: 1px solid rgba(216, 182, 108, .45);
}

.article-shell {
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.back-link,
.back-journal-link {
  width: max-content;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .7rem;
  font: 400 .92rem / 1 var(--ui);
  text-decoration: none;
}

.back-link {
  margin: 0 0 -.4rem;
}

.back-link svg,
.back-journal-link svg {
  width: 1.3rem;
}

.journal-article {
  width: min(100%, 53rem);
  margin: 0 auto;
}

.article-heading {
  margin-bottom: 1.7rem;
  text-align: center;
}

.article-heading time {
  color: var(--gold);
  font: 400 1.05rem / 1 var(--serif);
}

.article-heading h1 {
  margin: .55rem 0 .75rem;
  color: var(--silver);
  font: 400 clamp(3rem, 5vw, 4.7rem) / .98 var(--serif);
  letter-spacing: -.04em;
}

.article-heading > p {
  margin: 1rem auto 0;
  color: var(--steel);
  font: 400 clamp(1.2rem, 2vw, 1.55rem) / 1.3 var(--serif);
}

.metal-rule {
  max-width: 37rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.metal-rule::before,
.metal-rule::after {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--silver));
}

.metal-rule::after {
  background: linear-gradient(90deg, var(--silver), transparent);
}

.metal-rule i {
  width: .38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(216, 182, 108, .6);
}

.journal-article section {
  margin-top: 1.3rem;
}

.journal-article h2 {
  margin: 0 0 .35rem;
  color: var(--silver);
  font: 400 clamp(1.7rem, 2.7vw, 2.25rem) / 1 var(--serif);
}

.journal-article section p {
  margin: 0;
  color: #d3dce4;
  font: 400 1.13rem / 1.6 var(--serif);
}

.drop-cap::first-letter {
  float: left;
  margin: .1rem .12rem -.05rem 0;
  color: var(--gold);
  font: 400 3.9rem / .75 var(--serif);
}

.journal-article blockquote {
  margin: 1.35rem -1.5rem;
  padding: 1.4rem 3rem;
  color: var(--navy);
  background: linear-gradient(110deg, #adb9c4, #edf0f2 52%, #c1c9d0);
  border-inline: 1px solid rgba(216, 182, 108, .7);
  text-align: center;
  font: italic 400 clamp(1.25rem, 2.1vw, 1.65rem) / 1.3 var(--serif);
}

.article-closing {
  margin: 1.8rem 0 1rem;
  color: var(--gold);
  text-align: center;
  font: 400 clamp(1.3rem, 2vw, 1.65rem) / 1.25 var(--serif);
}

.back-journal-link {
  margin: 0 auto;
}

@media (max-width: 900px) {
  .journal-home-link {
    display: none;
  }

  .story-row {
    grid-template-columns: 11rem minmax(0, 1fr) 1.5rem;
    gap: 1.35rem;
  }

  .story-summary {
    padding-left: 1.6rem;
  }
}

@media (max-width: 620px) {
  .journal-hero {
    min-height: 42rem;
    padding: 21rem 1.25rem 3rem;
    background-position: 58% center;
  }

  .journal-hero::before {
    background: linear-gradient(0deg, rgba(3, 13, 26, .98) 0%, rgba(3, 13, 26, .82) 42%, rgba(3, 13, 26, .08) 73%);
  }

  .journal-hero h1 {
    font-size: clamp(3rem, 14vw, 3.8rem);
  }

  .journal-hero p br {
    display: none;
  }

  .journal-hero .button {
    width: 100%;
  }

  .journal-silver-band {
    height: 1.5rem;
  }

  .latest-stories {
    padding: 2rem 1.25rem 3rem;
  }

  .story-row {
    min-height: 12rem;
    grid-template-columns: 1fr 1.5rem;
    gap: 1rem;
  }

  .story-row time {
    grid-column: 1 / -1;
  }

  .story-summary {
    padding-left: 0;
    border-left: 0;
  }

  .article-mountain-banner {
    height: 17rem;
    background-position: 62% center;
  }

  .article-shell {
    width: min(100% - 2.5rem, 72rem);
    padding-top: 1.5rem;
  }

  .back-link {
    margin-bottom: 2rem;
  }

  .article-heading h1 {
    font-size: clamp(2.8rem, 14vw, 3.7rem);
  }

  .journal-article section p {
    font-size: 1.08rem;
  }

  .journal-article blockquote {
    margin-inline: 0;
    padding: 1.4rem 1.2rem;
  }
}
