/* OHHOUSE · Concept 04 v10 (2026-10-27)
   The plan: drawing and legend stay anchored on the left; the photographs of each place scroll up beside them.
   The spacer's height is set by v5.js to the strip's overflow, so the photographs move 1:1 with the page. */
.plan-body { position: sticky; top: 64px; background: var(--paper); }
.plan-strip { grid-column: 10 / 13; grid-row: 1 / 3; height: calc(100svh - 64px - 56px - 32px); overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ps-track { display: flex; flex-direction: column; gap: 40px; padding: 28px 0; will-change: transform; }
.ps-fig { margin: 0; transition: opacity .5s var(--out); opacity: .42; }
.ps-fig.on { opacity: 1; }
.ps-fig .pf-frame { aspect-ratio: 5 / 4; }
.ps-fig .pf-frame img { animation: none; }
.pf-more { display: flex; gap: 6px; padding-top: 6px; }
.pf-more button { width: 44px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; transition: opacity .3s var(--out); outline-offset: 2px; }
.pf-more button[aria-current] { opacity: 1; box-shadow: 0 1px 0 0 var(--ink); }
.pf-more button:hover { opacity: .85; }
.pf-more img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-fig figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 10px; font-size: 13px; color: var(--mute); }
.ps-fig figcaption b { color: var(--ink); font-size: 18px; font-weight: 400; letter-spacing: -.01em; }
@media (max-width: 720px) {
  .plan-body { top: 56px; padding-top: 12px; row-gap: 10px; }
  .plan-legend { display: none; }
  .plan-strip { grid-column: 1 / -1; grid-row: auto; }
  .ps-track { gap: 28px; padding: 22px 12% 22px 0; }
  .ps-fig figcaption b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-body { position: relative; top: auto; }
  .plan-strip { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .ps-fig { opacity: 1; }
}

/* the pool photograph carries the words of the old full-width pool section */
.pl-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px clamp(18px, 3vw, 36px) clamp(18px, 2.6vw, 32px); color: var(--paper);
  background: linear-gradient(rgba(20,20,19,0), rgba(20,20,19,.62) 70%); text-shadow: 0 1px 12px rgba(20,20,19,.35); }
.pl-over h2 { margin: 0; color: var(--paper); }
.pl-over p { margin: 10px 0 0; max-width: 30ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.35; }
@media (max-width: 720px) { .pl-over { padding: 40px 14px 12px; } .pl-over h2 { font-size: 28px; } .pl-over p { font-size: 13px; margin-top: 6px; } }
@media (max-width: 480px) { .pl-over h2 { font-size: 24px; } .pl-over p { display: none; } }
