/* The box to buy, where the hero's shelf of spines stood. The words are the drop page's own: "Order the box." and "$69
   plus shipping". Every piece's room is fixed before anything loads (each picture sits in a frame of set proportions,
   the price's figures in a box of their own width), so nothing on the first screen moves when a picture or a face
   arrives. Only opacity and transform ever change. */
.hb{width:100%;display:grid;grid-template-columns:minmax(0,1fr);align-items:end}
.hb-h{font-family:var(--serif);font-weight:400;font-variation-settings:"opsz" 72;font-size:clamp(31px,8.4vw,40px);line-height:1;letter-spacing:-.024em;white-space:nowrap}
.hb-buy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:14px;row-gap:2px;margin-top:12px}
.hb-price{display:flex;align-items:flex-end;gap:7px;white-space:nowrap}
/* the drop's figures (Imbue), in a box of their own size: if the face is late, nothing beside or under them moves */
.hb-price b{display:block;width:.9em;height:.92em;font-family:"Imbue",var(--serif);font-weight:220;font-variation-settings:"opsz" 100;font-size:44px;line-height:.92em;letter-spacing:-.01em;overflow:visible}
.hb-price span{display:block;height:20px;line-height:20px;font-size:15px;color:var(--mute)}
/* the way in to the drop's box: the house's dark button, across the column, at the height of the drop's own */
.hb-go{margin-top:18px;min-height:52px;border-radius:26px}

/* ---------- the pieces, standing together as the drop's offer has them (cto-001/order.css), without the print ---------- */
.hb-pile{position:relative;display:block;width:100%;aspect-ratio:5/4;-webkit-tap-highlight-color:transparent}
.hb-pile img{position:absolute;display:block;width:auto;max-width:none}
.hb-pile .p-comic{right:7%;bottom:31%;height:58%;transform:rotate(5deg);box-shadow:0 1px 2px rgba(42,12,26,.14),0 14px 22px -12px rgba(42,12,26,.34)}
.hb-pile .p-bag{left:15%;bottom:6%;height:93%;filter:drop-shadow(0 12px 16px rgba(42,12,26,.18))}
.hb-pile .p-card{left:0;bottom:0;height:45%;transform:rotate(-6deg);box-shadow:0 1px 2px rgba(42,12,26,.14),0 14px 22px -12px rgba(42,12,26,.34)}
.hb-pile .p-tee{right:0;bottom:0;height:50%;transform:rotate(-3deg);filter:drop-shadow(0 12px 16px rgba(42,12,26,.18))}
.hb-pile .p-sticker{left:45%;bottom:1%;height:21%;transform:rotate(8deg);filter:drop-shadow(0 5px 7px rgba(42,12,26,.18))}

/* ---------- phones and narrow windows: under the wordmark, where "CTO 001, Mamuto AB" sat; the pieces beside the words,
   the button across ---------- */
@media (max-width:999px){
  .hero-side .hb{margin-top:14px;border-top:1px solid var(--rule);padding-top:12px;grid-template-columns:minmax(0,40%) minmax(0,1fr);column-gap:18px;align-items:center}
  .hb-pile{grid-column:1;grid-row:1}
  .hb-t{grid-column:2;grid-row:1}
  .hb-go{grid-column:1/-1;margin-top:12px}
  .hb-h{font-size:clamp(28px,7.6vw,40px)}
  .hb-price b{font-size:38px}
  .hb-buy{margin-top:8px}
}
@media (max-width:719px){
  .hero-side{padding-bottom:30px}
}

/* ---------- a desk: one column where the shelf stood, its button level with the foot of the name ---------- */
@media (min-width:1000px){
  /* the sum is sized by the window (css/sum.css), but the page's column stops at 1440 px: wider than that, the sum
     would leave the side no width at all. Here it's sized as at 1440 from there on, so the box keeps its room; at 1440
     and below it is exactly the size it always was */
  .hero-in{--w:min(calc(min(100vw,1440px) - 2 * var(--g) - 360px),calc((100svh - var(--top) - 118px) / .712))}
  .hero-side .hb{justify-self:stretch}
  .hb-pile{margin-bottom:26px;aspect-ratio:1/1}
  .hb-pile .p-bag{left:10%}
  .hb-pile .p-comic{right:4%}
  .hb-pile .p-tee{height:44%}
  .hb-h{font-size:clamp(34px,3.2vw,46px)}
}
