/* Product pages: one continuous passage from meaning into the object. */
.detail-page #meaning,
.detail-page #details {
  scroll-margin-top: 104px;
}

.product-journey {
  --journey-edge: clamp(1.25rem, 8vw, 8rem);
  --journey-gap: clamp(2.5rem, 6vw, 7rem);
  padding: clamp(4.5rem, 9vw, 8rem) var(--journey-edge) clamp(4rem, 8vw, 7rem);
  background: #d5d7c6;
  color: var(--ink);
}

.product-journey .journey-details {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.journey-intimacy h2,
.journey-facts h2,
.journey-material h2 {
  margin: 0;
  font:
    400 clamp(2.35rem, 4.6vw, 4.2rem) / 1.08 Lora,
    serif;
  letter-spacing: -0.035em;
}

.journey-intimacy-copy p,
.journey-material-copy p {
  max-width: 38ch;
  margin: 0 0 1.6rem;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.55;
}

.journey-intimacy-copy .primary-link,
.journey-material-copy .primary-link {
  margin-top: 0.35rem;
}

.journey-details {
  display: grid;
  gap: 0;
}

.journey-intimacy,
.journey-facts,
.journey-material {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.journey-intimacy {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.85fr);
}

.journey-crop {
  min-height: min(44vw, 560px);
  background-image: var(--landscape-image);
  background-position: 72% center;
  background-size: auto 116%;
}

.journey-intimacy-copy {
  max-width: 42ch;
}

.journey-facts {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  border-top: 1px solid var(--line);
}

.journey-facts > div:first-child {
  align-self: start;
}

.journey-facts > div:first-child > p {
  max-width: 34ch;
  margin: 1.5rem 0 1.3rem;
}

.journey-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem clamp(1.25rem, 4vw, 3.5rem);
  margin: 0;
}

.journey-facts dl > div {
  margin: 0;
}

.journey-facts dt {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.journey-facts dd {
  max-width: 31ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.journey-facts .footprint {
  display: block;
  width: min(100%, 420px);
  color: var(--ink);
}

.journey-material {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  background: #c5cbb5;
}

.journey-material figure {
  min-width: 0;
}

.journey-material-viewport {
  height: clamp(20rem, 38vw, 34rem);
  overflow: hidden;
}

.journey-material-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
  transform: scale(1.6);
  transform-origin: 60% 35%;
  transition:
    transform 0.65s ease,
    object-position 0.65s ease;
}

.journey-material figcaption {
  max-width: 48ch;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.journey-material-copy {
  max-width: 42ch;
}

.journey-material-copy .material-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.journey-material-copy .material-choices button {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  font:
    1rem Source,
    sans-serif;
}

.journey-material-copy .material-choices button:hover {
  background: #dfe3d1;
}

.journey-material-copy .material-choices button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 700px) {
  .product-journey {
    padding: 4.5rem 8% 4rem;
  }

  .journey-intimacy,
  .journey-facts,
  .journey-material {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-block: 3.5rem;
  }

  .journey-material {
    padding-inline: 1.5rem;
  }

  .journey-crop {
    min-height: 22rem;
    background-position: 68% center;
  }

  .journey-facts dl {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .journey-material-viewport {
    height: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-material-viewport img {
    transition: none;
  }
}
/* Integrate story beside its image; details are a second purposeful view. */
.journey-intimacy {
  align-items: start;
  padding-top: 0;
}
.journey-intimacy-copy h2 {
  margin-bottom: 1.6rem;
}
.journey-intimacy-copy .primary-link {
  margin-right: 0.6rem;
  margin-bottom: 0.6rem;
}
.journey-facts > .journey-material {
  display: block;
  background: none;
  padding: 0;
}
.journey-facts > .journey-material figure {
  margin: 0 0 1.5rem;
}
.journey-fact-copy > p {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
.journey-fact-copy .footprint {
  max-width: 300px;
  margin-bottom: 1.5rem;
}
.journey-fact-copy dl {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.journey-facts {
  align-items: start;
}
@media (max-width: 900px) {
  .journey-intimacy,
  .journey-facts {
    grid-template-columns: 1fr;
  }
  .journey-crop {
    min-height: 400px;
  }
}
/* Product openings are complete chapters; reading sections may grow naturally. */
.detail-page .landscape-hero {
  min-height: 100svh;
}
