/* Allied Decorations Co · takedown.css — the head label, the season strip and the slips of the take-down page. Desk first, narrower screens take things away in rem queries. */

/* allrm — body class of this page (removal); keeps the first slip filling its screen */
.allrm .allop > .allhp { flex: 1; }

/* allpr — the pinned offer stands on its own solid plate on this page, so the steps and the fixings rows pass beneath it;
   allpw (the stamp row), allst (the stamp) and its two lines of lettering allsr, allsc all carry that same opaque crate ground.
   The stamp's ground is left square so it lies behind every corner of the lettering; the round brass rim is drawn by the stamp itself. */
.allpr { background-color: var(--crate); isolation: isolate; }
.allpw { background-color: var(--crate); }
.allst { background-color: var(--crate); border-radius: 0; }
.allsr, .allsc { background-color: var(--crate); }
@media (min-width: 56.0625rem) {
  .allpr {
    box-sizing: border-box; padding: .6rem .5rem .5rem;
    background-color: var(--crate); border: var(--hairline) solid var(--brass);
  }
  .allpt { margin-right: 0; }
}

/* allhp — the head label: crate-label grid with the tall crate photograph in a third column */
.allhp {
  grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 36%);
  grid-template-rows: 1fr auto;
}
.allhp .allhl { margin-bottom: 1.25rem; }
.allhp .alltx { margin-bottom: 1.5rem; }
.allhp .allph { grid-column: 3; grid-row: 1 / 3; align-self: stretch; }
.allhp .allds { grid-column: 1 / 3; grid-row: 2; align-self: end; }

/* allsl — a slip of this page: head and body in a grid; alltw — two columns; allfx — the fixings slip, photograph left */
.allsl { display: grid; gap: 1.25rem 2.5rem; align-content: start; }
.alltw { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: start; }
.allfx { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.allsl .alltx { max-width: 72ch; }
.allsl .allhs { margin-bottom: .25rem; }
.allsl .allph { align-self: stretch; }
.allsl .allph img { min-height: 18rem; }
/* allwn — the single blank line inside the steps head */
.allwn { grid-template-columns: 1fr; }

/* allbx — the three season buttons in one tidy row */
.allbx { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin: .25rem 0 .5rem; }
.allbx .allbt { min-width: 11rem; }
.allbx .allbt.picked {
  color: var(--brass);
  box-shadow: inset 0 0 0 .0625rem var(--brass), inset 0 0 0 .3125rem var(--slip), inset 0 0 0 .5rem var(--brass);
}

/* allyb — the year bar: one long double-ruled bar; allmn the twelve month labels; allbd the 24 half-month columns */
.allyb {
  padding: .875rem .875rem .75rem; border: var(--hairline) solid var(--brass); background: var(--crate);
  box-shadow: inset 0 0 0 .25rem var(--crate), inset 0 0 0 .3125rem var(--brass);
}
.allmn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-bottom: .5rem; font: 400 .9rem/1.2 var(--packing-slip); }
.allmn span { padding: .15rem 0 .15rem .4rem; border-left: var(--hairline) solid var(--brass); }
.allbd { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); grid-template-rows: 5rem; }

/* allgr — one season's spans; only the shown one stands on the bar */
.allgr { display: none; }
.allgr.shown { display: contents; }

/* allsn — a marked span on the bar; allup brass outline, alldw (from site.css) the fir plate, allsh woven claret; allnr — a narrow one */
.allsn {
  grid-row: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 .25rem; overflow: hidden; white-space: nowrap;
  font: 700 1.25rem/1.1 var(--stencil); color: var(--chalk);
}
.allup { background: var(--crate); color: var(--brass); box-shadow: inset 0 0 0 .1875rem var(--brass); }
.allsh { background: var(--claret) var(--twill-weave); box-shadow: inset 0 0 0 .0625rem var(--brass); }
.allsn.alldw { box-shadow: inset 0 0 0 .0625rem var(--brass), inset 0 0 0 .3125rem var(--fir), inset 0 0 0 .375rem var(--brass); }
.allnr { padding: 0 .1rem; }

/* allsy — the sentence under the strip; allky — the key to the three marks */
.allsy { margin-top: .5rem; font-size: 1.1875rem; }
.allky { margin: 0; font-size: .95rem; line-height: 1.6; }

/* allwl — short rows, a stencil label then its line, a double rule above each */
.allwl { margin: 0; }
.allwl > div {
  display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .5rem 1.25rem;
  padding: .9rem 0; border-top: .25rem double var(--brass);
}
.allwl dt { font: 800 1.5rem/1.1 var(--stencil); color: var(--brass); }
.allwl dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.allfx .allwl { margin-top: .5rem; }

/* allnx — the hand-off: two linked panels side by side; allnl one of them */
.allnx { display: grid; grid-template-columns: 1fr 1fr; gap: var(--crate-gap); }
.allnl { display: grid; gap: .6rem; align-content: start; min-height: 11rem; color: var(--chalk); text-decoration: none; }
.allnl .allno { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.allnl .alltx { margin: 0; }
.allnl:hover .allhs, .allnl:focus-visible .allhs { text-decoration: underline double var(--brass); text-underline-offset: .15em; }

/* ================= NARROWER ================= */
@media (max-width: 56rem) {
  .allhp, .alltw, .allfx, .allnx { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .allhp > * { grid-column: 1; grid-row: auto; }
  .allhp .allph { order: 2; height: 22rem; }
  .allhp .allds { order: 3; }
  .allhp .allno { font-size: 2.25rem; }
  .allsl { gap: 1.25rem; }
  .allnl { min-height: 0; }
}
@media (max-width: 40rem) {
  .allbx .allbt { flex: 1 1 100%; }
  .allyb { padding: .625rem; }
  .allmn span { writing-mode: vertical-rl; padding: .4rem .15rem .4rem .3rem; }
  .allbd { grid-template-rows: 7rem; }
  .allsn { writing-mode: vertical-rl; padding: .3rem 0; font-size: 1rem; }
  .allnr { font-size: 0; }
  .allwl > div { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem .9rem; }
  .allwl dt { font-size: 1.25rem; }
  .allsy { font-size: 1.0625rem; }
}
