/* An object study extends to the edge of the larger sheet. A smaller letter
   crosses the print edge, held above it by an uncoated paper fold. */
.mt-leaf-spread.mt-edition-sheet {
  position:relative;display:grid;width:min(100%,1010px);
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:minmax(125px,18cqw) auto 25px;
  align-items:stretch;gap:0;padding:0;
  background:#f2ebde url('assets/episodes/montreal-envelope/ivory-stock.webp?v=2');
  background-size:650px;border:none;
  box-shadow:0 1px #c2b49e,0 9px 22px #372e2311;
  overflow:hidden;
}
.mt-leaf-image {
  position:relative;isolation:isolate;grid-area:1 / 4 / 3 / 13;
  overflow:hidden;min-height:420px;
  background:#e5d8c3;
}
.mt-leaf-image>img {
  position:absolute;display:block;max-width:none;height:auto;
}
.mt-leaf-copy {
  position:relative;z-index:1;grid-area:2 / 1 / 4 / 7;
  align-self:end;width:100%;box-sizing:border-box;
  padding:clamp(28px,4cqw,44px);
  color:#1a2c4a;
  background:#faf6ed url('assets/episodes/montreal-envelope/ivory-stock.webp?v=2');
  background-size:530px;
  box-shadow:0 -1px #fffdf8,10px 5px 28px #30271e20;
}
.mt-leaf-location {
  margin:0 0 12px;color:#465470;
  font:600 10px/1.45 P4PFolioBody,sans-serif;
  letter-spacing:.14em;text-transform:uppercase;
}
.mt-leaf-copy h3 {
  margin:0 0 17px;font:400 clamp(31px,4.65cqw,53px)/.99 Georgia,serif;
  letter-spacing:-.048em;text-wrap:balance;
}
.mt-leaf-body {
  margin:0;color:#303641;font:400 clamp(15px,1.41cqw,17px)/1.53 Arial,sans-serif;
  text-wrap:pretty;
}
.mt-leaf-spread[data-detail=cloth] .mt-leaf-image {
  background:linear-gradient(130deg,#162648,#062153 58%,#071637);
}
.mt-leaf-spread[data-detail=cloth] .mt-leaf-image>img {
  left:66%;top:59%;width:193%;transform:translate(-49.6%,-75.5%) rotate(-10deg);
}
.mt-leaf-spread[data-detail=balloon] .mt-leaf-image {
  background:linear-gradient(135deg,#e0d3bf,#f7eee0 66%,#e0d2bf);
}
.mt-leaf-spread[data-detail=balloon] .mt-leaf-image>img {
  top:0;left:0;width:115%;height:100%;object-fit:cover;object-position:50% 47%;
  filter:drop-shadow(12px 11px 14px #6b5b4635);
}
.mt-leaf-spread[data-detail=band] .mt-leaf-image {
  grid-column:1 / 10;
  background:linear-gradient(138deg,#e3d5bf,#f6ecdc 63%,#d9c7ad);
}
.mt-leaf-spread[data-detail=band] .mt-leaf-image>img,
.mt-leaf-spread[data-detail=shoreline] .mt-leaf-image>img {
  inset:0;width:100%;height:100%;object-fit:cover;
}
.mt-leaf-spread[data-detail=band] .mt-leaf-copy {
  grid-column:7 / 13;
  box-shadow:0 -1px #fffdf8,-10px 5px 28px #30271e20;
}
.mt-leaf-spread[data-detail=letter] .mt-leaf-image {
  background:#eaddc9 url('assets/episodes/montreal-envelope/current-impression.svg') center 63%/115% auto no-repeat;
}
.mt-leaf-letter {
  position:absolute;left:65%;top:47%;width:320px;height:320px;
  transform:translate(-50%,-50%) rotate(-12deg) scale(.94);
  filter:drop-shadow(0 8px 8px #46351d27);
}
.mt-leaf-spread[data-detail=shoreline] .mt-leaf-image {
  background:#dfd9ce;
}
.mt-leaf-spread[data-detail=shoreline] .mt-leaf-image>img {
  object-position:center 76%;
  filter:url(#mt-shoreline-ink);
}
.mt-shoreline-filter {
  position:absolute;
  pointer-events:none;
}
.mt-shoreline-credit {
  grid-area:3 / 7 / 4 / 13;
  align-self:center;
  margin:0;
  padding:3px 13px;
  color:#4d5669;
  text-align:right;
  font:400 10px/1.4 P4PFolioBody,Arial,sans-serif;
}
.mt-shoreline-credit a {
  color:inherit;
  text-underline-offset:2px;
}
@media(max-width:700px){
  .mt-leaf-spread.mt-edition-sheet {
    grid-template-columns:repeat(12,minmax(0,1fr));
    grid-template-rows:150px 27px auto;
  }
  .mt-leaf-spread .mt-leaf-image,
  .mt-leaf-spread[data-detail=band] .mt-leaf-image {
    grid-area:1 / 1 / 3 / 13;min-height:0;
  }
  .mt-leaf-spread .mt-leaf-copy,
  .mt-leaf-spread[data-detail=band] .mt-leaf-copy {
    grid-area:2 / 1 / 4 / 13;
    align-self:end;width:auto;margin:0 10px;
    padding:17px 16px 19px;
    box-shadow:0 -1px #fffdf8,1px 3px 12px #30271e20;
  }
  .mt-leaf-copy h3 {margin-bottom:10px}
  .mt-leaf-location {margin-bottom:7px;font-size:9px}
  .mt-leaf-body {line-height:1.5}
  .mt-leaf-spread[data-detail=cloth] .mt-leaf-image>img {left:58%;width:162%}
  .mt-leaf-spread[data-detail=balloon] .mt-leaf-image>img {left:0;width:100%;object-position:center 57%}
  .mt-leaf-spread[data-detail=band] {
    grid-template-rows:clamp(168px,51vw,225px) 24px auto;
  }
  .mt-leaf-spread[data-detail=band] .mt-leaf-image>img {object-position:center 76%}
  .mt-leaf-spread[data-detail=shoreline] {
    grid-template-rows:auto auto auto;
  }
  .mt-leaf-spread[data-detail=shoreline] .mt-leaf-image {
    grid-area:1 / 1 / 2 / 13;
    aspect-ratio:1.65;
  }
  .mt-leaf-spread[data-detail=shoreline] .mt-leaf-copy {
    grid-area:2 / 1 / 3 / 13;
    margin:0;
    box-shadow:none;
  }
  .mt-shoreline-credit {
    grid-area:3 / 1 / 4 / 13;
    padding:4px 16px 12px;
    text-align:left;
  }
  .mt-leaf-letter {left:58%;top:48%;transform:translate(-50%,-50%) rotate(-12deg) scale(.52)}
}
