/* ============================================================
   CHAPTER III - CONNECTION. Midday warmth. People, momentum.
   Photographs laid on a table; a quote crosses the frame.
   ============================================================ */

.chapter--connection {
  background: var(--linen);
}

/* Sticky walking scene: title settles low like a film credit */
.chapter--connection .layer--type-end {
  justify-content: flex-end;
  padding-bottom: clamp(2.5rem, 9vh, 5.5rem);
  color: var(--ivory);
}
.chapter--connection .layer--type-end .t-display {
  color: var(--ivory);
  text-shadow: 0 3px 42px rgba(20, 33, 46, 0.78);
}
.chapter--connection .layer--type-end .t-label {
  color: rgba(251, 249, 244, 0.85);
  margin-bottom: 1rem;
}
.chapter--connection .layer--media::after {
  background:
    linear-gradient(to bottom, transparent 45%, rgba(20, 33, 46, 0.55)),
    linear-gradient(160deg, rgba(20, 33, 46, 0.16), rgba(217, 199, 167, 0.1) 62%, rgba(20, 33, 46, 0.2));
  mix-blend-mode: normal;
}

/* The long table + crossing quote */
.plate--table {
  padding-top: calc(var(--beat) * 1.3);
  align-items: center;
  row-gap: 0;
}
.plate--table .fig--table {
  grid-column: 1 / 8;
  grid-row: 1;
  aspect-ratio: 3 / 2;
}
.plate--table .plate__quote {
  grid-column: 6 / 13;
  grid-row: 1;
  z-index: 2;
  margin-top: 55%;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--ivory);
  color: var(--driftwood);
  box-shadow: 0 1.5rem 4.5rem rgba(20, 33, 46, 0.12);
}
.plate--table .plate__quote p {
  margin: 0;
}

/* Shore conversation + service whispers */
.plate--shore {
  align-items: center;
  padding-bottom: calc(var(--beat) * 1.3);
}
.plate--shore .plate__copy {
  grid-column: 2 / 7;
  display: grid;
  gap: 2rem;
}
.plate--shore .fig--shore {
  grid-column: 8 / 13;
  aspect-ratio: 3 / 2;
}
.plate--shore .whisper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  align-items: stretch;
}
.plate--shore .whisper-list li {
  display: grid;
  align-content: start;
  min-height: 4.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  font-size: clamp(1.2rem, 1.65vw, 1.45rem);
  line-height: 1.2;
}
.plate--shore .whisper-list li + li::before {
  content: none;
}

@media (max-width: 760px) {
  .plate--table .fig--table { grid-column: 1 / -1; }
  .plate--table .plate__quote {
    grid-column: 1 / -1;
    margin-top: -2.5rem;
  }
  .plate--shore .plate__copy { grid-column: 1 / -1; }
  .plate--shore .fig--shore { grid-column: 1 / -1; }
  .plate--shore .whisper-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .plate--table {
    row-gap: clamp(1.75rem, 5vw, 3rem);
  }
  .plate--table .plate__quote {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-top: 0;
  }
  .plate--table .fig--table {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
