/* Product page: one print beside its partner, then the shared-feature window. */

/* head: title block at upper left, stamp in the right margin */
.head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:1.5rem;margin:0 0 clamp(1.75rem,3.5vw,2.75rem);
}
.head__text{max-width:40rem;min-width:0}
.head h1{max-width:none;margin-bottom:0.45rem}
.head__tail{display:block;font-size:0.55em;line-height:1.2;margin-top:0.25rem}
.kind{margin:0 0 0.6rem;font-weight:500;font-size:var(--t-0)}
.head__line{font-size:var(--t-1);line-height:1.45;margin:0 0 1.1rem;max-width:34rem}
.head__act{display:flex;flex-wrap:wrap;align-items:center;gap:0.8rem 1.25rem}
.head__note{font-size:var(--t--1)}
.head__stamp{--size:6.75rem;flex:none;margin:0.4rem 0.9rem 0 0}

/* the pair: chosen print large on one side, partner across the gutter */
.duo{
  display:grid;align-items:center;
  grid-template-columns:minmax(0,1.6fr) var(--pair-gap) minmax(0,1fr);
  grid-template-areas:"main note mate";
  margin:0 0 clamp(2.5rem,5vw,4rem);
}
.duo--flip{
  grid-template-columns:minmax(0,1fr) var(--pair-gap) minmax(0,1.6fr);
  grid-template-areas:"mate note main";
}
.duo--tall{grid-template-columns:minmax(0,1fr) var(--pair-gap) minmax(0,1.5fr)}
.duo--tall.duo--flip{grid-template-columns:minmax(0,1.5fr) var(--pair-gap) minmax(0,1fr)}
.duo--solo,.duo.duo--solo.duo--flip{grid-template-columns:minmax(0,1.6fr);grid-template-areas:"main"}
.duo__main{grid-area:main}
.duo__mate{grid-area:mate}
.duo .pair__note{grid-area:note}
.duo .mount img{width:100%;height:auto}

/* the shared-feature window: two crops, one narrow mint gutter, one outline */
.viewer{margin:0 0 clamp(2.5rem,5vw,4rem)}
.window{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0.5rem;max-width:56rem;
}
.window img{width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;object-position:50% 50%}
.window__cap{margin:0.8rem 0 0;font-size:var(--t-0);max-width:34rem}
.crop-along-the-locks,.crop-winter-stems{object-position:50% 50%}
.crop-brick-after-rain,.crop-creek-after-rain{object-position:50% 66%}
.crop-between-two-buildings{object-position:50% 38%}
.crop-milkweed-at-the-edge{object-position:36% 46%}

/* reading: lead and body left, the table across the gutter */
.read{align-items:start;margin:0 0 clamp(2rem,4vw,3rem);row-gap:2rem}
.read__text{grid-column:1 / span 5}
.read__specs{grid-column:6 / span 5;padding-left:clamp(0rem,2vw,2rem)}
.lead{font-size:var(--t-1);line-height:1.5}
.spec{width:100%;border-collapse:collapse;font-size:var(--t-0)}
.spec th,.spec td{
  text-align:left;vertical-align:top;padding:0.7rem 0.75rem 0.7rem 0;
  border-top:var(--rule) solid var(--ink);
}
.spec th{width:40%;font-weight:700}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:var(--rule) solid var(--ink)}

.close{margin:clamp(2rem,4vw,3rem) 0 0;font-size:var(--t-1);max-width:38rem}

/* phones: the pair stacks, the gutter becomes a caption line between the two */
@media (max-width:47.99rem){
  .head__stamp{--size:5.25rem;font-size:0.75rem;margin-right:0.4rem}
  .duo,.duo.duo--flip,.duo.duo--tall,.duo.duo--tall.duo--flip,.duo.duo--solo{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"main" "note" "mate";
    row-gap:1.1rem;
  }
  .duo--tall .duo__main{max-width:20rem}
  .duo .pair__note{text-align:left;padding:0}
  .window img{aspect-ratio:3/4}
  .read__text,.read__specs{grid-column:1 / -1}
  .read__specs{padding-left:0}
}
