/* Allied Decorations Co · about.css — the lid of the crate. Chrome and shared pieces stay in site.css. Desk first; narrower screens take away in max-width queries (rem). */
:root { --mark-width: 9.5rem; --lid-rule: .25rem; }

/* allhp — the about head panel: words top left, up/down lines below, van photograph right; allht — the words */
.allhp {
  flex: 1; display: grid; gap: 1.5rem 2.25rem; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto 1fr;
}
.allht { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 1.1rem; }
.allhp .allds { grid-area: 2 / 1; grid-template-columns: 1fr; gap: 1rem; align-self: end; }
.allhp .allph { grid-area: 1 / 2 / 3 / 3; align-self: stretch; min-height: 20rem; }

/* allld — the crate lid panel; allmr a list of marked rows, allmg the drawn handling mark, allms the owner's sentence */
.allld .alltx { margin: .9rem 0 1.5rem; }
.allmr { list-style: none; margin: 0; padding: 0; }
.allmr li {
  display: grid; grid-template-columns: var(--mark-width) minmax(0, 1fr); gap: 1rem 2.25rem;
  align-items: center; padding-block: 1.25rem; border-top: var(--lid-rule) double var(--brass);
}
.allmr li:last-child { border-bottom: var(--lid-rule) double var(--brass); }
.allmg {
  display: block; box-sizing: border-box; width: var(--mark-width); height: var(--mark-width); padding: .75rem;
  fill: none; stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  box-shadow: inset 0 0 0 .1875rem var(--brass), inset 0 0 0 .4375rem var(--crate), inset 0 0 0 .5rem var(--brass);
}
.allmg text { fill: var(--brass); stroke: none; font: 400 11.5px var(--packing-slip); text-anchor: middle; }
.allms { margin: 0; font: 300 clamp(1.5rem, 2.4vw, 2.125rem)/1.12 var(--stencil); color: var(--chalk); }
.allms b { font-weight: 800; }

/* allhw — how a job runs: the six steps in two columns across the panel */
.allhw .alltx { margin: .9rem 0 1.5rem; }
.allhw .allsp { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: start; }
.allhw .allsp li { align-content: start; }
.allhw .allsp b { font-weight: 700; }

/* allrf — what we refuse: heading left, four flat sentences right */
.allrf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; align-items: start; }
.allrf .alltx { margin-top: .9rem; }
.allrf ul { list-style: none; margin: 0; padding: 0; }
.allrf li {
  padding-block: .95rem; border-top: var(--lid-rule) double var(--brass);
  font: 300 clamp(1.375rem, 2vw, 1.75rem)/1.15 var(--stencil);
}
.allrf li:last-child { border-bottom: var(--lid-rule) double var(--brass); }
.allrf li b { font-weight: 800; }

/* alltr — the lobby tree: matted photograph beside its paragraph */
.alltr { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.alltr .allph { align-self: center; }
.alltr .allhs { margin-bottom: 1rem; }

/* allhf — the hand-off: the sentence and link left, the call button and list link right */
.allhf { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.allhf .alltx { margin-top: .9rem; }
.allhf > div:last-child { display: grid; gap: 1rem; }
.allhf .allbt { width: 100%; }

/* the pinned offer stands on its own solid ground on this page: the long panels here run beneath it */
.allst { background: var(--crate); border-radius: 50%; }
@media (min-width: 56.0625rem) {
  .allpr {
    box-sizing: border-box; padding: .5rem;
    background: var(--crate); border: var(--hairline) solid var(--brass);
  }
  .allpt { margin-right: 0; }
}

@media (max-width: 56rem) {
  .allhp { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .allht, .allhp .allds, .allhp .allph { grid-area: auto; }
  .allhp .allph { min-height: 0; }
  .allhp .allph img { height: auto; aspect-ratio: 3 / 2; flex: none; }
  .allmr li { grid-template-columns: minmax(0, 1fr); gap: .9rem; padding-block: 1.1rem; }
  .allhw .allsp { grid-template-columns: minmax(0, 1fr); }
  .allrf, .alltr, .allhf { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
