/* =============================================================================
   HOME PAGE (landing.html)

   Loaded only by landing.html, after style.css. Every class here starts with
   lp- so nothing in style.css (.hero, .card, .phase, .rangebox ...) can reach
   in, and nothing here can leak out to the other pages. Colors, type, radii
   and page edges are style.css's tokens: the range line, the composition key
   and the confidence badge live there too, so the home page and the estimate
   can't drift apart. The names below are aliases, kept short for this file.

   CSP: style-src is 'self' plus a per-response nonce. Nothing on the page uses
   style=""; the computed positions (range points, composition widths) are in
   landing.html's nonce'd <style>.

   The drawings (app/templates/_art_*.svg.html, written by tools/illo/build.py)
   are inline SVG coloured and timed from here: see "the drawings" below. The
   block between the "generated" markers at the end is the build's; the rest
   is written by hand.
   ========================================================================== */

.lp, .lp-nav {
  --navy: var(--accent); --navy-hi: var(--accent-hi); --navy-ink: #e9eef4; --navy-muted: var(--navy-200);
  --gold: var(--accent-2);
}

html { scroll-behavior: smooth; }

/* style.css gives <main> a reading width and padding; the home page is full bleed. */
main.lp { max-width: none; margin: 0; padding: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); }
/* Zero-specificity resets: they beat style.css's bare h1/h2/p rules (same
   specificity, loaded later) but never the lp- classes below. */
:where(.lp) :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.lp) p { max-width: none; }
:where(.lp) :is(ul, ol) { list-style: none; }
:where(.lp, .lp-nav) a { color: inherit; text-decoration: none; }
:where(.lp, .lp-nav) a:hover { color: inherit; }
.lp-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.lp h1, .lp h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
.lp h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.018em; }
.lp h2 { font-size: var(--fs-h2-lg); line-height: 1.07; letter-spacing: -.012em; }
.lp h3 { font: 600 18px/1.35 var(--sans); letter-spacing: -.01em; color: var(--ink); }
/* The one line above the h1: where the estimates are for, in plain case. */
.lp-kicker { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px;
  font: 500 15px/1.4 var(--sans); color: var(--brass-ink); }
.lp-kicker::before { content: ""; flex: none; width: 24px; height: 1px; margin-top: .7em; background: var(--brass); }
.lp-lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--muted); max-width: 31em; margin-top: 20px; text-wrap: pretty; }
.lp .lp-sub { font-size: var(--fs-lede); line-height: 1.6; color: var(--muted); max-width: 38em; margin-top: 18px; text-wrap: pretty; }
.lp-micro { font: 500 13px/1.3 var(--sans); color: var(--muted); }
.lp-micro b { color: var(--brass-ink); font-weight: 600; white-space: nowrap; }
.lp-strip-x { white-space: nowrap; }
.lp-strip-x::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 9px; vertical-align: -1px;
  background: var(--rule-strong); }
.lp-head { max-width: 760px; }

/* ---------- buttons & links ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 600 16px/1.2 var(--sans); letter-spacing: -.006em; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.lp-btn-primary, .lp-btn-primary:hover { color: #fff; }
.lp-btn-primary { background: var(--navy);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 1px 2px rgb(15 47 79 / .3), 0 6px 16px -8px rgb(15 47 79 / .5); }
.lp-btn-primary:hover { background: var(--navy-hi); }
.lp-btn-ghost, .lp-btn-ghost:hover { color: var(--navy); }
.lp-btn-ghost { background: rgb(255 255 255 / .6); border-color: var(--rule-strong); }
.lp-btn-ghost:hover { background: #fff; border-color: var(--navy); }
.lp-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.lp-link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy);
  text-decoration: underline; text-decoration-color: rgb(15 47 79 / .3); text-underline-offset: 5px; text-decoration-thickness: 1px; }
:where(.lp) .lp-link-arrow:hover { color: var(--navy); text-decoration-color: var(--navy); }
/* Focus: navy on the light grounds, paper on the navy close. */
.lp :focus-visible, .lp-nav :focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: var(--r-sm); }
.lp .lp-close :focus-visible { outline-color: var(--paper); }

/* ---------- nav (replaces base.html's header on this page only) ---------- */
.lp-nav { position: sticky; top: 0; z-index: 20; height: var(--nav);
  background: rgb(250 248 244 / .92); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--rule);
  font-family: var(--sans); }
.lp-nav .lp-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); }
.lp-brand .logo { display: block; height: 30px; width: auto; }
.lp-nav-links { display: flex; align-items: center; gap: 4px; }
.lp-nl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  font: 500 15px/1 var(--sans); color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
:where(.lp-nav) .lp-nl:hover { color: var(--navy); background: rgb(15 47 79 / .05); }
.lp-nav .lp-btn { margin-left: 14px; }

/* ---------- sections ---------- */
.lp-sec { padding-block: var(--sec); }
.lp-band { position: relative; background: var(--paper-2); border-block: 1px solid var(--rule); }
/* A tape's edge along the top of each band: the hero's measure, carried down the page. */
.lp-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; pointer-events: none; background:
  linear-gradient(90deg, rgb(15 47 79 / .22) 1px, transparent 1px) -1px 0 / 96px 10px repeat-x,
  linear-gradient(90deg, rgb(15 47 79 / .13) 1px, transparent 1px) -1px 0 / 24px 5px repeat-x; }

/* ---------- hero ---------- */
/* The words on the paper. Beside them a blueprint board runs off the page's
   right edge with the sample job's own house on it, and the sample estimate
   lies across the board's lower edge, half on the drawings, half on the desk. */
.lp-hero { --hero-pt: clamp(28px, 3vw, 48px); padding-block: var(--hero-pt) 0; overflow: clip; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px); align-items: start; }
.lp-hero-copy { padding-top: clamp(24px, 4.2vw, 64px); }
.lp-fact { display: grid; gap: 9px; margin-top: 24px; }
.lp-fact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.lp-fact svg { margin-top: 1px; color: var(--brass-ink); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.lp-hero-vis { position: relative; isolation: isolate; }
/* The board: navy, lit from its top right, a 24/96px drafting grid, a tape's
   ticks along its foot. A laser line wipes the grid on as the page opens. */
.hx-board { position: absolute; z-index: -1; overflow: hidden;
  top: calc(-1 * var(--hero-pt)); bottom: 290px; left: -40px;
  right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  background: radial-gradient(110% 80% at 88% 0%, #19426d 0, rgb(25 66 109 / 0) 62%), var(--navy); }
.lp-hero-vis:not(.hx-on) .hx-board { display: none; }
.hx-wipe { position: absolute; inset: 0; overflow: hidden; }
.hx-grid { position: absolute; inset: 0; background:
  linear-gradient(rgb(185 198 214 / .13) 1px, transparent 1px) -1px -1px / 96px 96px,
  linear-gradient(90deg, rgb(185 198 214 / .13) 1px, transparent 1px) -1px -1px / 96px 96px,
  linear-gradient(rgb(185 198 214 / .055) 1px, transparent 1px) -1px -1px / 24px 24px,
  linear-gradient(90deg, rgb(185 198 214 / .055) 1px, transparent 1px) -1px -1px / 24px 24px; }
.hx-wipe::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; opacity: 0;
  background: #ffe7b0; box-shadow: 0 0 10px 2px rgb(243 213 149 / .5), 0 0 36px 8px rgb(243 213 149 / .16); }
.hx-board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background:
  linear-gradient(90deg, rgb(201 169 107 / .6) 1px, transparent 1px) -1px 100% / 96px 12px repeat-x,
  linear-gradient(90deg, rgb(201 169 107 / .38) 1px, transparent 1px) -1px 100% / 24px 6px repeat-x; }

/* The drawing bleeds a little past the column; the card lies over its front
   corner only, so the dimensions and all three marks stay in view. */
.lp-hero-vis .hx { position: relative; margin: 6px -56px 0 -20px; }
.hx-stage { position: relative; }
.hx-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-hero-vis .hx-card { position: relative; z-index: 1; margin: -70px 84px 0 -16px; }
.lp-hero-vis:not(.hx-on) .hx-card { margin: 0 60px 0 0; }
.lp-hero-doc { position: relative; z-index: 1; container-type: inline-size; }
.hx-card { box-shadow: 0 1px 1px rgb(17 26 36 / .04), 0 24px 48px -20px rgb(10 36 64 / .45), 0 8px 18px -10px rgb(10 36 64 / .25); }
/* A narrow card (a small laptop, a phone): the figures stack, most likely first. */
@container (max-width: 429px) {
  .lp-hero-doc .lp-rangebox { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .lp-hero-doc .lp-fig { display: block; grid-row: auto; }
  .lp-hero-doc .lp-fig-likely { order: -1; text-align: left; }
  .lp-hero-doc .lp-fig-likely .lp-redact { margin-left: 0; }
  .lp-hero-doc .lp-strip-x { display: none; }
}

/* The HTML over the drawing: what the sample buys, the takeoff marks, the
   two rooms it leaves alone. Positions: the generated block at the end. */
.hx-chips { position: absolute; display: grid; gap: 8px; justify-items: start; }
.hx-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 13px 0 9px;
  border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 10px 22px -12px rgb(0 0 0 / .55);
  font: 600 13.5px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.hx-chip i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; }
.hx-chip svg { display: block; }
.hx-chip path { stroke-dasharray: 1; }

/* A pin: its foot is the anchor; the head stands above it, the quantity the
   line prices beside the head. */
.hx-pin { position: absolute; width: 0; height: 0; }
.hx-pin::before { content: ""; position: absolute; left: -.75px; bottom: 2px; width: 1.5px; height: 21px; background: var(--navy); }
.hx-pin::after { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 2px var(--card); }
.hx-pin b { position: absolute; left: -14px; bottom: 22px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px/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, box-shadow .2s ease; }
.hx-pin em { position: absolute; left: 16px; bottom: 26px; 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; }
.hx-pin i { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--brass); opacity: 0; }
/* Counted marks: a door's swing in brass (leaf and arc, as on a plan) at
   each door the undercut prices. No number: the numbers on the drawing are
   the priced lines' own (the pins). */
.hx-cnt { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 1.5px solid var(--brass); border-bottom-color: transparent; border-left-width: 2px;
  border-radius: 0 100% 0 0; background: rgb(255 255 255 / .92); transition: background-color .2s ease; }
.hx-tag { position: absolute; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 4px;
  background: rgb(255 255 255 / .94); border: 1px solid var(--rule);
  font: 600 11px/1.2 var(--sans); color: var(--muted); white-space: nowrap; }

/* A line of the estimate and its pin answer each other (motion.js lights
   both under the pointer): the pin's head and label turn brass, the line
   takes a brass ground. */
.hx-n { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 11px/1 var(--sans); vertical-align: 1px; transition: background-color .2s ease; }
.hx-card .lp-line { position: relative; isolation: isolate; }
.hx-card .lp-line::before { content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 6px;
  background: var(--tint-brass); opacity: 0; transition: opacity .2s ease; }
.hx-card .lp-line.is-lit::before { opacity: 1; }
.hx-card .lp-line.is-lit .hx-n, .hx-pin.is-lit b { background: var(--brass-ink); }
.hx-pin.is-lit em { background: var(--brass-ink); color: #fff; }
.hx-cnt.is-lit { background: var(--brass); }
.has-lit .hx-pin:not(.is-lit), .has-lit .hx-cnt:not(.is-lit) { opacity: .45; transition: opacity .2s ease; }
.hx-on .hx-card .lp-line[data-n] { cursor: default; }
/* What each priced line measures, under its amount: quantity in brass, with a
   chip of the material it is for. */
.hx-q { grid-column: 2; grid-row: 2; justify-self: end; display: inline-flex; align-items: center; gap: 6px;
  font: 600 12.5px/1.5 var(--sans); color: var(--brass-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-q + .lp-why { grid-column: 1; grid-row: 2; }
.hx-sw { width: 12px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(17 26 36 / .14); }
.hx-sw-compound { background: linear-gradient(135deg, #d7d3cb 0 50%, #c4bfb5 50%); }
.hx-sw-film { background: repeating-linear-gradient(135deg, #e4edf2 0 3px, #bccfdb 3px 4px); }
.hx-sw-plank { background: linear-gradient(#d3ab7b 0 33%, #c19463 33% 66%, #cba174 66%); }

/* On one column the laser's measure lies on the board above the card: */
.hx-tape { display: none; }

/* ---------- the estimate document (hero card and the full-estimate sample) ---------- */
.lp-app { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-doc); }
.lp-doc-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px;
  min-height: 48px; padding: 8px 28px; border-bottom: 1px solid var(--rule-soft); }
.lp-app-body { padding: 22px 28px 26px; }
.lp-doc-title { display: block; font: 400 24px/1.2 var(--serif); letter-spacing: -.006em; color: var(--ink); }
.lp-rangebox { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0 24px; margin-top: 20px; }
/* Both labels on one line, both figures on one baseline (subgrid), as on the estimate page. */
.lp-fig { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.lp-fig .lp-lbl { align-self: end; }
.lp-fig > :last-child { align-self: last baseline; }
.lp-lbl { display: block; margin-bottom: 6px; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.lp-val { display: block; font: 600 25px/1.1 var(--sans); letter-spacing: -.022em; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-fig-likely { text-align: right; }
.lp-val.lp-likely { color: var(--navy); font-size: 34px; letter-spacing: -.03em; }
/* Where a figure would be while the catalogue is a placeholder. */
.lp-redact { display: block; width: 7.5em; max-width: 100%; height: 14px; margin-top: 8px; border-radius: 3px; background: var(--redact); }
.lp-fig-likely .lp-redact { margin-left: auto; }
.lp-rangebar { margin-top: 18px; }
.lp-fig-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-soft); font-size: 14px; color: var(--muted); }
.lp-fig-foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-fig-foot .lp-redact { width: 4em; margin-top: 0; }
.lp-sample-note { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.lp-lines { margin-top: 20px; border-top: 1px solid var(--rule); }
.lp-line { display: grid; grid-template-columns: 1fr auto; gap: 3px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.lp-line b { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink); }
.lp-amt { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--ink); }
.lp-why { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.lp-more { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.lp-more::before { content: ""; flex: none; width: 16px; height: 1px; background: var(--rule-strong); }

/* ---------- the three promises, under the hero ---------- */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--rule); }
/* Wide: right under the words and their buttons, so the left column reads
   as one block from the top; the card runs on beside it. */
@media (min-width: 1024px) {
  .lp-hero { padding-bottom: 8px; }
  .lp-hero-grid { grid-template-rows: auto 1fr; row-gap: 0; }
  .lp-hero-copy { grid-column: 1; grid-row: 1; }
  .lp-hero-vis { grid-column: 2; grid-row: 1 / span 2; }
  .lp-hero-grid > .lp-trust, .lp-hero-grid > .lp-trust.lp-trust-2 { grid-column: 1; grid-row: 2; align-self: start;
    grid-template-columns: 1fr; max-width: 30em; margin: 48px 0 0; border-top: 0; }
  .lp-hero-grid > .lp-trust li { padding: 17px 0; border-top: 1px solid var(--rule); }
  .lp-hero-grid > .lp-trust li + li { padding-left: 0; border-left: 0; }
}
.lp-trust.lp-trust-2 { grid-template-columns: repeat(2, 1fr); }
.lp-trust li { display: flex; align-items: center; gap: 14px; padding: 26px 24px 26px 0; font-size: 15px;
  line-height: 1.4; color: var(--ink-2); }
.lp-trust li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.lp-trust svg { color: var(--navy); }

/* ---------- how it works: three steps, each a drawing over the app's own words ---------- */
.lp-how-link { margin-top: 6px; font-size: 16px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.lp-step { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--navy); }
/* A real sequence: numbered as the pins on the drawings are. */
.lp-step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 14px/1 var(--sans); font-variant-numeric: tabular-nums; }
.lp .lp-step h3 { margin-top: 16px; font-size: 20px; letter-spacing: -.014em; }
.lp-step > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 30em; }
/* Fills what's left of the column, so all three end on the same line. */
.lp-frag { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-top: 24px;
  padding: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow-1); }
.lp-frag .lp-micro { margin-bottom: 10px; }
.lp-frag.lp-frag-ill { justify-content: flex-start; padding: 0; overflow: hidden; box-shadow: var(--shadow); }
/* The drawing's sheet: paper-2 with a faint 24px grid, a fixed shape, so
   nothing moves while it draws. */
.sp-stage { position: relative; display: block; overflow: hidden; --pad-t: 16px; --pad-x: 16px; --pad-b: 10px;
  background:
    linear-gradient(rgb(15 47 79 / .05) 1px, transparent 1px) -1px -1px / 24px 24px,
    linear-gradient(90deg, rgb(15 47 79 / .05) 1px, transparent 1px) -1px -1px / 24px 24px,
    var(--paper-2); }
.sp-stage > .sp-svg { position: absolute; left: var(--pad-x); top: var(--pad-t); display: block; overflow: visible;
  width: calc(100% - 2 * var(--pad-x)); height: calc(100% - var(--pad-t) - var(--pad-b)); }
.sp-step { aspect-ratio: 16 / 10.5; border-bottom: 1px solid var(--rule); }
.lp-frag-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px 18px; }
/* Three columns (from 1024px): the steps share their rows (number, heading,
   words, drawing), so the three drawings start on one line and are one
   height, however differently the words above them wrap. */
@media (min-width: 1024px) {
  @supports (grid-template-rows: subgrid) {
    .lp-step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  }
}
.lp-doors-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-doors-mini span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px;
  text-align: center; border: 1px solid var(--rule-strong); border-radius: var(--r-btn);
  font: 600 14px/1.25 var(--sans); color: var(--ink-2); }
/* Where two doors side by side would get under ~140px each (three columns at
   1024-1179px, a phone under 380px), one over the other: "New construction"
   isn't broken over two lines beside a one-line "Remodeling". */
@media (min-width: 1024px) and (max-width: 1179px), (max-width: 379px) {
  .lp-doors-mini { grid-template-columns: 1fr; gap: 8px; }
}
.lp-doors-mini span.lp-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--tint-navy); color: var(--navy); }
/* A pick shows as picked from the moment the drawing's pointer taps its
   card: until then an unpicked face lies over it (under its words), and
   fades as the tap lands. At rest, or with reduced motion, it's picked. */
.lp-doors-mini span { position: relative; isolation: isolate; }
.lp-doors-mini span.lp-on::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  border: 1px solid var(--rule-strong); background: var(--card); opacity: 0; pointer-events: none; }
.lp-dash li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--rule-soft);
  font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.lp-dash li:first-child { border-top: 1px solid var(--rule-soft); }
.lp-dash li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 11px; height: 1px; background: var(--muted); }
/* What the photos showed, numbered as the pins in the drawing above. */
.lp-obs { counter-reset: lp-o; }
.lp-obs li { counter-increment: lp-o; padding-left: 32px; }
.lp-obs li::before { content: counter(lp-o); left: 0; top: 9px; display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--navy); color: #fff; font: 700 11px/1 var(--sans); }
.lp-link { color: var(--navy); font-weight: 600; font-size: 14.5px; }
.lp-notice { padding: 13px 15px 13px 17px; border-radius: var(--r-sm); background: var(--tint-brass);
  box-shadow: inset 2px 0 0 var(--brass); font-size: 14px; line-height: 1.55; color: var(--ink-2);
  border-top-left-radius: 0; border-bottom-left-radius: 0; }
.lp-notice b { color: var(--ink); }
/* Under review: sent, being checked, then released. */
.lp-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; counter-reset: lp-t; }
.lp-track li { position: relative; padding-top: 12px; font: 600 13px/1.2 var(--sans); color: var(--muted); }
.lp-track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--rule-strong); }
.lp-track li.lp-done::before { background: var(--navy); }
.lp-track li.lp-now { color: var(--navy); }
.lp-track li.lp-now::before { background: linear-gradient(90deg, var(--brass) 50%, var(--rule-strong) 50%); }

/* ---------- the full estimate ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 6vw, 96px); align-items: start;
  isolation: isolate; }
.lp-split-copy { position: sticky; top: calc(var(--nav) + 48px); }
/* The full estimate lies on the pages under it: they sit in .lp-split's
   stacking context, so they are drawn under the card's own paper and edge,
   not over them. */
.lp-split > .lp-app { position: relative; }
.lp-split > .lp-app::before, .lp-split > .lp-app::after { content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); }
.lp-split > .lp-app::before { transform: translate(14px, 14px); box-shadow: 0 10px 24px -14px rgb(15 47 79 / .25); }
.lp-split > .lp-app::after { transform: translate(7px, 7px); }
.lp-ticks { margin-top: 32px; }
.lp-ticks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.lp-ticks li:last-child { border-bottom: 1px solid var(--rule); }
.lp-ticks svg { position: absolute; left: 0; top: 14px; color: var(--navy); }
.lp-cite { margin-top: 28px; padding-left: 16px; border-left: 1px solid var(--brass); font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 34em; }
.lp-h-mini { font: 600 14px/1.3 var(--sans); color: var(--ink); }
/* Widths: landing.html's nonce'd <style> (#lp-cb-<key>), from Estimate.composition(). */
.lp-compbar { display: flex; gap: 2px; height: 10px; margin-top: 14px; }
.lp-compbar i { display: block; height: 100%; width: 0; min-width: 2px; border-radius: 1px; }
.lp-compbar i:first-child { border-radius: 3px 1px 1px 3px; }
.lp-compbar i:last-child { border-radius: 1px 3px 3px 1px; }
.lp-legend { margin-top: 14px; }
.lp-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 3.4em; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--rule-soft); font-size: 14px; color: var(--ink-2); }
.lp-legend li > i { width: 10px; height: 10px; border-radius: 2px; }
.lp-legend b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.lp-legend small { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.lp-phase { margin-top: 28px; }
.lp-phase-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.lp .lp-phase-head h3 { font: 400 20px/1.25 var(--serif); letter-spacing: -.004em; }
.lp-phase-head span { font: 600 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.lp-tl { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-tl th { font: 500 12px/1.2 var(--sans); color: var(--muted);
  text-align: right; padding: 12px 0 6px 12px; white-space: nowrap; }
.lp-tl th:first-child { text-align: left; padding-left: 0; }
/* The figure columns keep one width in every phase, so the tables read as one.
   Set on the cells too: every table after the first has its header read out
   but not shown (an out-of-flow header would make table-layout: fixed take
   its first row for the columns), so the layout stays auto. */
.lp-tl :is(th, td):nth-child(2) { width: 88px; }
.lp-tl :is(th, td):nth-child(3) { width: 76px; }
.lp-tl :is(th, td):nth-child(4) { width: 66px; }
.lp-tl :is(th, td):nth-child(5) { width: 72px; }
.lp-tl td { padding: 13px 0 13px 12px; border-bottom: 1px solid var(--rule-soft); vertical-align: top;
  text-align: right; white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lp-tl td:first-child { text-align: left; padding-left: 0; white-space: normal; font-variant-numeric: normal; }
.lp-tl td:first-child b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.lp-tl td:first-child small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.lp-tl td.lp-t { font-weight: 600; color: var(--ink); }

/* ---------- risks ---------- */
.lp-risk-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px 56px; margin-top: 56px; align-items: start; }
.lp-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.lp-risk-card { padding: 28px 32px 12px; }
.lp-excl-col { padding-top: 28px; }
.lp .lp-tile-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 17px; }
.lp-tile { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: var(--r);
  background: var(--tint-navy); color: var(--navy); }
.lp-tile.lp-tile-warn { background: var(--tint-brass); color: var(--brass-ink); }
.lp-flags li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--rule-soft);
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
/* Not a sequence, so no numbers: the estimator's brass mark beside each. */
.lp-flags li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--brass); }
.lp-excl li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--rule-soft);
  font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.lp-excl li:last-child { border-bottom: 1px solid var(--rule-soft); }
.lp-excl li::before { content: "\2014"; position: absolute; left: 0; top: 12px; color: var(--muted); }

/* ---------- work covered: the two doors, then the cost pages as a board of samples ---------- */
.lp-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.lp-doors.lp-doors-1 { grid-template-columns: 1fr; }
.lp-door { display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.lp-door:hover { border-color: var(--navy); box-shadow: 0 10px 30px -18px rgb(15 47 79 / .45); }
/* the words under the drawing; the link at the foot, level across both doors */
.lp-door-b { display: flex; flex-direction: column; flex: 1; padding: 24px 26px; }
.lp-door strong { display: block; font: 400 26px/1.15 var(--serif); letter-spacing: -.008em; color: var(--ink); }
.lp-door p { margin: 8px 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lp-door .lp-go { margin-top: auto; align-self: flex-start; }
.lp-go { display: inline-flex; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--navy);
  text-decoration: underline; text-decoration-color: rgb(15 47 79 / .3); text-underline-offset: 5px; }
.lp-door:hover .lp-go { text-decoration-color: var(--navy); }

/* ---------- the two doors' drawings (as on /start) ----------
   The same partials and the same play as /start (funnel.css, generated by
   tools/illo/funnel.py); the rules they need that the home page's own
   drawings don't share, scoped to these cards. */
.lp-door .door-ill { aspect-ratio: 16 / 8.6; --pad-t: 12px; --pad-x: 18px; --pad-b: 16px; }
.lp-doors > .lp-door:nth-child(2) .door-ill { --o: 100ms; }
.lp-door .bd-stage { background:
    linear-gradient(rgb(185 198 214 / .12) 1px, transparent 1px) -1px -1px / 72px 72px,
    linear-gradient(90deg, rgb(185 198 214 / .12) 1px, transparent 1px) -1px -1px / 72px 72px,
    linear-gradient(rgb(185 198 214 / .05) 1px, transparent 1px) -1px -1px / 18px 18px,
    linear-gradient(90deg, rgb(185 198 214 / .05) 1px, transparent 1px) -1px -1px / 18px 18px,
    radial-gradient(120% 90% at 86% 0%, #19426d 0, rgb(25 66 109 / 0) 62%), var(--navy); }
.lp-door .bd-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(201 169 107 / .6) 1px, transparent 1px) -1px 100% / 72px 10px repeat-x,
    linear-gradient(90deg, rgb(201 169 107 / .35) 1px, transparent 1px) -1px 100% / 18px 5px repeat-x; }
.lp-door .bd [pathLength] { stroke-dasharray: 1; }
.lp-door .bd .cut { fill: #fbf9f4; stroke: #fbf9f4; }
.lp-door .bd .cut2 { fill: #d8d0c1; stroke: #d8d0c1; }
.lp-door .bd .sh { fill: rgb(4 18 33 / .42); }
.lp-door .bd :is(.gd1, .gd2, .gd3) { stroke-width: .6; }
.lp-door .bd :is(.stk1, .stk2, .stk3) { stroke-width: .5; }
.lp-door .bd .dw2 { fill: #2b3f57; }
.lp-door .bd .pf { fill: var(--il-br); stroke: #fff; stroke-width: 1; }
.lp-door .bd .ps { fill: none; stroke: var(--il-ink); stroke-width: 1.5; }
.lp-door .bd .ph { fill: var(--il-br); stroke: #fff; stroke-width: 2; }
.lp-door .bd .pk { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-door .bd .gd1 { fill: #b8a586; stroke: #b8a586; }
.lp-door .bd .gd2 { fill: #8f7b5c; stroke: #8f7b5c; }
.lp-door .bd .gd3 { fill: #7a6849; stroke: #7a6849; }
.lp-door .bd .gdh { fill: none; stroke: rgb(110 84 40 / .14); stroke-width: .7; }
.lp-door .bd .stk1 { fill: var(--il-br-3); stroke: var(--il-br-3); }
.lp-door .bd .stk2 { fill: var(--il-br-2); stroke: var(--il-br-2); }
.lp-door .bd .stk3 { fill: var(--il-br); stroke: var(--il-br); }
.lp-door .bd .sa { fill: #e2c697; }
.lp-door .bd .sb { fill: #c9a874; }
.lp-door .bd .sap { fill: #d6b682; }
.lp-door .bd .sbp { fill: #bd9a63; }
.lp-door .bd .rf1 { fill: #d5dde6; }
.lp-door .bd .rf2 { fill: #e8edf2; }
.lp-door .bd .rfs { fill: none; stroke: rgb(15 47 79 / .18); stroke-width: .6; }
.lp-door .bd .raf { fill: #d9b886; }
.lp-door .bd .rdg { fill: none; stroke: #b9955f; stroke-width: 2; stroke-linecap: round; }
.lp-door .bd .gab { fill: none; stroke: #c9a874; stroke-width: 1.6; stroke-linecap: round; }
.lp-door .bd :is(.bdim, .bdk, .str) { fill: none; stroke: #e4cfa3; stroke-width: 1.2; }
.lp-door .bd .bdk { stroke-width: 1.4; }
.lp-door .bd .dr-pA { transform-box: fill-box; transform-origin: 0 50%; }
.lp-door .bd :is(.nb-st, .nb-stk) { transform-box: fill-box; transform-origin: 50% 100%; }
@media (max-width: 719px) {
  /* a strip on a phone, so the second door still starts on its first screen */
  .lp-door .door-ill { aspect-ratio: auto; height: 150px; --pad-t: 12px; --pad-b: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes mo-grow { from { transform: scaleY(0); } }
  .lp-door .door-ill .sp-svg { transition: transform .3s var(--mo-out); }
  .lp-door:hover .door-ill .sp-svg, .lp-door:focus-visible .door-ill .sp-svg { transform: translateY(-3px); }
  /* a room already there, then the area changed in it (~1.1 s) */
  .lp-door .dr .dr-sh { animation: mo-fade 250ms var(--mo-out) both var(--o, 0ms); }
  .lp-door .dr .dr-base { animation: mo-rise 220ms var(--mo-out) both var(--o, 0ms); }
  .lp-door .dr .dr-wall { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 59ms + var(--i, 0) * 38ms); }
  .lp-door .dr .csh { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 290ms); }
  .lp-door .dr .dr-fix { animation: mo-drop-s 200ms var(--mo-click) both calc(var(--o, 0ms) + 190ms + var(--i, 0) * 38ms); }
  .lp-door .dr .dr-zo { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 370ms); }
  .lp-door .dr .dr-zone { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 400ms); }
  .lp-door .dr .dr-row { animation: mo-slide 200ms var(--mo-out) both calc(var(--o, 0ms) + 460ms + var(--i, 0) * 29ms); }
  .lp-door .dr .dr-pA { animation: mo-wipe 340ms var(--mo-io) both calc(var(--o, 0ms) + 570ms); }
  .lp-door .dr .dr-pin { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 880ms); }
  /* a lot staked out, then the house framed on it (~1.3 s) */
  .lp-door .nb .nb-sh { animation: mo-fade 250ms var(--mo-out) both var(--o, 0ms); }
  .lp-door .nb .nb-grd { animation: mo-rise 220ms var(--mo-out) both var(--o, 0ms); }
  .lp-door .nb .nb-stk { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 130ms + var(--i, 0) * 29ms); }
  .lp-door .nb .nb-str { animation: mo-draw 290ms var(--mo-io) both calc(var(--o, 0ms) + 240ms); }
  .lp-door .nb .nb-slab { animation: mo-rise 200ms var(--mo-out) both calc(var(--o, 0ms) + 380ms); }
  .lp-door .nb .nb-st { animation: mo-grow 200ms var(--mo-click) both calc(var(--o, 0ms) + 460ms + var(--i, 0) * 9ms); }
  .lp-door .nb .nb-bp { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 450ms); }
  .lp-door .nb .nb-plt { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 740ms); }
  .lp-door .nb .nb-rf { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 860ms); }
  .lp-door .nb .nb-raf { animation: mo-drop-s 200ms var(--mo-click) both calc(var(--o, 0ms) + 800ms + var(--i, 0) * 15ms); }
  .lp-door .nb :is(.nb-rdg, .nb-gab) { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 840ms); }
  .lp-door .nb .nb-shc { animation: mo-drop-s 200ms var(--mo-click) both calc(var(--o, 0ms) + 990ms + var(--i, 0) * 50ms); }
  .lp-door .nb .nb-dim { animation: mo-draw 220ms var(--mo-io) both calc(var(--o, 0ms) + 1030ms); }
  .lp-door .nb .nb-tk { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 1030ms); }
}

.tc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--navy); }
.tc-kicker { font: 600 20px/1.3 var(--sans); letter-spacing: -.014em; color: var(--ink); }
.tc-note { font-size: 15px; color: var(--muted); max-width: 44em; }
.tc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tc { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: border-color .2s ease, box-shadow .2s ease; }
.tc:hover { border-color: var(--navy); box-shadow: var(--shadow-lift); }
/* The words at the top, the figure, its range and its ends at the foot: a
   row's ranges sit on one line however many lines its words take. */
.tc-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 4px; padding: 14px 16px 16px; }
.tc-h { font: 600 15.5px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.tc-job { font-size: 13px; line-height: 1.4; color: var(--muted); }
.tc-fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 8px; }
.tc-lbl { flex-basis: 100%; font: 500 12.5px/1.3 var(--sans); color: var(--muted); }
.tc-lbl::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%;
  background: var(--brass); vertical-align: middle; }
.tc-fig b { font: 600 22px/1.15 var(--sans); letter-spacing: -.025em; color: var(--navy); font-variant-numeric: tabular-nums; }
.tc-per { font-size: 12.5px; color: var(--muted); }
/* The range as on the estimate: a dimension line, capped, the brass point at
   the most likely figure (its left: the nonce'd <style>, from the page's answer). */
.tc-range { position: relative; display: block; height: 12px; margin-top: 8px; }
.tc-range::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--navy); }
.tc-range::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--navy) 0 0) 0 0 / 2px 100% no-repeat, linear-gradient(var(--navy) 0 0) 100% 0 / 2px 100% no-repeat; }
.tc-pt { position: absolute; z-index: 1; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--brass);
  transform: translate(-50%, -50%); box-shadow: 0 0 0 2.5px var(--card); }
.tc-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
/* The kitchen, the biggest job, takes two columns: its sample beside its words. */
.tc-kitchen { grid-column: span 2; flex-direction: row; }
.tc-kitchen .tc-mat { flex: 1.1; height: auto; border-bottom: 0; border-right: 1px solid var(--rule); }
.tc-kitchen .tc-body { flex: 1; justify-content: center; padding: 22px; }
.tc-kitchen :is(.tc-fig, .tc-go) { margin-top: 0; }
.tc-kitchen .tc-h { font-size: 18px; }
.tc-kitchen .tc-fig b { font-size: 28px; }

/* Each card opens with a sample of its trade's material, as on a builder's
   sample board: a quartz top over painted shaker doors, a tiled shower over a tub, oak
   plank, paint chips, a vinyl window, copper through a stud bay, a panel's
   breakers. Drawn as tiny SVG data images (img-src allows data:). */
.tc-mat { position: relative; display: block; height: 104px; overflow: hidden; border-bottom: 1px solid var(--rule);
  background-color: var(--paper-2); }
.tc-mat i { position: absolute; inset: 0; box-shadow: inset 0 -14px 18px -16px rgb(17 26 36 / .35); }
.tc-mat-kitchen { background:
  linear-gradient(#cfc9be 0 0) 0 30% / 100% 3px no-repeat,
  linear-gradient(#f6f4f0, #ebe7e0) 0 24.5% / 100% 7% no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='120'%3E%3Crect width='72' height='120' fill='%234d6a86'/%3E%3Crect x='6' y='8' width='60' height='104' fill='none' stroke='%233d5873' stroke-width='2'/%3E%3Crect x='12' y='14' width='48' height='92' fill='%23557390'/%3E%3Crect x='28' y='20' width='16' height='3' rx='1.5' fill='%23c9a96b'/%3E%3Cpath d='M71 0v120' stroke='%232f465d' stroke-width='2'/%3E%3C/svg%3E") 0 100% / 72px 70% repeat-x,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12'%3E%3Crect width='32' height='12' fill='%23f6f8fa'/%3E%3Cpath d='M0 .5h32M0 6.5h32M.5 0v6M16.5 6v6' stroke='%23d5dde6'/%3E%3C/svg%3E") 0 0 / 32px 12px; }
/* the bath: its shower head, valve and spout in chrome over the tub's rim,
   so the subway tile behind them isn't read as the kitchen's backsplash */
.tc-mat-bathroom { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='104' viewBox='0 0 160 104'%3E%3Ccircle cx='80' cy='5' r='4' fill='%23c3ccd5' stroke='%238592a0'/%3E%3Cpath d='M80 7v6' stroke='%238592a0' stroke-width='3'/%3E%3Cpath d='M68 13h24l-3.5 7h-17z' fill='%23d3dae1' stroke='%238592a0' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M71 15h14' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M73 23v4M77 23v5M81 23v5M85 23v4' stroke='%239fbad4' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='80' cy='50' r='13' fill='%23e9edf1' stroke='%238592a0' stroke-width='1.6'/%3E%3Ccircle cx='80' cy='50' r='4' fill='%23b6c0ca' stroke='%238592a0'/%3E%3Cpath d='M80 50l14-5.5' stroke='%237d8a98' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M72 70h16v3.5a3.5 3.5 0 0 1-3.5 3.5h-9a3.5 3.5 0 0 1-3.5-3.5z' fill='%23c9d1d9' stroke='%238592a0' stroke-width='1.2'/%3E%3C/svg%3E") 50% 0 / auto 100% no-repeat,
  linear-gradient(#cdd6e0 0 0) 0 80% / 100% 2px no-repeat,
  linear-gradient(#fdfefe, #e9eef2) 0 100% / 100% 20% no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Crect width='48' height='24' fill='%23f6f8fa'/%3E%3Cpath d='M0 .5h48M0 12.5h48M.5 0v12M24.5 12v12' stroke='%23cdd6e0'/%3E%3C/svg%3E") 0 0 / 48px 24px,
  #f6f8fa; }
.tc-mat-flooring { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='48'%3E%3Crect width='120' height='16' fill='%23d9b585'/%3E%3Crect y='16' width='120' height='16' fill='%23c69d6c'/%3E%3Crect y='32' width='120' height='16' fill='%23d0a979'/%3E%3Cpath d='M0 16h120M0 32h120M0 48h120M38 0v16M92 16v16M18 32v16M70 32v16' stroke='%236e4a26' stroke-opacity='.3'/%3E%3Cpath d='M6 7c20-2 40 2 60-1M50 24c18-2 36 2 60 0M8 40c22 2 40-2 56 1' stroke='%236e4a26' stroke-opacity='.12' fill='none'/%3E%3C/svg%3E") 0 0 / 120px 48px; }
.tc-mat-paint { background:
  linear-gradient(90deg, #5f7f99 0 25%, #8f9f88 25% 50%, #d8c6a3 50% 75%, #efe8da 75%) 0 100% / 100% 64% no-repeat,
  linear-gradient(90deg, #4d6a86 0 25%, #7c8c76 25% 50%, #c6b38e 50% 75%, #e3dccc 75%) 0 0 / 100% 36% no-repeat; }
.tc-mat-paint i { background: linear-gradient(90deg, transparent calc(25% - 1px), rgb(255 255 255 / .7) calc(25% - 1px) 25%, transparent 25% calc(50% - 1px),
  rgb(255 255 255 / .7) calc(50% - 1px) 50%, transparent 50% calc(75% - 1px), rgb(255 255 255 / .7) calc(75% - 1px) 75%, transparent 75%); }
.tc-mat-windows { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='104' viewBox='0 0 160 104'%3E%3Crect width='160' height='104' fill='%23e2d9c9'/%3E%3Crect x='20' y='10' width='120' height='94' fill='%23fdfdfb'/%3E%3Crect x='28' y='18' width='50' height='86' fill='%23d9e5f1'/%3E%3Crect x='82' y='18' width='50' height='86' fill='%23d9e5f1'/%3E%3Cpath d='M36 104 62 18h10L46 104zM90 104l26-86h6L96 104z' fill='%23f1f6fb' opacity='.85'/%3E%3Crect x='20' y='10' width='120' height='94' fill='none' stroke='%23e1dfd9' stroke-width='2'/%3E%3C/svg%3E") 50% 0 / auto 100% no-repeat, #e2d9c9; }
.tc-mat-repipe { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='104'%3E%3Crect width='96' height='104' fill='%23d9cdb5'/%3E%3Crect x='0' width='10' height='104' fill='%23e3c99c'/%3E%3Crect x='48' width='10' height='104' fill='%23e3c99c'/%3E%3Cpath d='M0 44h96' stroke='%23c9794a' stroke-width='6'/%3E%3Cpath d='M0 68h96' stroke='%237f9fc0' stroke-width='6'/%3E%3Cpath d='M0 42h96' stroke='%23e2a06e' stroke-width='1.5'/%3E%3Cpath d='M0 66h96' stroke='%23b7cde3' stroke-width='1.5'/%3E%3Crect x='46' y='38' width='14' height='12' rx='2' fill='%23a65c33'/%3E%3Crect x='46' y='62' width='14' height='12' rx='2' fill='%235d7b93'/%3E%3C/svg%3E") 0 0 / 96px 104px; }
.tc-mat-panel { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='104'%3E%3Crect width='84' height='104' fill='%23d6dade'/%3E%3Crect x='14' y='8' width='56' height='96' rx='3' fill='%232b3644'/%3E%3Crect x='22' y='16' width='40' height='12' rx='2' fill='%23c9a96b'/%3E%3Cg fill='%23e4e1db'%3E%3Crect x='22' y='36' width='18' height='8' rx='1.5'/%3E%3Crect x='44' y='36' width='18' height='8' rx='1.5'/%3E%3Crect x='22' y='50' width='18' height='8' rx='1.5'/%3E%3Crect x='44' y='50' width='18' height='8' rx='1.5'/%3E%3Crect x='22' y='64' width='18' height='8' rx='1.5'/%3E%3Crect x='44' y='64' width='18' height='8' rx='1.5'/%3E%3Crect x='22' y='78' width='18' height='8' rx='1.5'/%3E%3Crect x='44' y='78' width='18' height='8' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") 50% 0 / auto 100% no-repeat, #d6dade; }

/* ---------- prices ---------- */
.lp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
/* FREE_ESTIMATES: the one plan, at the width of one of the two. */
.lp-plans.lp-plans-1 { grid-template-columns: minmax(0, 560px); }
.lp-plan { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px 36px; }
.lp-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px;
  font: 600 56px/1 var(--sans); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-price small { font: 500 15px/1 var(--sans); letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.lp .lp-plan h3 { margin-top: 14px; font: 400 26px/1.2 var(--serif); letter-spacing: -.008em; }
.lp-plan ul { align-self: stretch; margin-block: 22px 28px; }
.lp-plan li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-soft); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.lp-plan li svg { margin-top: 1px; color: var(--navy); }
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan.lp-full { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy), var(--shadow-doc); }
.lp-pay-closed { margin-top: auto; align-self: stretch; }
.lp-pay-note { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.lp-pay-note span { display: inline-flex; align-items: center; gap: 10px; }
.lp-pay-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- common questions (seo.faq: also the page's FAQPage markup) ---------- */
.lp-faq-sec { border-top: 1px solid var(--rule); }
.lp-faq { columns: 2; column-gap: 72px; margin-top: 48px; }
.lp-faq-item { border-top: 1px solid var(--rule); break-inside: avoid; }
.lp-faq-item summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp .lp-faq-item h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.006em; }
.lp-faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px;
  background: linear-gradient(var(--navy) 0 0) center / 14px 1.5px no-repeat, linear-gradient(var(--navy) 0 0) center / 1.5px 14px no-repeat; }
.lp-faq-item[open] summary::after { background: linear-gradient(var(--navy) 0 0) center / 14px 1.5px no-repeat; }
.lp-faq-item p { margin: -4px 0 24px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 36em; }

/* ---------- close: the page's one navy ground ---------- */
/* A faint 32px drafting grid over the navy. */
.lp-close { padding-block: clamp(72px, 8vw, 112px); color: var(--navy-ink); background:
  linear-gradient(90deg, rgb(201 169 107 / .6) 1px, transparent 1px) -1px 0 / 96px 12px repeat-x,
  linear-gradient(90deg, rgb(201 169 107 / .38) 1px, transparent 1px) -1px 0 / 24px 6px repeat-x,
  linear-gradient(rgb(185 198 214 / .12) 1px, transparent 1px) -1px -1px / 96px 96px,
  linear-gradient(90deg, rgb(185 198 214 / .12) 1px, transparent 1px) -1px -1px / 96px 96px,
  linear-gradient(rgb(185 198 214 / .05) 1px, transparent 1px) -1px -1px / 24px 24px,
  linear-gradient(90deg, rgb(185 198 214 / .05) 1px, transparent 1px) -1px -1px / 24px 24px,
  radial-gradient(70% 120% at 90% 0%, #19426d 0, rgb(25 66 109 / 0) 70%), var(--navy); }
.lp-close-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.lp .lp-close h2 { color: #fff; max-width: 14em; }
.lp .lp-close .lp-sub { color: var(--navy-muted); }
.lp-close .lp-actions { margin-top: 0; }
.lp-btn-paper, .lp-btn-paper:hover { color: var(--navy); }
.lp-btn-paper { background: var(--paper); box-shadow: 0 8px 24px -10px rgb(0 0 0 / .5); }
.lp-btn-paper:hover { background: #fff; }
.lp-btn-onnavy, .lp-btn-onnavy:hover { color: #fff; }
.lp-btn-onnavy { border-color: rgb(255 255 255 / .32); }
.lp-btn-onnavy:hover { border-color: #fff; background: rgb(255 255 255 / .06); }

/* ---------- base.html's footer, lined up with the page's content edge ---------- */
main.lp ~ footer.site { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .hx-board { left: -20px; }
  .lp-hero-vis .hx { margin-right: -28px; }
  .lp-hero-vis .hx-card { margin-right: 48px; }
  .tc-grid { gap: 12px; }
}
@media (max-width: 1023px) {
  .lp-hero-grid, .lp-split, .lp-risk-grid { grid-template-columns: 1fr; }
  .lp-hero-copy { padding-top: 0; }
  /* One column: the card first, so its most likely figure stays high; the
     board runs the screen's width behind the laser's measure, the card and
     the house under it, which plays when it is reached. */
  .lp-hero-vis { width: 100%; max-width: 620px; margin-inline: auto; display: flex; flex-direction: column; padding-bottom: 30px; }
  .hx-board { top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); }
  .lp-hero-vis .hx-card, .lp-hero-vis:not(.hx-on) .hx-card { order: 1; margin: 0; }
  .lp-hero-vis .hx { order: 2; margin: 18px -10px 0; }
  .hx-chips { top: 10% !important; }
  .hx-tape { order: 0; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 54px; color: #dfe8f1; }
  .hx-tape-w { position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; overflow: hidden; }
  .hx-tape-w i { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgb(223 232 241 / .7) 0 calc(50% - 116px), transparent calc(50% - 116px) calc(50% + 116px),
      rgb(223 232 241 / .7) calc(50% + 116px)) 0 50% / 100% 1px no-repeat,
    linear-gradient(#dfe8f1 0 0) 0 0 / 1.5px 100% no-repeat, linear-gradient(#dfe8f1 0 0) 100% 0 / 1.5px 100% no-repeat,
    linear-gradient(90deg, rgb(201 169 107 / .7) 1px, transparent 1px) 0 50% / 24px 6px repeat-x;
    -webkit-mask: linear-gradient(90deg, #000 calc(50% - 116px), transparent calc(50% - 116px) calc(50% + 116px), #000 calc(50% + 116px));
    mask: linear-gradient(90deg, #000 calc(50% - 116px), transparent calc(50% - 116px) calc(50% + 116px), #000 calc(50% + 116px)); }
  .hx-tape-w::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin: -3px -3px 0 0;
    border-radius: 50%; background: #ffe7b0; box-shadow: 0 0 8px 3px rgb(243 213 149 / .45); opacity: 0; }
  .hx-tape b, .hx-tape small { position: relative; font-variant-numeric: tabular-nums; }
  .hx-tape b { font: 600 14px/1.2 var(--sans); color: #fff; }
  .hx-tape small { font: 500 12.5px/1.2 var(--sans); color: var(--navy-200); }
  /* the laser's measure above the card says the house's size once: the
     drawing's own dimension lines would say it again under the card */
  .hx .hx-dims { display: none; }
  .lp-split-copy { position: static; }
  .lp-steps { grid-template-columns: 1fr; gap: 40px; }
  .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-excl-col { padding-top: 0; }
  /* The closing band's buttons under its words: beside them, two nowrap
     buttons squeezed the heading to a word or two a line (768px, 6 lines). */
  .lp-close-in { grid-template-columns: 1fr; align-items: start; }
}
/* 1024-1099px: the hero's column is about 460px, short of the two buttons
   side by side (486px): a little less padding, gap and column gap, rather than
   the second dropping under the first, ragged. */
/* 1024-1199px: the card lies over the middle of the drawing's right
   dimension line, so its figure moves along the line (the text's own units
   are feet along it) to where the board is clear. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hx .hx-dimk > g + g .dim-t { transform: translateX(7px); }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .lp-hero-grid { column-gap: 40px; }
  .lp-hero .lp-actions { gap: 10px; }
  .lp-hero .lp-actions .lp-btn { padding-inline: 16px; }
}
/* A tablet (640-1023px): each step a row, its words beside its drawing,
   rather than a drawing the column's full width under every step. */
@media (min-width: 640px) and (max-width: 1023px) {
  .lp-steps { gap: 36px; }
  .lp-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto auto 1fr;
    column-gap: 32px; align-items: start; }
  .lp-step > :not(.lp-frag) { grid-column: 1; }
  .lp-step > .lp-frag { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
}
@media (max-width: 959px) {
  .lp-nl { display: none; }
  .lp-nav .lp-btn { margin-left: 0; }
}
@media (max-width: 860px) {
  .lp-faq { columns: 1; margin-top: 32px; }
  .lp-faq-item:last-child { border-bottom: 1px solid var(--rule); }
  .lp-faq-item summary { padding-block: 16px; }
}
@media (max-width: 767px) {
  .lp-trust, .lp-trust.lp-trust-2 { grid-template-columns: 1fr; }
  .lp-trust li { padding: 15px 0; }
  .lp-trust li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-soft); }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-doors { grid-template-columns: 1fr; gap: 14px; }
}
/* Phones: the sample's most likely figure is on the first screen, the board
   and its laser measure just above it; the house plays under the card. */
@media (max-width: 639px) {
  main.lp { font-size: 16px; }
  .lp-sec { padding-block: 60px; }
  .lp-nav .lp-btn { padding: 0 14px; font-size: 14.5px; }
  .lp-brand .logo { height: 27px; }
  /* Nothing in the hero is cut off top to bottom; the board stops at the
     screen's sides. */
  .lp-hero { padding-top: 22px; overflow: visible; overflow-x: clip; }
  .lp-kicker { margin-bottom: 12px; font-size: 14px; gap: 10px; }
  .lp-kicker::before { width: 16px; }
  /* Never under another page's h1 (--fs-h1) at the same width. */
  .lp h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 2.5rem); line-height: 1.05; }
  .lp-lede { margin-top: 14px; font-size: 16px; line-height: 1.55; }
  .lp-fact { margin-top: 16px; gap: 7px; }
  .lp-fact li { font-size: 14.5px; gap: 10px; }
  .lp-fact svg { width: 16px; height: 16px; }
  .lp-actions { margin-top: 20px; gap: 10px; }
  .lp-actions .lp-btn { width: 100%; }
  .lp-hero-grid { gap: 16px; }
  .hx-tape { height: 42px; }
  .lp-hero-vis .hx { margin: 14px -6px 0; }
  .hx-chips, .hx-tag { display: none; }
  .hx-pin b { width: 22px; height: 22px; left: -11px; bottom: 16px; font-size: 11.5px; }
  .hx-pin::before { height: 15px; }
  .hx-pin::after { left: -4px; top: -4px; width: 8px; height: 8px; }
  .hx-pin em { left: 12px; bottom: 18px; padding: 3px 7px 3px 8px; font-size: 11px; }
  .hx-cnt { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .lp-doc-strip { padding: 8px 18px; min-height: 44px; }
  .lp-app-body { padding: 16px 18px 20px; }
  /* the pages under the full estimate stay inside the gutter */
  .lp-split > .lp-app::before { transform: translate(8px, 8px); }
  .lp-split > .lp-app::after { transform: translate(4px, 4px); }
  .lp-doc-title { font-size: 20px; }
  .lp-rangebox { margin-top: 14px; }
  .lp-val { font-size: 21px; }
  .lp-val.lp-likely { font-size: 30px; }
  .lp-line b, .lp-amt { font-size: 14.5px; }
  .lp-why { font-size: 13.5px; }
  .lp h2 { font-size: 30px; }
  .lp-head .lp-sub { font-size: 16.5px; }
  .lp-steps { margin-top: 36px; gap: 36px; }
  .lp-legend li { grid-template-columns: 10px minmax(0, 1fr) auto 2.8em; gap: 10px; }
  .lp-tl th:nth-child(3), .lp-tl td:nth-child(3), .lp-tl th:nth-child(4), .lp-tl td:nth-child(4) { display: none; }
  .lp-tl :is(th, td):nth-child(2) { width: 76px; }
  .lp-tl :is(th, td):nth-child(5) { width: 62px; }
  .lp-risk-grid, .lp-plans, .lp-doors { margin-top: 32px; }
  .lp-risk-card { padding: 22px 20px 8px; }
  .lp-flags li { padding-left: 26px; font-size: 15px; }
  .lp-excl li { font-size: 15px; }
  .tc-head { margin-top: 40px; }
  .tc-kicker { font-size: 18px; }
  .tc-note { font-size: 14px; }
  /* One column of cards, each its material beside its words: legible at 320px. */
  .tc-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .tc, .tc-kitchen { grid-column: auto; flex-direction: row; }
  .tc-mat, .tc-kitchen .tc-mat { flex: none; width: 88px; height: auto; border-bottom: 0; border-right: 1px solid var(--rule); }
  .tc-body, .tc-kitchen .tc-body { flex: 1; min-width: 0; padding: 12px 14px 14px; }
  .tc-h, .tc-kitchen .tc-h { font-size: 15px; }
  .tc-fig b, .tc-kitchen .tc-fig b { font-size: 20px; }
  .lp-door-b { padding: 20px; }
  .lp-door strong { font-size: 23px; }
  .lp-plan { padding: 26px 22px 24px; }
  .lp-plan .lp-btn { align-self: stretch; }
  .lp-price { font-size: 48px; }
  .lp .lp-plan h3 { font-size: 23px; }
  .lp-close .lp-actions { width: 100%; }
}
/* A phone: three columns left the work 112px at 320px, nine lines a row. The
   work across the full width, its quantity and total on a line under it, each
   labelled, as on a cost page and the estimate itself. */
@media (max-width: 480px) {
  .lp-tl, .lp-tl tbody { display: block; width: 100%; }
  .lp-tl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lp-tl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 13px 0;
    border-bottom: 1px solid var(--rule-soft); }
  .lp-tl td, .lp-tl td:first-child, .lp-tl :is(th, td):nth-child(n) { width: auto; padding: 0; border: 0; }
  .lp-tl td:first-child { grid-column: 1 / -1; }
  .lp-tl td:nth-child(2), .lp-tl td.lp-t { padding-top: 7px; }
  .lp-tl td:nth-child(2) { text-align: left; color: var(--muted); font-size: 13px; }
  .lp-tl td:nth-child(2)::before, .lp-tl td.lp-t::before { content: "Qty"; content: "Qty" / ""; margin-right: 8px;
    font: 600 11.5px/1 var(--sans); color: var(--muted); }
  .lp-tl td.lp-t::before { content: "Total"; content: "Total" / ""; }
}
@media (max-width: 359px) {
  .lp h1 { font-size: 33px; }
  /* Words wrap inside a button before they push the hero column wider than the
     screen, where .lp-hero's clip would cut the h1 and the lede off. */
  .lp-btn { white-space: normal; text-align: center; max-width: 100%; }
  .lp-nav .lp-btn { padding: 0 12px; font-size: 14px; }
  .lp-brand .logo { height: 24px; }
  /* The price card's button on one line at 320px: a little less padding, card and button. */
  .lp-plans .lp-plan { padding-inline: 20px; }
  .lp-plans .lp-btn { padding-inline: 18px; }
}
/* High contrast (forced colors): the home page's marks, as style.css draws the
   estimate's: lines in the text color, the point in the highlight color, the
   money split in its own colors with an edge. */
@media (forced-colors: active) {
  .lp-rangebar, .lp-compbar i, .lp-legend li > i, .lp-track li::before { forced-color-adjust: none; }
  .lp-rb-track::before { background: CanvasText; }
  .lp-rb-track::after { background:
    linear-gradient(CanvasText 0 0) 0 0 / 2px 100% no-repeat,
    linear-gradient(CanvasText 0 0) 100% 0 / 2px 100% no-repeat,
    linear-gradient(CanvasText 0 0) 25% 3px / 1px 8px no-repeat,
    linear-gradient(CanvasText 0 0) 50% 3px / 1px 8px no-repeat,
    linear-gradient(CanvasText 0 0) 75% 3px / 1px 8px no-repeat; }
  .lp-rb-dot { background: Highlight; box-shadow: 0 0 0 2px Canvas; outline: 1px solid CanvasText; }
  .lp-compbar i, .lp-legend li > i { outline: 1px solid CanvasText; outline-offset: -1px; }
  .lp-track li::before { top: 1px; height: 1px; background: CanvasText; }
  .lp-track li.lp-done::before { top: 0; height: 3px; }
  .lp-track li.lp-now::before { top: 0; height: 3px; background: Highlight; }
  .lp-track li.lp-now { text-decoration: underline; text-underline-offset: 3px; }
}
/* A phone on its side: see style.css. Here because this file's .lp-nav loads later. */
@media (max-height: 500px) {
  .lp-nav { position: static; }
  html { scroll-padding-top: 0; }
  .lp-split-copy { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp *, .lp *::before, .lp *::after, .lp-nav * { transition: none !important; animation: none !important; }
}

/* ---------- the drawings: colour (inline SVG, classes only) ----------
   True isometric, one unit a foot, light from the upper left: a solid shows
   its top lightest, then its left face, then its right. Walls are cut, their
   cut drawn as a filled section. Brass marks only what the estimate prices;
   cool blue is glass, water, fresh paint and the moisture barrier. */
.ill { --il-ink: #0f2f4f; --il-ink-2: #1b4470; --il-ink-3: #3a5f86;
  --il-w1: #fff; --il-w2: #f2ede4; --il-w3: #e2d9c9; --il-w4: #d3c8b4;
  --il-sky-1: #f1f6fb; --il-sky-2: #d9e5f1; --il-sky-3: #b7cde3; --il-sky-4: #7f9fc0;
  --il-br: #a98444; --il-br-2: #c9a96b; --il-br-3: #e4cfa3; }
.ill :where(svg) :where(path, rect, circle, ellipse) { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ill [pathLength] { vector-effect: none; }
/* seam seal: each face is stroked in its own fill, so faces meet without a hairline */
.ill :is(.w1, .w2, .w3, .w4, .cut, .cut2, .sl1, .sl2, .sl3) { stroke-width: .6; }
.ill :is(.bar, .pkst, .po1, .po2, .can1, .can2) { stroke-width: .4; }
.ill :is(.cab1, .cab2, .cab3, .ctr1, .ctr2, .ctr3, .st1, .st2, .st3, .ctn1, .ctn2, .ctn3) { stroke-width: .5; }
.ill .w1 { fill: var(--il-w1); stroke: var(--il-w1); }
.ill .w2 { fill: var(--il-w2); stroke: var(--il-w2); }
.ill .w3 { fill: var(--il-w3); stroke: var(--il-w3); }
.ill .w4 { fill: var(--il-w4); stroke: var(--il-w4); }
.ill .cut { fill: var(--il-ink); stroke: var(--il-ink); }
.ill .cut2 { fill: var(--il-ink-2); stroke: var(--il-ink-2); }
.ill .sl1 { fill: #ebe6dc; stroke: #ebe6dc; }
.ill .sl2 { fill: #d9d1c1; stroke: #d9d1c1; }
.ill .sl3 { fill: #c6bca8; stroke: #c6bca8; }
.ill .bar { fill: var(--il-sky-3); stroke: var(--il-sky-3); }
.ill .pkst { fill: #c19463; stroke: #c19463; }
.ill .cpt { fill: #d9d2c4; }
.ill .cptw { fill: #e7e1d5; }
.ill .tl { fill: #eeebe4; }
.ill .tlg { fill: none; stroke: rgb(15 47 79 / .13); stroke-width: .6; }
.ill .nic-h { fill: none; stroke: rgb(15 47 79 / .1); stroke-width: .7; }
/* oak: the job's own material, C's sample palette */
.ill .oak1 { fill: #d9b585; }
.ill .oak2 { fill: #d0a979; }
.ill .oak3 { fill: #c69d6c; }
.ill .seam { fill: none; stroke: rgb(110 74 38 / .3); stroke-width: .6; }
.ill .po1 { fill: #efe6d4; stroke: #efe6d4; }
.ill .po2 { fill: #e0d4bc; stroke: #e0d4bc; }
.ill .pn1 { fill: #e6eef6; }
.ill .pn2 { fill: #cfdcea; }
.ill .gl { fill: var(--il-sky-2); }
.ill .gl2 { fill: var(--il-sky-1); opacity: .85; }
.ill .fr { fill: var(--il-w1); }
.ill .frd { fill: var(--il-ink-2); }
.ill .cab1 { fill: #f5f2ec; stroke: #f5f2ec; }
.ill .cab2 { fill: #e4ded2; stroke: #e4ded2; }
.ill .cab3 { fill: #d0c7b7; stroke: #d0c7b7; }
.ill .cab4 { fill: #b9ae9b; }
.ill .cab-s { fill: none; stroke: rgb(15 47 79 / .22); stroke-width: .7; }
.ill .ctr1 { fill: #fbfaf7; stroke: #fbfaf7; }
.ill .ctr2 { fill: #e9e5dc; stroke: #e9e5dc; }
.ill .ctr3 { fill: #d9d2c4; stroke: #d9d2c4; }
.ill .sink { fill: #c7d5e3; }
.ill .st1 { fill: #f1f4f7; stroke: #f1f4f7; }
.ill .st2 { fill: #d9e0e7; stroke: #d9e0e7; }
.ill .st3 { fill: #c0cbd6; stroke: #c0cbd6; }
.ill .hdl { fill: none; stroke: var(--il-ink-3); stroke-width: 1.2; stroke-linecap: round; }
.ill .ctn1 { fill: var(--il-br-3); stroke: var(--il-br-3); }
.ill .ctn2 { fill: #d6bb84; stroke: #d6bb84; }
.ill .ctn3 { fill: #c2a467; stroke: #c2a467; }
.ill .can1 { fill: #eef2f6; stroke: #eef2f6; }
.ill .can2 { fill: var(--il-sky-3); stroke: var(--il-sky-3); }
.ill .can3 { fill: none; stroke: var(--il-sky-4); stroke-width: .7; }
.ill .lvl-f { fill: rgb(169 132 68 / .3); }
.ill .lvl-h { fill: none; stroke: rgb(122 90 30 / .55); stroke-width: .8; }
.ill .lvl-o { fill: none; stroke: var(--il-br); stroke-width: 1.4; stroke-dasharray: 5 3; }
.ill .uc { fill: none; stroke: var(--il-br); stroke-width: 2; stroke-linecap: round; }
.ill .mb { fill: none; stroke: var(--il-br); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.ill .sh { fill: rgb(15 47 79 / .08); }
.ill .csh { fill: rgb(15 47 79 / .085); }
/* the hero sits on the navy board: a white model, its cuts in paper, its
   shadow and dimensions in the board's own light */
.hx .cut { fill: #fbf9f4; stroke: #fbf9f4; }
.hx .cut2 { fill: #d8d0c1; stroke: #d8d0c1; }
.hx .sh { fill: rgb(4 18 33 / .42); }
.hx .dim { fill: none; stroke: rgb(223 232 241 / .6); stroke-width: 1; stroke-dasharray: 1; }
.hx .dimk { fill: none; stroke: #dfe8f1; stroke-width: 1.4; }
.hx .dim-t { fill: #dfe8f1; font: 600 1.25px/1 var(--sans); letter-spacing: .02px; }
.hx .lz { fill: #ffe7b0; }
.hx .lz-h { fill: rgb(243 213 149 / .3); }
.hx .hx-laser { opacity: 0; }

/* steps: the deck, the phone, the sheet */
.ill .fk-sh { fill: rgb(15 47 79 / .07); }
.ill .fk-card { fill: #fff; stroke: #d9d2c4; stroke-width: 1; }
.ill .fk-sw-e { fill: none; stroke: rgb(17 26 36 / .14); stroke-width: 1; }
.ill .fk-t { font: 600 11.5px/1 var(--sans); fill: var(--ink-2); letter-spacing: -.005em; }
.ill .fk-pull .fk-card { stroke: var(--il-ink); stroke-width: 1.5; }
.ill .fk-pull .fk-t { fill: var(--il-ink); }
.ill .fk-rv { fill: var(--il-br); }
.ill .fk-rv2 { fill: #fff; }
.ill .chk-c { fill: var(--il-br); stroke: #fff; stroke-width: 2; }
.ill .chk-p { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill .chip1 { fill: #5f7f99; } .ill .chip2 { fill: #8f9f88; } .ill .chip3 { fill: #d8c6a3; }
.ill .nv2 { fill: #4d6a86; } .ill .nv3 { fill: #2b3644; }
.ill .nv-s { fill: none; stroke: rgb(255 255 255 / .25); stroke-width: 1; }
.ill .brh { fill: none; stroke: var(--il-br-2); stroke-width: 1.8; stroke-linecap: round; }
.ill .wtile { fill: #f6f8fa; }
.ill .tlg2 { fill: none; stroke: #cdd6e0; stroke-width: 1; }
.ill .brk { fill: #e4e1db; }
.ill .cu { fill: none; stroke: #c9794a; stroke-width: 3.2; stroke-linecap: round; }
.ill .cu-f { fill: #a65c33; }
.ill .stud { fill: #e3c99c; stroke: #bc9c6c; stroke-width: .6; }
.ill .fr2 { fill: none; stroke: #fff; stroke-width: 1.4; }
.ill .ptr { fill: var(--il-ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ill .fk-ring { fill: none; stroke: var(--il-br); stroke-width: 1.8; opacity: 0; }
/* the deck at rest: fanned, the picks pulled out of it */
.ill .fk-turn { transform: rotate(var(--r, 0deg)); }
.ill .fk-pull { transform: translateY(-16px); }
.ill .fk-ptr { opacity: 0; }
.ill .dip { fill: rgb(15 47 79 / .08); }
.ill .mk-r { fill: rgb(169 132 68 / .16); stroke: var(--il-br); stroke-width: 1.2; }
.ill .mk-d { fill: var(--il-br); stroke: #fff; stroke-width: 1; }
.ill .pin-s { fill: none; stroke: var(--il-ink); stroke-width: 1.5; }
.ill .pin-h { fill: var(--il-ink); stroke: #fff; stroke-width: 2; }
.ill .pin-t { font: 700 10.5px/1 var(--sans); fill: #fff; }
.ill .vf { fill: none; stroke: #fff; stroke-width: 1.1; opacity: .9; }
.ill .scanb { fill: var(--il-sky-1); opacity: .45; }
.ill .scanl { fill: #fff; }
.ill .flash { fill: #fff; opacity: 0; }
.ill .s2-scan { opacity: 0; }
.ill .card { fill: #fff; stroke: var(--rule); stroke-width: 1; }
.ill .ph-body { fill: var(--il-ink); }
.ill .ph-edge { fill: none; stroke: #2a5079; stroke-width: 1.2; }
.ill .ph-sh { fill: rgb(15 47 79 / .12); }
.ill .ph-btn { fill: none; stroke: rgb(255 255 255 / .55); stroke-width: 1.2; }
.ill .ph-cam { fill: #2a5079; }
.ill .nvt { fill: var(--il-ink); }
.ill .ttl { fill: var(--il-ink-3); opacity: .85; }
.ill .rline { fill: none; stroke: var(--il-ink); stroke-width: 1.1; }
.ill .rdot { fill: var(--il-br); stroke: #fff; stroke-width: .6; }
.ill .rowb { fill: #e3ddd1; }
.ill .rowa { fill: var(--il-ink-3); opacity: .55; }
.ill .rows { fill: #eeeae2; }
.ill .tickp { fill: none; stroke: var(--il-br); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.ill .seal { fill: var(--il-br); stroke: #fff; stroke-width: 2; }
.ill .seal-r { fill: none; stroke: rgb(255 255 255 / .75); stroke-width: 1; }
.ill .seal-p { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .lens-g { fill: var(--il-sky-1); opacity: .5; }
.ill .lens-r { fill: none; stroke: var(--il-ink); stroke-width: 2.4; }
.ill .lens-h { fill: none; stroke: var(--il-ink); stroke-width: 4.5; stroke-linecap: round; }
.ill .lens-s { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .9; }
.ill .s3-lens { opacity: 0; }

/* ---------- the drawings: motion ----------
   One play per drawing, when a third of it is on screen (motion.js), on
   transform, opacity and stroke-dashoffset only. The CSS at rest is the last
   frame: keyframes only say where a part comes from, so with reduced motion,
   without JavaScript or in print every drawing is whole. Each play is done in
   about 1.5 s; nothing loops: the only idle is the hero's first pin ringing
   once, and every movement is over within 5 s (WCAG 2.2.2). */
: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-draw { from { stroke-dashoffset: 1; } }
@keyframes mo-slide { from { opacity: 0; transform: translateX(-2.4px); } 40% { opacity: 1; } }
@keyframes mo-ring { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: .55; } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes mo-flash { 0%, 100% { opacity: 0; } 30% { opacity: 1; } }

/* When a part starts: a fixed delay, plus --i (from its class i1, i2 ...)
   times its stagger in a series; --o shifts a whole drawing (the steps play
   left to right, the cost cards one column after another). */
.ill :is(.hx-pA, .hx-pB) { transform-box: fill-box; transform-origin: 0 50%; }
.ill :is(.fk-chk, .s3-seal, .s2-smk, .fk-rv) { transform-box: fill-box; transform-origin: 50% 50%; }
.ill .s2-pin { 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-hidden .ill, .mo-hidden .ill *, .mo-hidden .ill *::before, .mo-hidden .hx-board *, .mo-hidden .hx-board *::after,
.mo-hidden .hx-card *, .mo-hidden .hx-card *::before, .mo-hidden .hx-tape *, .mo-hidden .hx-tape *::after {
  animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  /* the board: a laser line wipes the grid on */
  @keyframes hx-wipe { from { transform: translateX(-100%); } }
  @keyframes hx-unwipe { from { transform: translateX(100%); } }
  @keyframes hx-beam { 0% { opacity: 0; } 6%, 90% { opacity: 1; } 100% { opacity: 0; } }
  .hx-wipe { animation: hx-wipe 1000ms var(--mo-io) both; }
  .hx-grid { animation: hx-unwipe 1000ms var(--mo-io) both; }
  .hx-wipe::after { animation: hx-beam 1000ms linear both; }

  /* the hero, ~1.4 s: measured, built, the two trades applied, the takeoff
     marks (area, length, count); the range's point travels meanwhile */
  .hx .hx-dl { --s: 180ms; animation: mo-draw 220ms var(--mo-io) both calc(100ms + var(--i, 0) * 180ms); }
  .hx .hx-laser0 { animation: hx-laser0 260ms var(--mo-io) both 80ms; }
  .hx .hx-laser1 { animation: hx-laser1 220ms var(--mo-io) both 270ms; }
  .hx .hx-dimk { animation: mo-fade 200ms var(--mo-out) both 360ms; }
  .hx .hx-sh { animation: mo-fade 280ms var(--mo-out) both 40ms; }
  .hx .hx-slab { animation: mo-rise 240ms var(--mo-out) both 40ms; }
  .hx .hx-floor { animation: mo-fade 200ms var(--mo-out) 100ms both; }
  .hx .hx-wall { animation: mo-drop 210ms var(--mo-click) both calc(120ms + var(--i, 0) * 36ms); }
  .hx :is(.hx-part, .hx-front, .hx-door) { animation: mo-drop 200ms var(--mo-click) both calc(180ms + var(--i, 0) * 10ms); }
  .hx .hx-csh { animation: mo-fade 200ms var(--mo-out) both 320ms; }
  .hx .hx-fix { animation: mo-drop-s 200ms var(--mo-click) both calc(290ms + var(--i, 0) * 16ms); }
  .hx .hx-row { animation: mo-slide 200ms var(--mo-out) both calc(380ms + var(--i, 0) * 13ms); }
  .hx .hx-ctn { animation: mo-drop 200ms var(--mo-click) both calc(350ms + var(--i, 0) * 44ms); }
  .hx .hx-can { animation: mo-drop-s 200ms var(--mo-click) both calc(400ms + var(--i, 0) * 36ms); }
  .hx .hx-pA { animation: mo-wipe 360ms var(--mo-io) 500ms both; }
  .hx .hx-pB { animation: mo-wipe 300ms var(--mo-io) 550ms both; }
  .hx .hx-chip { animation: mo-pop 200ms var(--mo-click) both; }
  .hx .hx-chip:nth-child(1) { animation-delay: 340ms; }
  .hx .hx-chip:nth-child(2) { animation-delay: 500ms; }
  .hx .hx-chip path { animation: mo-draw 200ms var(--mo-out) both; }
  .hx .hx-chip:nth-child(1) path { animation-delay: 420ms; }
  .hx .hx-chip:nth-child(2) path { animation-delay: 570ms; }
  .hx .hx-tag { animation: mo-fade 200ms var(--mo-out) 680ms both; }
  /* area, length, count: each mark, then its pin, then its line flashes */
  .hx .hx-lvl { animation: mo-fade 200ms var(--mo-out) 700ms both; }
  .hx .hx-mb { animation: mo-draw 200ms var(--mo-io) both calc(800ms + var(--i, 0) * 80ms); }
  .hx .hx-cnt { animation: mo-pop 200ms var(--mo-click) both; }
  .hx .hx-cnt1 { animation-delay: 950ms; } .hx .hx-cnt2 { animation-delay: 980ms; }
  .hx .hx-cnt3 { animation-delay: 1010ms; } .hx .hx-cnt4 { animation-delay: 1040ms; }
  .hx .hx-pin { animation: mo-drop 200ms var(--mo-click) both; }
  .hx .hx-pin em { animation: mo-fade 200ms var(--mo-out) both; }
  .hx .hx-pin-lvl { animation-delay: 740ms; } .hx .hx-pin-lvl em { animation-delay: 860ms; }
  .hx .hx-pin-slab { animation-delay: 900ms; } .hx .hx-pin-slab em { animation-delay: 1020ms; }
  .hx .hx-pin-door { animation-delay: 1080ms; } .hx .hx-pin-door em { animation-delay: 1200ms; }
  .hx .hx-pin-lvl i { animation: mo-ring 1600ms var(--mo-out) 1300ms both; }
  /* the range's point travels from the low end to the most likely figure
     while the house is built: the figures themselves are the server's text
     from the first frame. (The range bar is its own .ill[data-play]: on a
     phone it plays when it is on screen, not under the screen's foot.) */
  @supports (width: 1cqw) {
    .hx-card .lp-rb-track { container-type: inline-size; }
    @keyframes hx-dot { from { transform: translate(calc(-50% - var(--at, 0) * 1cqw), -50%); opacity: 0; } 18% { opacity: 1; } }
    .hx-on .hx-card .lp-rb-dot { animation: hx-dot 700ms var(--mo-io) both 450ms; }
  }
  .hx-on .hx-card .lp-line[data-n]::before { animation: mo-flash 600ms var(--mo-out) both; }
  .hx-on .hx-card .lp-line[data-n="1"]::before { animation-delay: 750ms; }
  .hx-on .hx-card .lp-line[data-n="2"]::before { animation-delay: 910ms; }
  .hx-on .hx-card .lp-line[data-n="3"]::before { animation-delay: 1090ms; }
  .hx-on .hx-card .lp-line.is-lit::before { animation: none; }
  /* a line under the screen's foot when the page opens (motion.js) would
     flash unseen: it waits, and flashes (its pin lit with it) once it is
     scrolled to */
  .hx-on .hx-card .lp-line.mo-unseen::before { animation: none; }
  .hx-on .hx-card .lp-line.mo-late::before { animation: mo-flash 900ms var(--mo-out) both 0ms; }

  /* 1 pick: the deck fans open, the pointer pulls the sample's picks out */
  @keyframes fk-open { from { transform: rotate(0deg); } }
  @keyframes fk-pull { from { transform: none; } }
  .s1 .fk-sh { animation: mo-fade 230ms var(--mo-out) both var(--o, 0ms); }
  .s1 .fk-turn { --s: 27ms; animation: fk-open 240ms var(--mo-out) both calc(var(--o, 0ms) + 46ms + var(--k, 0) * 27ms); }
  .s1 .fk1 { --k: 1; } .s1 .fk2 { --k: 2; } .s1 .fk3 { --k: 3; } .s1 .fk4 { --k: 4; } .s1 .fk5 { --k: 5; }
  .s1 .fk-rv { animation: mo-pop 200ms var(--mo-click) both var(--o, 0ms); }
  .s1-re .fk-ptr { animation: fk-ptr-re 570ms var(--mo-io) both calc(var(--o, 0ms) + 340ms); }
  .s1-re .fk-ring { animation: fk-ring-re 570ms linear both calc(var(--o, 0ms) + 340ms); }
  .s1-re .fk-pull0 { animation: fk-pull 200ms var(--mo-click) both calc(var(--o, 0ms) + 540ms); }
  .s1-re .fk-pull1 { animation: fk-pull 200ms var(--mo-click) both calc(var(--o, 0ms) + 770ms); }
  .s1-re .fk-chk0 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 590ms); }
  .s1-re .fk-chk1 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 820ms); }
  .s1-nc .fk-ptr { animation: fk-ptr-nc 800ms var(--mo-io) both calc(var(--o, 0ms) + 340ms); }
  .s1-nc .fk-ring { animation: fk-ring-nc 800ms linear both calc(var(--o, 0ms) + 340ms); }
  .s1-nc .fk-pull0 { animation: fk-pull 200ms var(--mo-click) both calc(var(--o, 0ms) + 550ms); }
  .s1-nc .fk-pull1 { animation: fk-pull 200ms var(--mo-click) both calc(var(--o, 0ms) + 760ms); }
  .s1-nc .fk-pull2 { animation: fk-pull 200ms var(--mo-click) both calc(var(--o, 0ms) + 980ms); }
  .s1-nc .fk-chk0 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 600ms); }
  .s1-nc .fk-chk1 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 820ms); }
  .s1-nc .fk-chk2 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 1030ms); }
  @keyframes s1-unpicked { from { opacity: 1; } }
  .s1-picks-nc .lp-on::before { animation: s1-unpicked 200ms var(--mo-out) both calc(var(--o, 0ms) + 550ms); }
  .s1-picks-re .lp-on:nth-child(1)::before { animation: s1-unpicked 200ms var(--mo-out) both calc(var(--o, 0ms) + 540ms); }
  .s1-picks-re .lp-on:nth-child(2)::before { animation: s1-unpicked 200ms var(--mo-out) both calc(var(--o, 0ms) + 760ms); }

  /* 2 photos: the phone, the scan down its screen, the pins land in the room,
     shutter, the photo joins the others */
  .s2 .s2-sh { animation: mo-fade 230ms var(--mo-out) both var(--o, 0ms); }
  .s2 .s2-base { animation: mo-rise 200ms var(--mo-out) both var(--o, 0ms); }
  .s2 .s2-wall { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 53ms + var(--i, 0) * 34ms); }
  .s2 .s2-phone { animation: mo-rise 200ms var(--mo-out) both calc(var(--o, 0ms) + 160ms); }
  .s2 .s2-card { animation: mo-fade 200ms var(--mo-out) both calc(var(--o, 0ms) + 230ms); }
  .s2 .s2-scan { animation: s2-scan 490ms var(--mo-io) both calc(var(--o, 0ms) + 340ms); }
  .s2 .s2-smk1 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 590ms); }
  .s2 .s2-smk0 { animation: mo-pop 200ms var(--mo-click) both calc(var(--o, 0ms) + 710ms); }
  .s2 .s2-pin0 { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 840ms); }
  .s2 .s2-pin1 { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 900ms); }
  @keyframes s2-flash { 30% { opacity: .85; } }
  .s2 .s2-flash { animation: s2-flash 200ms var(--mo-out) both calc(var(--o, 0ms) + 990ms); }
  .s2 .s2-new { animation: s2-fly 240ms var(--mo-click) both calc(var(--o, 0ms) + 1030ms); }
  .lp-obs li::before { animation: mo-pop 200ms var(--mo-click) both; }
  .lp-obs li:nth-child(1)::before { animation-delay: calc(var(--o, 0ms) + 860ms); }
  .lp-obs li:nth-child(2)::before { animation-delay: calc(var(--o, 0ms) + 930ms); }

  /* 3 checked: the sheet, its lines, a reviewer's lens down them, a tick each, the seal */
  .s3 .s3-sh { animation: mo-fade 230ms var(--mo-out) both var(--o, 0ms); }
  .s3 .s3-under { animation: mo-drop 200ms var(--mo-click) both var(--o, 0ms); }
  .s3 .s3-sheet { animation: mo-drop 200ms var(--mo-click) both calc(var(--o, 0ms) + 46ms); }
  .s3 .s3-row { transform-box: fill-box; transform-origin: 0 50%; }
  .s3 .s3-row { animation: mo-wipe 200ms var(--mo-out) both calc(var(--o, 0ms) + 180ms + var(--i, 0) * 34ms); }
  .s3 .s3-lens { animation: s3-lens 760ms var(--mo-io) both calc(var(--o, 0ms) + 340ms); }
  .s3 .s3-tick { animation: mo-draw 200ms var(--mo-out) both calc(var(--o, 0ms) + 450ms + var(--i, 0) * 140ms); }
  @keyframes s3-stamp { from { opacity: 0; transform: scale(1.7); } 60% { opacity: 1; transform: scale(.94); } }
  .s3 .s3-seal { animation: s3-stamp 300ms var(--mo-out) both calc(var(--o, 0ms) + 1080ms); }
  .s3-track li::before { transform-origin: 0 50%; }
  .s3-track li.lp-done::before { animation: mo-wipe 200ms var(--mo-out) both calc(var(--o, 0ms) + 270ms); }
  .s3-track li.lp-now::before { animation: mo-wipe 200ms var(--mo-out) both calc(var(--o, 0ms) + 420ms); }
  @keyframes s3-pulse { 50% { opacity: .45; } }
  .s3-track li.lp-now { animation: s3-pulse 1400ms ease-in-out both calc(var(--o, 0ms) + 1400ms); }

  /* cost cards: each point travels from the low end to its most likely figure */
  @supports (width: 1cqw) {
    .tc-range { container-type: inline-size; }
    @keyframes tc-dot { from { transform: translate(calc(-50% - var(--at, 0) * 1cqw), -50%); opacity: 0; } 18% { opacity: 1; } }
    .tc.ill .tc-pt { animation: tc-dot 900ms var(--mo-io) both calc(var(--o, 0ms) + 250ms); }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .lp-steps > .lp-step:nth-child(2) { --o: 150ms; }
  .lp-steps > .lp-step:nth-child(3) { --o: 300ms; }
  .tc-grid > :nth-child(2) { --o: 100ms; } .tc-grid > :nth-child(3) { --o: 200ms; }
  .tc-grid > :nth-child(4) { --o: 100ms; } .tc-grid > :nth-child(5) { --o: 200ms; }
  .tc-grid > :nth-child(6) { --o: 300ms; } .tc-grid > :nth-child(7) { --o: 400ms; }
}
/* One column: the card leads, so the laser measures on the board above it
   as the page opens; the range's point travels when its bar is on screen,
   the house below plays on its own when it is reached, its lines no longer
   flash in time. */
@media (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  .hx-tape-w { animation: hx-wipe 1000ms var(--mo-io) both; }
  .hx-tape-w i { animation: hx-unwipe 1000ms var(--mo-io) both; }
  .hx-tape-w::after { animation: hx-beam 1000ms linear both; }
  .hx-tape b, .hx-tape small { animation: mo-fade 400ms var(--mo-out) both 850ms; }
  .hx-on .hx-card .lp-line[data-n]::before { animation: none; }
  /* The tape is a drawing of its own (landing.html .hx-tape.ill[data-play]):
     on a short phone it opens under the screen's foot, so it and the board's
     laser hold their first frame until the tape is seen (motion.js), rather
     than play out of sight. Its beam is an ::after, which the rule above
     doesn't reach. */
  .mo .hx-tape.ill:not(.run) *::after,
  .mo .hx-on:has(.hx-tape.ill:not(.run)) .hx-board *,
  .mo .hx-on:has(.hx-tape.ill:not(.run)) .hx-board *::after { animation-play-state: paused !important; }
}

/* Printed, every drawing is its final frame (the CSS at rest), seen or not. */
@media print {
  .ill, .ill *, .ill *::before, .ill *::after, .hx-board *, .hx-board *::after,
  .hx-card *, .hx-card *::before, .hx-tape *, .hx-tape *::after { 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}.i23{--i:23}.i24{--i:24}.i25{--i:25}.i26{--i:26}.i27{--i:27}
/* hero: 17 plank strips */
@keyframes hx-laser0 { 0% { opacity: 0; transform: translate(-311.8px, -180px); } 12% { opacity: 1; transform: translate(-311.8px, -180px); } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes hx-laser1 { 0% { opacity: 0; transform: translate(-251.1px, 145px); } 12% { opacity: 1; transform: translate(-251.1px, 145px); } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.hx-chips { left: 69.06%; top: 4.51%; }
.hx-cnt1 { left: 41.04%; top: 56.13%; }
.hx-cnt2 { left: 54.40%; top: 67.24%; }
.hx-cnt3 { left: 38.58%; top: 66.51%; }
.hx-cnt4 { left: 83.45%; top: 65.88%; }
.hx-pin-door { left: 46.56%; top: 62.89%; }
.hx-pin-lvl { left: 72.94%; top: 59.06%; }
.hx-pin-slab { left: 16.56%; top: 63.21%; }
.hx-tag-bath { left: 37.56%; top: 69.81%; }
.hx-tag-kitchen { left: 37.83%; top: 39.83%; }
@keyframes fk-ptr-nc { 0% { opacity: 0; transform: translate(-32.9px, 73.2px); } 8% { opacity: 1; } 22%, 28.7% { transform: translate(-92.9px, 23.2px); } 48.7%, 55.3% { transform: translate(-49.4px, 0px); } 75.3%, 82% { transform: translate(0px, 0px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translate(24px, 16px); } }
@keyframes fk-ring-nc { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 0; transform: translate(-92.9px, 23.2px) scale(.3); } 25.5% { opacity: .9; transform: translate(-92.9px, 23.2px) scale(.5); } 34.5% { opacity: 0; transform: translate(-92.9px, 23.2px) scale(1.5); } 51.6% { opacity: 0; transform: translate(-49.4px, 0px) scale(.3); } 52.1% { opacity: .9; transform: translate(-49.4px, 0px) scale(.5); } 61.1% { opacity: 0; transform: translate(-49.4px, 0px) scale(1.5); } 78.3% { opacity: 0; transform: translate(0px, 0px) scale(.3); } 78.8% { opacity: .9; transform: translate(0px, 0px) scale(.5); } 87.8% { opacity: 0; transform: translate(0px, 0px) scale(1.5); } 100% { opacity: 0; } }
@keyframes fk-ptr-re { 0% { opacity: 0; transform: translate(10.6px, 50px); } 8% { opacity: 1; } 28%, 38% { transform: translate(-49.4px, 0px); } 68%, 78% { transform: translate(0px, 0px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translate(24px, 16px); } }
@keyframes fk-ring-re { 0% { opacity: 0; transform: scale(.3); } 32.7% { opacity: 0; transform: translate(-49.4px, 0px) scale(.3); } 33.2% { opacity: .9; transform: translate(-49.4px, 0px) scale(.5); } 42.2% { opacity: 0; transform: translate(-49.4px, 0px) scale(1.5); } 72.7% { opacity: 0; transform: translate(0px, 0px) scale(.3); } 73.2% { opacity: .9; transform: translate(0px, 0px) scale(.5); } 82.2% { opacity: 0; transform: translate(0px, 0px) scale(1.5); } 100% { opacity: 0; } }
.fk0 { --r: -70deg; }
.fk1 { --r: -42deg; }
.fk2 { --r: -14deg; }
.fk3 { --r: 14deg; }
.fk4 { --r: 42deg; }
.fk5 { --r: 70deg; }
@keyframes s2-scan { 0% { opacity: 0; transform: none; } 10%, 86% { opacity: 1; } 100% { opacity: 0; transform: translateY(110px); } }
@keyframes s2-fly { from { opacity: 0; transform: translate(-65.9px, 75.4px) scale(.6); } 30% { opacity: 1; } }
@keyframes s3-lens { 0% { opacity: 0; transform: translate(24.1px, -51.3px); } 10% { opacity: 1; transform: translate(54.1px, -31.3px); } 28% { opacity: 1; transform: translate(40.6px, -23.4px); } 46% { opacity: 1; transform: translate(27.1px, -15.6px); } 64% { opacity: 1; transform: translate(13.5px, -7.8px); } 82% { opacity: 1; transform: translate(0px, 0px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translate(20px, 10px); } }
/* ---- end of generated ---- */
