/* Hiterra — the work, shown beside the form.
   Motion follows the design system's project-index preview: the incoming
   photograph rises into the frame with clip-path while settling from a
   slight scale, and the outgoing one stays beneath until it finishes, so a
   quick swap can be interrupted rather than queued. */

.pshow{position:relative}

/* A wider column than the 260px the page shipped with. Set here rather than
   as a utility class: arbitrary Tailwind values only exist in the compiled
   stylesheet if they were compiled, and inventing one silently drops the
   grid altogether. */
@media (min-width:768px){
  .hx-col{grid-template-columns:minmax(0,1fr) 340px;column-gap:clamp(24px,3vw,48px)}
}
.pshow-stage{
  position:relative;
  aspect-ratio:4/5;
  background:var(--surface,#f6f7f6);
  overflow:hidden;
}
.pshow-img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  clip-path:inset(100% 0 0 0);
  transform:scale(1.04);
  z-index:1;
}
.pshow-img.is-on{
  clip-path:inset(0 0 0 0);
  transform:scale(1);
  z-index:2;
  transition:clip-path .45s cubic-bezier(.23,1,.32,1),
             transform .45s cubic-bezier(.23,1,.32,1);
}
.pshow-img.was-on{z-index:1;clip-path:inset(0 0 0 0);transform:scale(1)}

/* the name sits on the photograph, on a bottom-third fade */
.pshow-cap{
  position:absolute;inset-inline:0;inset-block-end:0;z-index:3;
  padding:18px 18px 16px;
  background:linear-gradient(to top,rgba(15,23,32,.78) 0%,rgba(15,23,32,.55) 42%,rgba(15,23,32,0) 100%);
  pointer-events:none;
}
.pshow-name{
  font-family:var(--font-display,"Source Serif 4",Georgia,serif);
  color:#fff;font-size:1.3rem;line-height:1.18;letter-spacing:-.012em;margin:0;
}
.pshow-sub{
  color:rgba(255,255,255,.88);font-size:13px;line-height:1.45;margin:.35rem 0 0;
}
:lang(ja) .pshow-name,:lang(ar) .pshow-name{letter-spacing:0;line-height:1.3}

/* the register of projects below: hover or focus swaps the photograph */
.pshow-list{list-style:none;margin:14px 0 0;padding:0}
.pshow-list li{border-bottom:1px solid var(--rule,#d5dad9)}
.pshow-list li:last-child{border-bottom:0}
.pshow-go{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  width:100%;text-align:start;background:none;border:0;cursor:pointer;
  padding:10px 0;font:inherit;font-size:14px;color:var(--text-2,#4b5563);
  transition:color .18s ease,transform .25s cubic-bezier(.23,1,.32,1);
}
.pshow-go .pshow-mark{
  flex:none;width:18px;height:1px;background:currentColor;opacity:.3;
  transition:opacity .18s ease,width .25s cubic-bezier(.23,1,.32,1);
}
.pshow-go[aria-current="true"]{color:var(--ink,#0f1720);font-weight:600}
.pshow-go[aria-current="true"] .pshow-mark{background:var(--teal,#009c9a);opacity:1;width:26px}
@media (hover:hover) and (pointer:fine){
  .pshow-go:hover{color:var(--ink,#0f1720);transform:translateX(6px)}
  [dir=rtl] .pshow-go:hover{transform:translateX(-6px)}
  .pshow-go:hover .pshow-mark{opacity:1;width:26px;background:var(--teal,#009c9a)}
}
.pshow-go:focus-visible{color:var(--ink,#0f1720);outline:2px solid var(--teal,#009c9a);outline-offset:3px}

@media (prefers-reduced-motion:reduce){
  .pshow-img{transition:none}
  .pshow-img.is-on{transition:none}
  .pshow-go{transition:none}
}
