/* September 13, 2026 homepage refinement.
   Loaded after the site's existing styles.css so this file remains narrowly scoped. */

.reader-pathways {
  background: #f3f0e8;
  color: #0b0e11;
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-top: 1px solid rgba(11, 14, 17, 0.12);
  border-bottom: 1px solid rgba(11, 14, 17, 0.12);
}

.reader-pathways-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.reader-pathways-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.reader-pathways-heading > p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
  color: rgba(11, 14, 17, 0.72);
}

.reader-pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(11, 14, 17, 0.24);
  border-bottom: 1px solid rgba(11, 14, 17, 0.24);
}

.reader-pathway {
  position: relative;
  display: flex;
  min-height: 19rem;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 3rem);
  color: inherit;
  text-decoration: none;
  border-left: 1px solid rgba(11, 14, 17, 0.16);
  transition: background-color 180ms ease, transform 180ms ease;
}

.reader-pathway:first-child {
  border-left: 0;
}

.reader-pathway::after {
  content: "";
  position: absolute;
  right: clamp(1.5rem, 2.5vw, 2.5rem);
  bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  transform-origin: right center;
  transition: width 180ms ease, opacity 180ms ease;
}

.reader-pathway:hover,
.reader-pathway:focus-visible {
  background: rgba(11, 14, 17, 0.045);
}

.reader-pathway:hover::after,
.reader-pathway:focus-visible::after {
  width: 4rem;
  opacity: 0.7;
}

.reader-pathway:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.pathway-kicker {
  display: block;
  margin-bottom: 2.75rem;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(11, 14, 17, 0.6);
}

.reader-pathway h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.reader-pathway p {
  margin: 0;
  max-width: 28rem;
  line-height: 1.65;
  color: rgba(11, 14, 17, 0.68);
}

.pathway-action {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .reader-pathways-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reader-pathways-grid {
    grid-template-columns: 1fr;
  }

  .reader-pathway,
  .reader-pathway:first-child {
    min-height: 15rem;
    border-left: 0;
    border-top: 1px solid rgba(11, 14, 17, 0.16);
  }

  .reader-pathway:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reader-pathway,
  .reader-pathway::after {
    transition: none;
  }
}
