/* product page — pair mount, counter line, tile board */
.pbd__pic{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem}
.pbd__pic .frame{flex:1 1 100%}
.pbd__pair{padding:0 .2rem;grid-template-columns:auto auto auto;justify-content:start}
/* the answer tile fills its row: name and headline at the top, question and standfirst at the foot */
.pbd__ans{display:grid;gap:.8rem;align-content:space-between;justify-items:start}
.pbd__ans h1{margin-top:.3rem}
.pbd__q{color:var(--blue);margin-top:.4rem}
.pbd__ans .lede{max-width:none}
.counter{display:grid;gap:1rem;align-content:start}
.counter__s{font-family:'Martian Mono',ui-monospace,monospace;font-weight:650;font-size:var(--fs-2);line-height:1.6;color:var(--ink);max-width:none}
.slot{color:var(--blue);border-bottom:3px solid var(--blue);padding-inline:.25em;white-space:normal}
.counter__lists{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap) 2rem;border-top:var(--edge);padding-top:1rem}
.counter__lists h3{margin-bottom:.4rem}
.counter__lists li{font-size:var(--fs-0);padding:.3rem 0;border-bottom:var(--edge)}
.pbd__body{display:grid;gap:.9rem;align-content:start}
.pbd__body h2{margin-bottom:.2rem}
/* the glance tile: heading at the top, the ledger of facts spread to the bottom edge */
.pbd__spec{display:grid;grid-template-rows:auto 1fr;align-content:stretch}
.pbd__spec .h3{margin-bottom:.6rem}
.pbd__spec .facts{display:flex;flex-direction:column;justify-content:space-between;height:100%}
.pbd__check .frame{height:100%}
.pbd__checkin{display:grid;gap:.4rem;align-content:start;min-height:100%;padding:var(--pad);background:var(--pink)}
/* the note reads as running text, not as a link: ink at reading size, blue only on the heading */
.pbd__check p{font-size:1.0625rem;line-height:1.5;color:var(--ink)}
.pbd__next{padding-top:0}
.hand{display:grid;gap:.4rem;padding:var(--pad);background:var(--pink);color:var(--ink);text-decoration:none;min-height:100%;transition:background var(--t-color) var(--ease)}
.hand:hover{background:#fdd9e7;color:var(--ink)}
.hand:active{background:var(--blue);color:var(--pink)}
.hand strong{color:var(--blue)}
.hand:active strong,.hand:active .blue{color:var(--pink)}
.pbd__h{margin-bottom:1rem}
/* the closing board — three pictures of one height, three widths, captions on one line */
.more{--mh:clamp(8.5rem,15vw,13.5rem);display:grid;grid-template-columns:5fr 4fr 3fr;gap:var(--gap);align-items:end;border-bottom:var(--edge);padding-bottom:var(--gap)}
.more__i{display:grid;grid-template-rows:var(--mh) auto;gap:.5rem;color:var(--ink);text-decoration:none}
.more__i .frame{display:block;height:var(--mh)}
.more__i .mount{display:block;height:100%;aspect-ratio:auto}
.more__i:hover strong{color:var(--blue)}
.more__c{display:grid;gap:.1rem;align-content:start}
.pbd__links{margin-top:1.2rem;max-width:60ch}
dialog.zoom{border:0;padding:2px;background:var(--ink);max-width:min(96vw,80rem);width:96vw;clip-path:polygon(0 0,calc(100% - 1.15rem) 0,100% 1.15rem,100% 100%,0 100%)}
dialog.zoom::backdrop{background:rgba(34,24,37,.82)}
dialog.zoom img{width:100%;max-height:78vh;object-fit:contain;background:var(--pink)}
.zoom__bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--pink);padding:.5rem .8rem}
.zoom__bar p{font-size:var(--fs-sm)}
.zoomopen{margin-top:0}
@media (min-width:861px){
  .pbd__pic{grid-column:1/8;grid-row:1;margin-right:calc(var(--gap) * -1)}
  .pbd__ans{grid-column:8/13;grid-row:1;align-self:stretch}
  .pbd__ans--wide{grid-column:1/13}
  .counter{grid-column:1/8;grid-row:2;align-self:stretch}
  .pbd__spec{grid-column:8/13;grid-row:2;align-self:stretch}
  .pbd__body{grid-column:1/9;grid-row:3;align-self:stretch}
  .pbd__check{grid-column:9/13;grid-row:3;align-self:stretch}
  .pbd__go1{grid-column:1/7}
  .pbd__go2{grid-column:7/13}
}
@media (max-width:860px){
  .pbd{padding-top:1rem}
  .counter__s{font-size:1.2rem}
  .counter__lists{grid-template-columns:1fr}
  .pbd__ans{gap:.7rem;align-content:start}
  .pbd__spec .facts{display:block;height:auto}
  .more{grid-template-columns:1fr;--mh:clamp(9rem,52vw,14rem)}
  .more__i{grid-template-rows:auto auto}
  .more__i .frame{height:var(--mh)}
}
