/* =============================================================================
   HowMuch: the content pages' drawings and motion, on style.css's tokens.
   Each cost page's trade (guide.html), the house of trades on the hub
   (guide_hub.html), how a price is built (how_we_price.html), three bids
   side by side (compare_bids.html) and the 404 (error.html), and the trade,
   the house, the house from the street or a commercial space on an estimate
   (estimate.html, after its first paint). Loaded
   by those pages only, after style.css and guides.css (est.css on an estimate).

   The drawings are inline SVG (CSP: no style="" anywhere), generated by
   tools/illo/build.py from tools/illo/content.py; colour is here only. The
   home page's world: true isometric, a foot a unit, light from the upper
   left, every wall cut and its cut drawn navy. Materials in four tones (top,
   left, right, and an edge in the darkest); the parts stand first on a
   dashed navy footprint. Brass marks only what an estimate prices: hatch for
   an area, a line for a length, a pin at each, labelled with the quantity
   the headline sample's line prices (the engine's own text, in the HTML).

   Motion: transform, opacity and stroke-dashoffset only. The CSS at rest is
   the last frame: keyframes only say where a part comes from, so reduced
   motion, no JavaScript or print show every drawing whole. One play per
   drawing when a third of it is seen (motion.js), held off screen and in a
   hidden tab. Nothing loops; the only idle is the first pin ringing three
   times. No figure is ever hidden or counted: every number is the server's
   text from the first frame.
   ========================================================================== */

/* ---------- colour ---------- */
.ct :where(svg) :where(path, rect, circle, ellipse) { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ct [pathLength], .hw [pathLength] { vector-effect: none; stroke-dasharray: 1; }
.ct .cut { fill: #0f2f4f; stroke: #0f2f4f; stroke-width: .6; }
.ct .cut2 { fill: #1b4470; stroke: #1b4470; stroke-width: .6; }
/* materials: top, left, right faces; edge in the darkest shade */
.ct :is(.oa1, .oa2, .oa3, .oa4, .oa5) { stroke: #86603a; stroke-width: .5; }
.ct .oa1 { fill: #d3ab7b; } .ct .oa2 { fill: #c19463; } .ct .oa3 { fill: #a77b4c; }
.ct .oa4 { fill: #cba174; } .ct .oa5 { fill: #dab687; }
.ct :is(.qz1, .qz2, .qz3) { stroke: #b9b2a6; stroke-width: .5; }
.ct .qz1 { fill: #f6f4f0; } .ct .qz2 { fill: #e7e3dc; } .ct .qz3 { fill: #d6d1c8; }
.ct :is(.ti1, .ti2, .ti3) { stroke: #bdb6aa; stroke-width: .4; }
.ct .ti1 { fill: #f3f1ec; } .ct .ti2 { fill: #e2dfd8; } .ct .ti3 { fill: #cfcbc2; }
.ct .gr { fill: #cfc8bb; }
.ct .grl { fill: none; stroke: #c2bbad; stroke-width: .8; }
.ct :is(.cn1, .cn2, .cn3) { stroke: #8a8479; stroke-width: .5; }
.ct .cn1 { fill: #d6d2ca; } .ct .cn2 { fill: #bdb8ae; } .ct .cn3 { fill: #a49e93; }
.ct :is(.fl1, .fl2, .fl3) { stroke: #9fb6c6; stroke-width: .5; }
.ct .fl1 { fill: #e4edf2; } .ct .fl2 { fill: #c9dbe6; } .ct .fl3 { fill: #b3cbdb; }
.ct .fls { fill: none; stroke: #9fb6c6; stroke-width: .7; stroke-dasharray: 3 2; }
.ct :is(.cb1, .cb2, .cb3) { stroke: #2f465d; stroke-width: .5; }
.ct .cb1 { fill: #5d7a96; } .ct .cb2 { fill: #4d6a86; } .ct .cb3 { fill: #3d5873; } .ct .cb4 { fill: #2f465d; }
.ct .cbs { fill: none; stroke: rgb(255 255 255 / .3); stroke-width: 1; }
.ct :is(.wh1, .wh2, .wh3) { stroke: #c7c1b5; stroke-width: .5; }
.ct .wh1 { fill: #fbfaf7; } .ct .wh2 { fill: #efece5; } .ct .wh3 { fill: #dedad1; }
.ct .whs { fill: none; stroke: rgb(15 47 79 / .18); stroke-width: .8; }
.ct :is(.wl1, .wl2, .wl3) { stroke: #c4bcad; stroke-width: .5; }
.ct .wl1 { fill: #f4f1ea; } .ct .wl2 { fill: #ebe5da; } .ct .wl3 { fill: #dcd5c7; }
.ct :is(.sc1, .sc2, .sc3) { stroke: #b9ae9b; stroke-width: .5; }
.ct .sc1 { fill: #ece6da; } .ct .sc2 { fill: #e4dccd; } .ct .sc3 { fill: #d3c9b6; }
.ct :is(.po1, .po2, .po3) { stroke: #b3a385; stroke-width: .5; }
.ct .po1 { fill: #e9ddc7; } .ct .po2 { fill: #e3d6bf; } .ct .po3 { fill: #d4c5aa; }
.ct :is(.pn1, .pn2, .pn3) { stroke: #4b667c; stroke-width: .5; }
.ct .pn1 { fill: #8eaabe; } .ct .pn2 { fill: #7f9cb2; } .ct .pn3 { fill: #6a879e; }
.ct :is(.sl1, .sl2, .sl3) { stroke: #8e98a2; stroke-width: .5; }
.ct .sl1 { fill: #e3e7ea; } .ct .sl2 { fill: #c9cfd5; } .ct .sl3 { fill: #aab2ba; }
.ct :is(.sd1, .sd2, .sd3) { stroke: #4c5660; stroke-width: .5; }
.ct .sd1 { fill: #8e98a2; } .ct .sd2 { fill: #76818c; } .ct .sd3 { fill: #606b76; }
.ct :is(.st1, .st2, .st3) { stroke: #9c7f53; stroke-width: .4; }
.ct .st1 { fill: #e3c99c; } .ct .st2 { fill: #d4b685; } .ct .st3 { fill: #bc9c6c; }
.ct :is(.gv1, .gv2, .gv3) { stroke: #737878; stroke-width: .5; }
.ct .gv1 { fill: #b9bcbc; } .ct .gv2 { fill: #a3a7a7; } .ct .gv3 { fill: #8b9090; }
.ct :is(.gs1, .gs2, .gs3) { stroke: #8fb0c2; stroke-width: .5; }
.ct .gs1 { fill: #dbe8ef; } .ct .gs2 { fill: #c8dce7; } .ct .gs3 { fill: #b3cddb; }
.ct :is(.vn1, .vn2, .vn3) { stroke: #c9c6bd; stroke-width: .5; }
.ct .vn1 { fill: #fdfdfb; } .ct .vn2 { fill: #f1f0ec; } .ct .vn3 { fill: #e1dfd9; }
.ct :is(.bs1, .bs2, .bs3) { stroke: #7a5a1e; stroke-width: .5; }
.ct .bs1 { fill: #d9b878; } .ct .bs2 { fill: #c9a96b; } .ct .bs3 { fill: #e9d7ae; }
.ct .bk1 { fill: #2c323a; }
.ct :is(.ct1, .ct2, .ct3) { stroke: #a98444; stroke-width: .5; }
.ct .ct1 { fill: #e4cfa3; } .ct .ct2 { fill: #d6bb84; } .ct .ct3 { fill: #c2a467; }
.ct :is(.cr2, .cr3) { stroke: #3d4650; stroke-width: .5; }
.ct .cr2 { fill: #66707b; } .ct .cr3 { fill: #545e69; }
.ct :is(.ply2, .ply3) { stroke: #a98a57; stroke-width: .4; }
.ct .ply2 { fill: #e2c99a; } .ct .ply3 { fill: #cfb27f; }
.ct .cp1 { fill: #ddd6c9; stroke: #c9c0b0; stroke-width: .5; }

/* details */
.ct .seam { fill: none; stroke: rgb(110 74 38 / .32); stroke-width: .6; }
.ct .oas { fill: none; stroke: rgb(110 74 38 / .45); stroke-width: .8; }
.ct .sh { fill: rgb(15 47 79 / .08); }
.ct .glt { fill: #fff; opacity: .55; }
.ct .glint { fill: #fff; opacity: .7; }
.ct .glz { fill: rgb(219 232 239 / .4); stroke: #8fb0c2; stroke-width: .8; }
.ct .glz-e { fill: none; stroke: #8fb0c2; stroke-width: 1; }
.ct .brh { fill: none; stroke: #c9a96b; stroke-width: 1.8; stroke-linecap: round; }
.ct .brh2 { fill: #c9a96b; }
.ct .brl { fill: none; stroke: #b8954f; stroke-width: 2.2; stroke-linecap: round; }
.ct .fct { fill: none; stroke: #a98444; stroke-width: 2; stroke-linecap: round; }
.ct .brn { fill: none; stroke: #3a414a; stroke-width: 1; }
.ct .tape { fill: #9db8d2; }
.ct .cloth { fill: #f6f3ec; stroke: #ddd6c8; stroke-width: .8; }
.ct .cloth-l { fill: none; stroke: rgb(15 47 79 / .09); stroke-width: .8; }
.ct .rim { fill: none; stroke: #8e98a2; stroke-width: .8; }
.ct .rlf { fill: none; stroke: #8e98a2; stroke-width: 1.5; stroke-linejoin: round; }
.ct .rlg { fill: none; stroke: #2b3644; stroke-width: 3.6; stroke-linecap: round; }
.ct .sky { fill: #e8f0f6; }
.ct .hill { fill: #d5e0e9; }
.ct .al1 { fill: #b5bcc3; stroke: #8e98a2; stroke-width: .5; } .ct .al2 { fill: #9aa3ab; }
.ct .glo { fill: #d3d9d6; }
.ct .cav { fill: #5b4c3d; }
.ct .dwe { fill: none; stroke: #fff; stroke-width: 1.4; }
.ct :is(.pex-c, .pex-h) { fill: none; stroke-width: .2; stroke-linecap: round; stroke-linejoin: round; }
.ct .pex-c { stroke: #4f86c0; } .ct .pex-h { stroke: #b24a3c; }
.ct :is(.pex2c, .pex2h) { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.ct .pex2c { stroke: #4f86c0; } .ct .pex2h { stroke: #b24a3c; }
.ct :is(.flow-c, .flow-h) { fill: none; stroke-width: .16; stroke-linecap: round; stroke-dasharray: .07 1.2; opacity: 0; }
.ct .flow-c { stroke: #eaf4fb; } .ct .flow-h { stroke: #fff1dc; }
.ct .cond { fill: none; stroke: #aab2ba; stroke-width: .24; stroke-linecap: round; }
.ct .cond2 { fill: none; stroke: #aab2ba; stroke-width: 2.6; stroke-linecap: round; }
.ct .df { fill: #eef0f2; stroke: #aab2ba; stroke-width: .6; }
.ct .tg { fill: #f4f6f7; }
.ct .lbl { fill: #fbfaf7; }
.ct .dial { fill: #fbfaf7; stroke: #606b76; stroke-width: 1; }
.ct .ndl { fill: #0f2f4f; }
.ct .gnd { fill: none; stroke: #a65c33; stroke-width: 2; stroke-linecap: round; }
.ct .gnd2 { fill: none; stroke: #c9794a; stroke-width: 1.1; }
.ct .bd-ttl { fill: #3a5f86; opacity: .8; }
/* a bid's lines read at a glance: the work in the set's blue, its amount in navy */
.ct .bd-rb { fill: #b7cde3; }
.ct .bd-ra { fill: #1b4470; }
.ct .bd-rl { fill: #0f2f4f; opacity: .6; }
.ct .bd-tot { fill: #0f2f4f; }
.ct .bd-tickp { fill: none; stroke: #a98444; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* a footprint: where a part will stand */
.ct .fp { fill: none; stroke: rgb(15 47 79 / .55); stroke-width: 1; stroke-dasharray: 4 3; }
/* takeoff: area (hatch in a dashed outline), length (a line), dimensions */
.ct .tk-f { fill: rgb(169 132 68 / .16); }
.ct .tk-h { fill: none; stroke: rgb(122 90 30 / .45); stroke-width: .8; }
.ct .tk-o { fill: none; stroke: #a98444; stroke-width: 1.3; stroke-dasharray: 5 3; }
.ct .tk-l { fill: none; stroke: #a98444; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ct .tk-d { fill: none; stroke: #a98444; stroke-width: .07; }
.ct .tk-dk { fill: none; stroke: #a98444; stroke-width: 1.2; }
/* outside (an estimate's house from the street): the yard's decomposed
   granite over its soil, the roof's felt and ridge cap */
.ct .yd1 { fill: #e6dcc6; stroke: #e6dcc6; stroke-width: .6; }
.ct .gd2 { fill: #a8916d; stroke: #a8916d; stroke-width: .6; } .ct .gd3 { fill: #8f7b5c; stroke: #8f7b5c; stroke-width: .6; }
.ct .ul { fill: #aab2ba; }
.ct .rdg { fill: none; stroke: #2f465d; stroke-width: 2.4; stroke-linecap: round; }
/* only the work's own takeoff mark is drawn (the root's second class) */
.ct .ex-mk, .of.ofa .of-ml { display: none; }
.exr .ex-mr, :is(.exp, .exs) .ex-mw, .exy .ex-my { display: inline; }
/* the parts that are gone by the last frame */
.ct :is(.pw-old, .pw-glint, .pt-roller, .pe-dc) { opacity: 0; }
.ct .bt-glint { opacity: 0; }

/* ---------- the stage and the HTML layer over it ---------- */
.ct { position: relative; }
/* An estimate's drawing (est.css) waits, empty, for this sheet; here it is. */
.est-art .ill.ct { visibility: visible; }
.ct-svg { display: block; width: 100%; height: auto; overflow: visible; }
/* A pin: its foot is the anchor; the head stands above it, the quantity the
   line prices beside the head (the home page's pin). */
.ct-pin { position: absolute; width: 0; height: 0; }
.ct-pin::before { content: ""; position: absolute; left: -.75px; bottom: 2px; width: 1.5px; height: 19px; background: var(--navy); }
.ct-pin::after { content: ""; position: absolute; left: -4.5px; top: -4.5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 2px var(--card); }
.ct-pin b { position: absolute; left: -13px; bottom: 20px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--navy); color: #fff; font: 700 12.5px/1 var(--sans);
  box-shadow: 0 0 0 2.5px var(--card), 0 6px 14px -6px rgb(10 36 64 / .7); transition: background-color .2s ease; }
.ct-pin em { position: absolute; left: 15px; bottom: 24px; padding: 4px 8px 4px 9px; border-radius: 0 999px 999px 0;
  background: var(--card); box-shadow: 0 1px 2px rgb(17 26 36 / .12), 0 6px 14px -8px rgb(10 36 64 / .5);
  font: 600 12px/1.15 var(--sans); font-style: normal; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, color .2s ease; }
.ct-pin i { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--brass); opacity: 0; }
/* a name, no number: the hub's pins */
.ct-pin.ct-name::before { height: 14px; }
.ct-pin.ct-name em { left: 0; bottom: 16px; transform: translateX(-50%); border-radius: 999px; padding: 4px 9px;
  background: var(--navy); color: #fff; box-shadow: 0 0 0 2px var(--card), 0 6px 14px -8px rgb(10 36 64 / .6); }
/* the pin and its line answer each other (motion.js lights both) */
.ct-pin.is-lit b { background: var(--brass-ink); }
.ct-pin.is-lit em { background: var(--brass-ink); color: #fff; }
.has-lit .ct-pin:not(.is-lit) { opacity: .4; transition: opacity .2s ease; }

/* ---------- a cost page's hero: the trade, the answer laid over its front ---------- */
/* A pin's label never pushes the page sideways. */
.g-hero:has(.ct) { overflow-x: clip; }
.ct-fig { position: relative; width: min(100%, 440px); }
.g-hero-art .g-ans { position: relative; z-index: 1; }
@media (max-width: 1099px) {
  .g-hero-art .ct-fig { margin-top: 4px; }
  .g-hero-art .g-ans { margin-top: -44px; }
  .g-hero-art .g-hero-lines { margin-top: 8px; }
}
/* From 1100px: the words over the lines on the left; the drawing over the
   answer on the right, the answer laid over the drawing's front. */
@media (min-width: 1100px) {
  .g-hero-in.g-hero-art { grid-template-columns: minmax(0, 1fr) var(--rail); grid-template-areas: "text fig" "lines ans";
    column-gap: var(--rail-gap); row-gap: 0; align-items: start; }
  /* The drawing reaches 64px into the gutter, under the answer's card, never
     under the words: they keep 48px clear of it, the answer about 75 characters a line. */
  /* The words keep to the foot of their row, over the lines; the trail
     above them stays at the row's top, so it is in one place on every page. */
  .g-hero-art .g-hero-text { grid-area: text; align-self: stretch; display: flex; flex-direction: column; padding-right: 48px; }
  .g-hero-art .g-hero-text > .g-crumbs { margin-bottom: auto; }
  .g-hero-art .g-answer { max-width: 34em; }
  .g-hero-art .ct-fig { grid-area: fig; width: calc(100% + 64px); margin: 0 0 0 -64px; }
  .g-hero-art .g-ans { grid-area: ans; margin-top: -58px; align-self: start; }
  .g-hero-art .g-hero-lines { grid-area: lines; }
}
/* A tablet (720-1099px): the drawing and the answer side by side under the
   words, so the most likely figure comes up with the drawing instead of a
   screen under it, and no half of the band is left empty. */
@media (min-width: 720px) and (max-width: 1099px) {
  .g-hero-in.g-hero-art.g-hero-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    grid-template-areas: "text text" "fig ans" "lines lines"; column-gap: 28px; row-gap: 0; align-items: center; }
  .g-hero-2.g-hero-art .g-hero-text { grid-area: text; margin-bottom: 18px; }
  .g-hero-2.g-hero-art .ct-fig { grid-area: fig; width: 100%; max-width: 440px; margin: 0; justify-self: center; }
  .g-hero-2.g-hero-art .g-ans { grid-area: ans; margin-top: 0; }
  .g-hero-2.g-hero-art .g-hero-lines { grid-area: lines; margin-top: 22px; }
}
@media (max-width: 479px) {
  .ct-pin b { width: 22px; height: 22px; left: -11px; bottom: 16px; font-size: 11px; }
  .ct-pin::before { height: 15px; }
  .ct-pin em { left: 12px; bottom: 18px; padding: 3px 7px 3px 8px; font-size: 11px; }
  .ct-pin.ct-name em { left: 0; bottom: 12px; padding: 3px 7px; font-size: 10.5px; }
}

/* The lines the pins mark, under the words (beside the answer from 1100px):
   number, the sample's description, the quantity it prices (brass), amount. */
.g-hero-lines { min-width: 0; margin-top: 26px; }
.g-hl-cap { margin: 0 0 6px; font-size: .875rem; color: var(--muted); }
.g-ans-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 640px; }
.g-ans-lines li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; column-gap: 14px;
  align-items: baseline; padding: 10px 8px; margin: 0 -8px; border-radius: 4px; transition: background-color .2s ease; }
/* The lit row's tint reaches 8px past the column; its rule stays the
   column's width, square, as long as the list's own rule over it. */
.g-ans-lines li::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; border-bottom: 1px solid var(--rule); }
.g-ans-lines .g-n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy);
  color: #fff; font: 700 11px/1 var(--sans); align-self: center; transition: background-color .2s ease; }
.g-ans-ln { font-size: .90625rem; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.g-ans-q { font: 600 .8125rem/1.4 var(--sans); color: var(--brass-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-ans-lines b { min-width: 4.2em; text-align: right; font-weight: 600; font-size: .90625rem; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-ans-lines li.is-lit { background: var(--tint-brass); }
.g-ans-lines li.is-lit .g-n { background: var(--brass-ink); }
@media (max-width: 559px) {
  .g-ans-lines li { grid-template-columns: 20px minmax(0, 1fr) auto; row-gap: 2px; }
  .g-ans-lines .g-n { grid-row: 1 / 3; align-self: start; }
  .g-ans-q { grid-column: 2; grid-row: 2; }
  .g-ans-lines b { grid-column: 3; grid-row: 1; }
}

/* ---------- the hub: the house, each trade where it happens ---------- */
.g-hero-hub .ct-fig { width: 100%; max-width: 600px; }
/* From 1100px: the words, then the card under them; the house beside both. */
@media (min-width: 1100px) {
  .g-hero-in.g-hero-hub { grid-template-columns: minmax(0, 1fr) minmax(0, 590px); grid-template-areas: "text fig" "ans fig";
    column-gap: 40px; row-gap: 28px; align-items: start; }
  .g-hero-hub .g-hero-text { grid-area: text; }
  .g-hero-hub .ct-fig { grid-area: fig; align-self: center; max-width: none; width: calc(100% + 40px); margin-right: -40px; }
  .g-hero-hub .g-ans { grid-area: ans; max-width: 420px; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .g-hero-in.g-hero-hub.g-hero-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 304px);
    grid-template-areas: "text text" "fig ans"; column-gap: 28px; align-items: center; }
  .g-hero-hub.g-hero-2 .g-hero-text { grid-area: text; }
  .g-hero-hub.g-hero-2 .ct-fig { grid-area: fig; justify-self: center; }
  .g-hero-hub.g-hero-2 .g-ans { grid-area: ans; }
}
/* Bathroom's name hangs under its pin, clear of Repipes' pin and name just
   above it (Repipes stands low on the open bay, so its name is clear of the
   wall's cut). */
.hb .ct-p2::before { top: 2px; bottom: auto; }
.hb .ct-p2 em { top: 12px; bottom: auto; }
/* Painting's pin stands on the bare blue right of the window; Windows' name
   sits a little to the right of its own pin so it never covers that pin. */
.hb .ct-p5 em { transform: translateX(-25%); }
/* each row of the table answers its trade's pin under the pointer */
.g-hub tbody tr.is-lit > * { background: var(--tint-brass); }

/* ---------- how we price: a price built as layers, to scale ---------- */
.hw { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 8px 22px; align-items: end; }
.hw-art { position: relative; }
.hw-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hw-cap { grid-column: 1 / -1; margin: 0 0 6px; font-size: .875rem; line-height: 1.5; color: var(--muted); max-width: none !important; }
.hw-cap a { color: var(--ink-2); }
.hw-list { list-style: none; margin: 0; padding: 0; font-size: .84375rem; }
.hw-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--rule-soft); }
/* each key sits on its name's first line, never the middle of a row a note makes two lines */
.hw-list li > i { width: 12px; height: 12px; border-radius: 2px; align-self: baseline; transform: translateY(1px); }
.hw-list span { color: var(--ink-2); line-height: 1.35; }
.hw-list small { display: block; margin-top: 1px; color: var(--muted); font-size: .78125rem; }
.hw-list b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hw-list .hw-sum { border-bottom: 0; padding-top: 10px; }
.hw-list .hw-sum span { font: 400 1.0625rem/1.2 var(--serif); color: var(--ink); }
.hw-list .hw-sum b { font-size: 1.125rem; color: var(--navy); letter-spacing: -.01em; }
.hw-list .hw-sum i { border-radius: 50%; background: var(--brass); width: 11px; height: 11px; transform: none; }
.hw-list .hw-rng { border-bottom: 0; padding-top: 0; }
.hw-list .hw-rng span, .hw-list .hw-rng b { color: var(--muted); font-weight: 500; }
.hw-list .hw-rng i { height: 10px; transform: none; background:
    linear-gradient(var(--navy) 0 0) 50% 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--navy) 0 0) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--navy) 0 0) 0 100% / 100% 1.5px no-repeat; border-radius: 0; }
/* the layers' faces: the money split's own key (style.css .cb-*) */
.hw-svg .hw-mat1 { --hw-c: #c9a96b; } .hw-svg .hw-mat2 { --hw-c: #b08d4f; } .hw-svg .hw-mat3 { --hw-c: #94743c; }
.hw-svg .hw-lab1 { --hw-c: #2a557f; } .hw-svg .hw-lab2 { --hw-c: #0f2f4f; } .hw-svg .hw-lab3 { --hw-c: #0a2440; }
.hw-svg .hw-cond1 { --hw-c: #5c7d9e; } .hw-svg .hw-cond2 { --hw-c: #3f6285; } .hw-svg .hw-cond3 { --hw-c: #30506f; }
.hw-svg .hw-coord1 { --hw-c: #d5dde7; } .hw-svg .hw-coord2 { --hw-c: #c3cedb; } .hw-svg .hw-coord3 { --hw-c: #a9b7c8; }
.hw-svg .hw-op1 { --hw-c: #86a1bb; } .hw-svg .hw-op2 { --hw-c: #6a88a6; } .hw-svg .hw-op3 { --hw-c: #57748f; }
.hw-svg .hw-con1 { --hw-c: #dcd4c4; } .hw-svg .hw-con2 { --hw-c: #cfc5b2; } .hw-svg .hw-con3 { --hw-c: #b9ae98; }
.hw-svg .hw-rnd1, .hw-svg .hw-rnd2, .hw-svg .hw-rnd3 { --hw-c: #e6e0d4; }
.hw-svg .hw-fee1 { --hw-c: #f4f7fa; } .hw-svg .hw-fee2 { --hw-c: #eef2f6; } .hw-svg .hw-fee3 { --hw-c: #dde5ee; }
.hw-svg .hw-l > path:not(.hw-hz) { fill: var(--hw-c); transition: fill .2s ease; }
.hw-svg .hw-l > path { stroke: rgb(255 255 255 / .55); stroke-width: .6; }
.hw-svg .hw-hatch { fill: none; stroke: #0f2f4f; stroke-width: 1; opacity: .55; }
.hw-svg .hw-base { fill: rgb(15 47 79 / .08); }
.hw-svg .hw-fp { fill: none; stroke: rgb(15 47 79 / .5); stroke-width: 1; stroke-dasharray: 4 3; }
.hw-svg .hw-dim { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.hw-svg .hw-tick { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.hw-svg .hw-lead { fill: none; stroke: rgb(15 47 79 / .35); stroke-width: 1; stroke-dasharray: 2 2; }
.hw-svg .hw-pt { fill: var(--brass); stroke: var(--card); stroke-width: 2.5; }
.hw-list .hw-mat { background: var(--accent-2); }
.hw-list .hw-lab { background: var(--accent); }
.hw-list .hw-cond { background: #3f6285; }
.hw-list .hw-coord { background: repeating-linear-gradient(-45deg, var(--navy) 0 1.5px, var(--s-coord) 1.5px 4.5px); }
.hw-list .hw-op { background: var(--s-op); }
.hw-list .hw-con { background: var(--s-con); }
.hw-list .hw-rnd { background: var(--s-rnd); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.hw-list .hw-fee { background: var(--tint-navy); box-shadow: inset 0 0 0 1.5px var(--s-fee-edge); }
/* Under the pointer the other layers pale toward the sheet: each face mixed
   with paper, still solid, so no face a layer hides shows through it. */
@supports (fill: color-mix(in srgb, red 50%, blue)) {
  .has-lit .hw-l:not(.is-lit) > path:not(.hw-hz) { fill: color-mix(in srgb, var(--hw-c) 35%, var(--paper-2)); }
}
.hw-svg .hw-hz { transition: opacity .2s ease; }
.has-lit .hw-l:not(.is-lit) > .hw-hz { opacity: .35; }
.hw-list li.is-lit { background: var(--tint-brass); }
@media (min-width: 1100px) {
  .g-hero-in.g-hero-how { grid-template-columns: minmax(0, 1fr) 500px; column-gap: 56px; align-items: center; }
  /* the trail at the row's top, as on every other page; the words centred
     beside the drawing under it */
  .g-hero-in:is(.g-hero-how, .g-hero-bids) > .g-hero-text { align-self: stretch; display: flex; flex-direction: column; }
  .g-hero-in:is(.g-hero-how, .g-hero-bids) > .g-hero-text > .g-crumbs { margin-bottom: auto; }
  .g-hero-in:is(.g-hero-how, .g-hero-bids) > .g-hero-text > :last-child { margin-bottom: auto; }
}
@media (max-width: 1099px) {
  .g-hero-how .hw { max-width: 560px; }
}
.hw-list .hw-rng b { white-space: normal; text-align: right; }
@media (max-width: 559px) {
  .hw { grid-template-columns: minmax(0, 116px) minmax(0, 1fr); column-gap: 16px; }
  /* the stack's top beside the list's top: the layers read down as the rows do */
  .hw-art { align-self: start; }
  .hw-list { font-size: .8125rem; }
  .hw-list li { column-gap: 8px; padding: 6px 0; }
  .hw-list small { display: none; }
  .hw-list .hw-sum span { font-size: 1rem; }
  .hw-list .hw-sum b { font-size: 1rem; }
  /* the range's two ends under its name, at the right like every other amount */
  .hw-list .hw-rng b { grid-column: 2 / -1; grid-row: 2; justify-self: end; text-align: right; }
}
@media (max-width: 359px) {
  .hw { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); column-gap: 12px; }
}

/* ---------- compare bids: three bids, one missing a line ---------- */
/* As large as a cost page's drawing: under the words on a phone or a small
   tablet, beside them from 900px. */
.g-hero-bids .ct-fig { max-width: 480px; }
@media (min-width: 900px) and (max-width: 1099px) {
  .g-hero-in.g-hero-bids { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 32px; align-items: center; }
}
@media (min-width: 1100px) {
  .g-hero-in.g-hero-bids { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: var(--rail-gap); align-items: center; }
  .g-hero-bids .ct-fig { width: calc(100% + 32px); max-width: none; margin-left: -32px; }
}
/* the missing line's mark lands, then its name */
.bd .bd-miss .tk-o { stroke-width: 1.6; }
.bd .ct-p1 { --pd: 1150ms; }

/* ---------- the 404 ---------- */
.nf-fig { width: min(260px, 70%); margin: 0 auto 8px; }
.nf .nf-o { stroke-width: 1.8; }

/* ---------- motion ---------- */
:root {
  --mo-out: cubic-bezier(.22, 1, .36, 1);       /* arrive: quick, then settle */
  --mo-click: cubic-bezier(.34, 1.36, .64, 1);  /* a part landing, 3-4% overshoot */
  --mo-io: cubic-bezier(.65, 0, .35, 1);        /* a tool travelling a surface */
}
@keyframes mo-fade { from { opacity: 0; } }
@keyframes mo-drop { from { opacity: 0; transform: translateY(-16px); } 55% { opacity: 1; } }
@keyframes mo-drop-s { from { opacity: 0; transform: translateY(-8px); } 55% { opacity: 1; } }
@keyframes mo-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes mo-pop { from { opacity: 0; transform: scale(.5); } 60% { opacity: 1; } }
@keyframes mo-wipe { from { transform: scaleX(0); } }
@keyframes mo-wipe-y { from { transform: scaleY(0); } }
@keyframes mo-draw { from { stroke-dashoffset: 1; } }
@keyframes mo-slide { from { opacity: 0; transform: translateX(-2.4px); } 40% { opacity: 1; } }
/* a row of planks clicks in along its length (feet: inside the floor's plane) */
@keyframes mo-slide-s { from { opacity: 0; transform: translateX(-.8px); } 40% { opacity: 1; } }
@keyframes mo-ring { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: .55; } 100% { opacity: 0; transform: scale(2.3); } }

/* parts that scale about their own box */
.ct :is(.ck-bs, .bt-ti, .fr-film, .pt-cloth, .pt-new, .rp-stub, .pe-dc, .pe-do, .hb-paint, .hb-win, .bt-mir, .nf-mark) {
  transform-box: fill-box; transform-origin: 0 50%; }
.ct :is(.bt-ti, .ck-bs) { transform-origin: 50% 100%; }
.ct :is(.rp-stub, .bt-mir, .hb-win, .nf-mark) { transform-origin: 50% 50%; }
.ct :is(.ex-ct, .ex-pk, .of-st, .of-gb) { transform-box: fill-box; transform-origin: 0 50%; }
.ct :is(.ex-pk, .of-st) { transform-origin: 50% 100%; }
.ct .pe-needle { transform-box: fill-box; transform-origin: 50% 100%; }

/* Off screen, held at its first frame until seen, held again when it leaves;
   a hidden tab holds everything. */
.mo .ill[data-play]:not(.run), .mo .ill[data-play]:not(.run) *, .mo .ill[data-play]:not(.run) *::before,
.mo .ill[data-play]:not(.run) *::after, .mo-hidden .ill, .mo-hidden .ill *, .mo-hidden .ill *::before,
.mo-hidden .ill *::after, .mo-hidden .hw-list li {
  animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  /* the room: shadow, plinth and floor, then the walls, then the work */
  .ct :is(.ck-sh, .bt-sh, .fr-sh, .pt-sh, .pw-sh, .rp-sh, .pe-sh) { animation: mo-fade 240ms var(--mo-out) both; }
  .ct :is(.ck-base, .bt-base, .fr-base, .pt-base, .pw-base, .rp-base, .pe-base) { animation: mo-rise 210ms var(--mo-out) both; }
  .ct :is(.ck-wall, .bt-wall, .fr-wall, .pt-wall, .pw-wall, .rp-wall, .pe-wall) {
    animation: mo-drop 200ms var(--mo-click) both calc(56ms + var(--i, 0) * 36ms); }
  .ct :is(.ck-fp, .bt-fp) { animation: mo-fade 200ms var(--mo-out) both 150ms; }
  /* pins: each drops when its mark lands, its quantity a beat later */
  .ct .ct-pin { animation: mo-drop 200ms var(--mo-click) both var(--pd, 800ms); }
  .ct .ct-pin em { animation: mo-fade 200ms var(--mo-out) both calc(var(--pd, 800ms) + 100ms); }
  /* the first pin rings once, as the last one lands: then nothing moves */
  .ct .ct-pin.ct-p1 i { animation: mo-ring 1600ms var(--mo-out) calc(var(--pd, 800ms) + 550ms) both; }

  /* kitchen, ~1.3 s: runs land on their footprints, counters, the backsplash
     row by row, the uppers; then the base run's length, the counters' area,
     the backsplash's area */
  .ck .ck-pl { animation: mo-slide-s 200ms var(--mo-out) both calc(80ms + var(--i, 0) * 10ms); }
  .ck .ck-cab { animation: mo-drop 200ms var(--mo-click) both calc(210ms + var(--i, 0) * 36ms); }
  .ck .ck-top { animation: mo-drop-s 200ms var(--mo-click) both calc(360ms + var(--i, 0) * 28ms); }
  .ck .ck-sink { animation: mo-fade 200ms var(--mo-out) both 500ms; }
  .ck .ck-bs { animation: mo-wipe-y 200ms var(--mo-out) both calc(500ms + var(--i, 0) * 44ms); }
  .ck .ck-up { animation: mo-drop 200ms var(--mo-click) both calc(600ms + var(--i, 0) * 36ms); }
  .ck .ck-tkl { animation: mo-draw 210ms var(--mo-io) both 780ms; }
  .ck .ck-tkc { animation: mo-fade 200ms var(--mo-out) both 900ms; }
  .ck .ck-tka { animation: mo-fade 200ms var(--mo-out) both 1020ms; }
  .ck .ct-p1 { --pd: 830ms; } .ck .ct-p2 { --pd: 950ms; } .ck .ct-p3 { --pd: 1070ms; }

  /* bathroom, ~1.3 s: tub, the shower walls tiled from the tub up, floor,
     vanity and toilet, mirror, brass, the glass; then the tile's area, the
     floor's area, the tub counted */
  .bt .bt-tub { animation: mo-drop 200ms var(--mo-click) both 210ms; }
  .bt .bt-ti { animation: mo-wipe-y 200ms var(--mo-out) both calc(330ms + var(--i, 0) * 36ms); }
  .bt .bt-fl { animation: mo-fade 200ms var(--mo-out) both 240ms; }
  .bt .bt-fix { animation: mo-drop 200ms var(--mo-click) both calc(420ms + var(--i, 0) * 48ms); }
  .bt .bt-mir { animation: mo-pop 200ms var(--mo-click) both 540ms; }
  .bt .bt-brass { animation: mo-fade 200ms var(--mo-out) both 600ms; }
  @keyframes bt-glint { 0% { opacity: 0; transform: translateX(-1.2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(1.4px); } }
  .bt .bt-glint { animation: bt-glint 280ms var(--mo-io) both 620ms; }
  @keyframes bt-slide { from { opacity: 0; transform: translateX(-10px); } 60% { opacity: 1; } }
  .bt .bt-glass { animation: bt-slide 200ms var(--mo-out) both 680ms; }
  .bt .bt-tka { animation: mo-fade 200ms var(--mo-out) both 800ms; }
  .bt .bt-tkf { animation: mo-fade 200ms var(--mo-out) both 920ms; }
  .bt .ct-p1 { --pd: 840ms; } .bt .ct-p2 { --pd: 960ms; } .bt .ct-p3 { --pd: 1080ms; }

  /* flooring, ~1.3 s: the barrier unrolls over the slab, plank rows click in
     from the back wall, molding; then the barrier's area, the planks', the
     molding's length */
  .fr .fr-film { animation: mo-wipe 280ms var(--mo-io) both 150ms; }
  .fr .fr-row { animation: mo-slide-s 200ms var(--mo-click) both calc(330ms + var(--i, 0) * 24ms); }
  .fr .fr-edge { animation: mo-fade 200ms var(--mo-out) both 520ms; }
  .fr .fr-mold { animation: mo-drop-s 200ms var(--mo-click) both 590ms; }
  .fr .fr-ctn { animation: mo-drop 200ms var(--mo-click) both 620ms; }
  .fr .fr-tkf { animation: mo-fade 200ms var(--mo-out) both 740ms; }
  .fr .fr-tkp { animation: mo-fade 200ms var(--mo-out) both 860ms; }
  .fr .fr-tkl { animation: mo-draw 210ms var(--mo-io) both 960ms; }
  .fr .ct-p1 { --pd: 780ms; } .fr .ct-p2 { --pd: 900ms; } .fr .ct-p3 { --pd: 1060ms; }

  /* painting, ~1.5 s: drop cloth, tray and cans, tape; the roller crosses
     the wall in three strokes and the new colour follows it; then the walls'
     area, the trim's length, the door counted */
  .pt .pt-pl { animation: mo-slide-s 200ms var(--mo-out) both calc(80ms + var(--i, 0) * 10ms); }
  .pt .pt-cloth { animation: mo-wipe 210ms var(--mo-io) both 170ms; }
  .pt .pt-bb { animation: mo-drop-s 200ms var(--mo-click) both 210ms; }
  .pt .pt-kit { animation: mo-drop 200ms var(--mo-click) both calc(280ms + var(--i, 0) * 36ms); }
  .pt .pt-roller { animation: pt-roll 600ms linear both 380ms; }
  .pt .pt-new { animation: mo-wipe 520ms linear both 420ms; }
  .pt .pt-tka { animation: mo-fade 200ms var(--mo-out) both 1000ms; }
  .pt .pt-tkl { animation: mo-draw 210ms var(--mo-io) both 1060ms; }
  .pt .ct-p1 { --pd: 1020ms; } .pt .ct-p2 { --pd: 1140ms; } .pt .ct-p3 { --pd: 1240ms; }

  /* windows, ~1.3 s: the opening measured, the old aluminium slider out, the
     new vinyl in, a glint across the glass; then it's counted */
  .pw .pw-pl { animation: mo-slide-s 200ms var(--mo-out) both calc(80ms + var(--i, 0) * 10ms); }
  .pw .pw-sill { animation: mo-drop 200ms var(--mo-click) both 56ms; }
  .pw .pw-bench { animation: mo-drop 200ms var(--mo-click) both 190ms; }
  .pw .pw-dim { animation: mo-draw 210ms var(--mo-io) both 280ms; }
  .pw .pw-dim + .pw-dim { animation-delay: 380ms; }
  .pw .pw-tick { animation: mo-fade 200ms var(--mo-out) both 460ms; }
  /* the old slider is in its wall when the wall lands, then leaves */
  .pw .pw-old { animation: pw-out 720ms var(--mo-io) both 56ms; }
  .pw .pw-new { animation: pw-in 220ms var(--mo-click) both 740ms; }
  @keyframes pw-glint { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(4.4px); } }
  .pw .pw-glint { animation: pw-glint 320ms var(--mo-io) both 940ms; }
  .pw .ct-p1 { --pd: 1020ms; }

  /* repipe, ~1.2 s: the bay open on its studs, the old galvanized pipe out
     on the floor, cold and hot PEX drawn through the studs, stubs capped,
     water once through each; then the fixtures counted, the patch's area */
  .rp .rp-old { animation: mo-drop 200ms var(--mo-click) both 190ms; }
  .rp .rp-cold { animation: mo-draw 360ms var(--mo-io) both 290ms; }
  .rp .rp-hot { animation: mo-draw 360ms var(--mo-io) both 350ms; }
  .rp .rp-show { animation: mo-draw 200ms var(--mo-out) both 620ms; }
  .rp .rp-stub { animation: mo-pop 200ms var(--mo-click) both calc(660ms + var(--i, 0) * 36ms); }
  .rp .rp-head { animation: mo-pop 200ms var(--mo-click) both 760ms; }
  @keyframes rp-flow { 0% { opacity: 0; stroke-dashoffset: .07; } 10%, 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1; } }
  .rp .rp-flowc { animation: rp-flow 360ms linear both 800ms; }
  .rp .rp-flowh { animation: rp-flow 360ms linear both 860ms; }
  .rp .rp-tka { animation: mo-fade 200ms var(--mo-out) both 960ms; }
  .rp .ct-p1 { --pd: 900ms; } .rp .ct-p2 { --pd: 1000ms; }

  /* electrical panel, ~1.5 s: conduit and mast, the box and the meter, the
     door opens, the breakers come on one by one, the main turns brass, the
     meter's needle swings and settles; then it's counted */
  .pe .pe-cond { animation: mo-draw 210ms var(--mo-io) both 170ms; }
  .pe .pe-mast { animation: mo-draw 200ms var(--mo-io) both 210ms; }
  .pe .pe-wh { animation: mo-pop 200ms var(--mo-click) both 360ms; }
  .pe .pe-box { animation: mo-drop 200ms var(--mo-click) both 280ms; }
  .pe .pe-meter { animation: mo-drop 200ms var(--mo-click) both 340ms; }
  .pe .pe-gnd { animation: mo-fade 200ms var(--mo-out) both 400ms; }
  /* the old door lands with the box, then folds away on its hinge */
  @keyframes pe-close { 0% { opacity: 0; transform: translateY(-1.1px); } 30% { opacity: 1; transform: none; } 54% { opacity: 1; transform: none; }
    99% { opacity: 1; transform: scaleX(0); } 100% { opacity: 0; transform: scaleX(0); } }
  @keyframes pe-open { from { transform: scaleX(0); } }
  .pe .pe-dc { animation: pe-close 330ms var(--mo-io) both 280ms; }
  .pe .pe-do { animation: pe-open 200ms var(--mo-out) both 610ms; }
  @keyframes pe-flip { from { transform: translateX(-.2px); } }
  .pe .pe-flip { animation: pe-flip 160ms var(--mo-out) both calc(720ms + var(--i, 0) * 22ms); }
  .pe .pe-main { animation: mo-fade 200ms var(--mo-out) both 1050ms; }
  @keyframes pe-needle { 0% { transform: rotate(-70deg); } 55% { transform: rotate(18deg); } 75% { transform: rotate(-7deg); } 90% { transform: rotate(3deg); } }
  .pe .pe-needle { animation: pe-needle 400ms var(--mo-out) both 1080ms; }
  .pe .ct-p1 { --pd: 1160ms; }

  /* the hub, ~1.3 s: the house, then each trade's pin where it happens */
  .hb .hb-sh { animation: mo-fade 240ms var(--mo-out) both; }
  .hb .hb-slab { animation: mo-rise 210ms var(--mo-out) both; }
  .hb .hb-floor { animation: mo-fade 200ms var(--mo-out) both 88ms; }
  .hb .hb-wall { animation: mo-drop 200ms var(--mo-click) both calc(100ms + var(--i, 0) * 36ms); }
  .hb .hb-part { animation: mo-drop 200ms var(--mo-click) both calc(180ms + var(--i, 0) * 12ms); }
  .hb .hb-fix { animation: mo-drop-s 200ms var(--mo-click) both calc(300ms + var(--i, 0) * 18ms); }
  .hb .hb-pl { animation: mo-slide-s 200ms var(--mo-out) both calc(360ms + var(--i, 0) * 12ms); }
  .hb .hb-paint { animation: mo-wipe 280ms var(--mo-io) both 500ms; }
  .hb .hb-win { animation: mo-pop 200ms var(--mo-click) both 560ms; }
  .hb .hb-bay { animation: mo-fade 200ms var(--mo-out) both 540ms; }
  .hb .ct-p1 { --pd: 680ms; } .hb .ct-p2 { --pd: 740ms; } .hb .ct-p3 { --pd: 800ms; } .hb .ct-p4 { --pd: 860ms; }
  .hb .ct-p5 { --pd: 920ms; } .hb .ct-p6 { --pd: 980ms; } .hb .ct-p7 { --pd: 1040ms; }
  .hb .ct-pin em { animation-name: mo-pop; }

  /* outside, ~1.3 s: the lot, the walk, the house, its roof, the deck and
     the fence; then the work is put on again and its takeoff lands: the
     roof's tile course by course from the eave (exr); a new coat across the
     front, then the gable end (exp painting, exs stucco & siding); the
     deck's boards row by row from the house and the fence board by board (exy) */
  @keyframes mo-grow { from { transform: scaleY(0); } }
  .ex .ex-sh { animation: mo-fade 240ms var(--mo-out) both; }
  .ex .ex-lot { animation: mo-rise 210ms var(--mo-out) both; }
  .ex .ex-hw { animation: mo-drop 200ms var(--mo-click) both calc(90ms + var(--i, 0) * 50ms); }
  .ex :is(.ex-bk, .ex-roof) { animation: mo-drop 220ms var(--mo-click) both 230ms; }
  .ex .ex-dk { animation: mo-drop-s 200ms var(--mo-click) both 330ms; }
  .ex .ex-fn { animation: mo-fade 200ms var(--mo-out) both 380ms; }
  /* a course is laid from up the slope down onto the one under it (feet, in the roof's plane) */
  @keyframes ex-lay { from { opacity: 0; transform: translateY(.7px); } 55% { opacity: 1; } }
  .exr :is(.ex-bk, .ex-roof) { animation-name: mo-fade; }
  .exr .ex-rc { animation: ex-lay 200ms var(--mo-click) both calc(420ms + var(--i, 0) * 70ms); }
  .exr .ex-mr { animation: mo-fade 200ms var(--mo-out) both 1000ms; }
  :is(.exp, .exs) .ex-hw .ex-ct { animation: mo-wipe 460ms linear both 460ms; }
  /* the gable end from its foot up, so the coat never stands above its edges */
  :is(.exp, .exs) .ex-hw.i1 .ex-ct { animation-name: mo-wipe-y; animation-delay: 760ms; transform-origin: 50% 100%; }
  :is(.exp, .exs) .ex-mw { animation: mo-fade 200ms var(--mo-out) both 1180ms; }
  .exy .ex-dk { animation-name: mo-fade; animation-duration: 160ms; }
  .exy .ex-db { animation: mo-slide-s 200ms var(--mo-click) both calc(420ms + var(--i, 0) * 40ms); }
  .exy .ex-pk { animation: mo-grow 200ms var(--mo-click) both calc(560ms + var(--i, 0) * 22ms); }
  .exy .ex-fr { animation: mo-fade 200ms var(--mo-out) both 1050ms; }
  .exy .ex-my { animation: mo-fade 200ms var(--mo-out) both 1100ms; }
  .exy .ex-fl { animation: mo-draw 260ms var(--mo-io) both 1150ms; }

  /* a commercial space, ~1.3 s: the room and its storefront; the new
     partition's tracks, its studs stood up one by one, board on its far
     face, the desk; then the partition's length and the floor's outline.
     ADA work alone (ofa): the space, then the floor's outline. */
  .of .of-sh { animation: mo-fade 240ms var(--mo-out) both; }
  .of .of-base { animation: mo-rise 210ms var(--mo-out) both; }
  .of .of-wall { animation: mo-drop 200ms var(--mo-click) both calc(56ms + var(--i, 0) * 36ms); }
  .of .of-trk { animation: mo-fade 200ms var(--mo-out) both 260ms; }
  .of .of-st { animation: mo-grow 220ms var(--mo-click) both calc(330ms + var(--i, 0) * 50ms); }
  .of .of-gb { animation: mo-wipe 260ms var(--mo-io) both calc(660ms + var(--i, 0) * 160ms); }
  .of .of-desk { animation: mo-drop 200ms var(--mo-click) both 420ms; }
  .of .of-ml { animation: mo-draw 300ms var(--mo-io) both 1020ms; }
  .of .of-mf { animation: mo-fade 200ms var(--mo-out) both 1150ms; }
  .ofa :is(.of-trk, .of-st, .of-gb) { animation: mo-fade 200ms var(--mo-out) both 120ms; }
  .ofa .of-mf { animation-delay: 600ms; }

  /* how we price, ~1.5 s: the lines' two layers, then each charge on top,
     each as its row of the list comes in; the expected range drawn up the
     side; the most likely point lands at the top of the stack */
  .hw .hw-base { animation: mo-fade 200ms var(--mo-out) both; }
  .hw .hw-fp { animation: mo-fade 200ms var(--mo-out) both 57ms; }
  .hw .hw-l { animation: mo-drop 200ms var(--mo-click) both calc(130ms + var(--i, 0) * 130ms); }
  @keyframes hw-in { from { opacity: 0; transform: translateX(-10px); } }
  .hw .hw-list li { animation: hw-in 200ms var(--mo-out) both calc(130ms + var(--i, 0) * 130ms); }
  /* each row comes in with its layer (its class i<n>: the layer's place
     from the bottom, the list itself reads top down, as the stack does);
     the range with its dimension, the most likely figure with its point */
  .hw .hw-list li.hw-rng { animation-delay: calc(170ms + var(--n, 6) * 130ms); }
  .hw .hw-list li.hw-sum { animation-delay: calc(380ms + var(--n, 6) * 130ms); }
  .hw .hw-dim { animation: mo-draw 230ms var(--mo-io) both calc(170ms + var(--n, 6) * 130ms); }
  .hw .hw-tick { animation: mo-fade 200ms var(--mo-out) both calc(340ms + var(--n, 6) * 130ms); }
  .hw .hw-lead { animation: mo-fade 200ms var(--mo-out) both calc(270ms + var(--n, 6) * 130ms); }
  .hw .hw-pt { animation: mo-pop 200ms var(--mo-click) both calc(380ms + var(--n, 6) * 130ms); transform-box: fill-box; transform-origin: 50% 50%; }

  /* compare bids, ~1.3 s: three bids land, their lines write in, each line
     the others have gets a tick; the one bid missing a line gets a ring,
     whose outline crawls once round and stops */
  .bd .bd-sh { animation: mo-fade 250ms var(--mo-out) both; }
  .bd .bd-sheet { animation: mo-drop 230ms var(--mo-click) both calc(50ms + var(--i, 0) * 70ms); }
  .bd .bd-row { transform-box: fill-box; transform-origin: 0 50%; animation: mo-wipe 200ms var(--mo-out) both calc(280ms + var(--i, 0) * 30ms); }
  .bd .bd-tick { animation: mo-draw 200ms var(--mo-out) both calc(650ms + var(--i, 0) * 45ms); }
  .bd .bd-miss { transform-box: fill-box; transform-origin: 50% 50%; animation: mo-pop 200ms var(--mo-click) both 1000ms; }
  .bd .bd-miss .tk-o { animation: bd-crawl 1600ms linear 1200ms both; }
  @keyframes bd-crawl { to { stroke-dashoffset: -16; } }

  /* the 404, ~1.6 s: the slab, the film laid on it, the floor laid row by
     row, one plank never lands; its place is marked, the outline crawls once
     round and stops */
  .nf .nf-sh { animation: mo-fade 500ms var(--mo-out) both; }
  .nf .nf-slab { animation: mo-rise 480ms var(--mo-out) both; }
  .nf .fl1 { animation: mo-fade 240ms var(--mo-out) both 300ms; }
  .nf .nf-row { animation: mo-slide-s 320ms var(--mo-click) both calc(220ms + var(--i, 0) * 70ms); }
  .nf .nf-mark { animation: mo-pop 380ms var(--mo-click) both 1150ms; }
  .nf .nf-o { animation: bd-crawl 1600ms linear 1600ms both; }
}
/* On the cost pages' row of drawings, a phone sees the drawing when it
   scrolls to it: nothing else changes. */
@media (prefers-reduced-motion: reduce) {
  .ct *, .hw *, .ct-pin, .ct-pin * { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .ct-pin b, .g-ans-lines .g-n { forced-color-adjust: none; background: CanvasText; color: Canvas; }
  .ct-pin em { forced-color-adjust: none; background: Canvas; color: CanvasText; outline: 1px solid CanvasText; }
  .hw-list li > i { forced-color-adjust: none; outline: 1px solid CanvasText; }
}

/* Printed, every drawing is its final frame (the CSS at rest), seen or not. */
@media print {
  .ill, .ill *, .ill *::before, .ill *::after, .ct-pin, .ct-pin * { animation: none !important; transition: none !important; }
}

/* ---- generated by tools/illo/build.py: do not edit by hand ---- */
.i1{--i:1}.i2{--i:2}.i3{--i:3}.i4{--i:4}.i5{--i:5}.i6{--i:6}.i7{--i:7}.i8{--i:8}.i9{--i:9}.i10{--i:10}.i11{--i:11}.i12{--i:12}.i13{--i:13}.i14{--i:14}.i15{--i:15}.i16{--i:16}.i17{--i:17}.i18{--i:18}.i19{--i:19}.i20{--i:20}.i21{--i:21}.i22{--i:22}
.ck .ct-p1 { left: 23.86%; top: 65.95%; }
.ck .ct-p2 { left: 82.24%; top: 58.40%; }
.ck .ct-p3 { left: 53.30%; top: 33.81%; }
.bt .ct-p1 { left: 66.85%; top: 36.00%; }
.bt .ct-p2 { left: 46.77%; top: 79.98%; }
.bt .ct-p3 { left: 47.95%; top: 57.42%; }
/* flooring: 8 plank rows */
.fr .ct-p1 { left: 23.05%; top: 60.96%; }
.fr .ct-p2 { left: 59.74%; top: 71.53%; }
.fr .ct-p3 { left: 31.85%; top: 38.85%; }
@keyframes pt-roll { 0% { transform: translate(-105.5px, -60.9px); opacity: 0; } 6% { transform: translate(-105.5px, -60.9px); opacity: 1; } 27% { transform: translate(-79.1px, -61.1px); opacity: 1; } 43% { transform: translate(-58px, -19.5px); opacity: 1; } 60% { transform: translate(-36.9px, -36.7px); opacity: 1; } 77% { transform: translate(-15.8px, 4.9px); opacity: 1; } 92% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.pt .ct-p1 { left: 74.74%; top: 39.41%; }
.pt .ct-p2 { left: 66.66%; top: 62.97%; }
.pt .ct-p3 { left: 15.40%; top: 50.77%; }
@keyframes pw-out { 0% { opacity: 0; transform: none; } 15%, 61% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-31.5px, 9.8px); } }
@keyframes pw-in { from { opacity: 0; transform: translate(-31.5px, 9.8px); } 45% { opacity: 1; } }
.pw .ct-p1 { left: 76.44%; top: 43.44%; }
.rp .ct-p1 { left: 52.71%; top: 45.26%; }
.rp .ct-p2 { left: 85.65%; top: 58.35%; }
.pe .ct-p1 { left: 59.01%; top: 37.12%; }
/* hub: 10 partitions, 10 fixtures */
.hb .ct-p1 { left: 46.51%; top: 27.13%; }
.hb .ct-p2 { left: 15.05%; top: 48.02%; }
.hb .ct-p3 { left: 60.73%; top: 55.51%; }
.hb .ct-p4 { left: 78.51%; top: 39.54%; }
.hb .ct-p5 { left: 87.75%; top: 49.86%; }
.hb .ct-p6 { left: 13.81%; top: 41.75%; }
.hb .ct-p7 { left: 64.56%; top: 71.42%; }
.bd .ct-p1 { left: 45.23%; top: 53.62%; }
.nf .ct-p1 { left: 54.29%; top: 50.58%; }
/* outside: 7 roof courses, 9 deck boards, 23 fence boards */
/* office: 6 studs */
.ck .ct-p2 em, .bt .ct-p1 em, .pt .ct-p1 em, .pt .ct-p2 em, .pw .ct-p1 em, .rp .ct-p2 em { left: auto; right: 15px; border-radius: 999px 0 0 999px; padding: 4px 9px 4px 8px; }
@media (max-width: 479px) { .ck .ct-p2 em, .bt .ct-p1 em, .pt .ct-p1 em, .pt .ct-p2 em, .pw .ct-p1 em, .rp .ct-p2 em { right: 12px; padding: 3px 8px 3px 7px; } }
/* ---- end of generated ---- */
