/* The estimate tool (tools/estimate.py, rr-estimate.js): a conversation, one question at a time, phone first. Same
   palette and type as the rest of the site (rr-pages.css). Motion is gentle and off with reduced motion. */
.est{--ink:#071d3b;--ink-2:#2b3d58;--muted:#5d6b82;--red:#d92f35;--red-dk:#b5232a;--cream:#f6f0e7;--sand:#efe5d6;--line:#e2d6c4;
  --card:#fffdf9;--ok:#2f7d55;min-height:100dvh;display:flex;flex-direction:column;background:
  radial-gradient(120% 70% at 100% 0%,rgba(217,47,53,.07),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(7,29,59,.06),transparent 60%),var(--cream)}
.est *{box-sizing:border-box}
.est-top{position:sticky;top:0;z-index:5;background:rgba(246,240,231,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.est-bar{max-width:720px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;gap:12px;min-height:58px}
.est-bar .logo img{display:block;height:22px;width:auto}
.est-back{all:unset;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--ink);margin-left:-8px}
.est-back[hidden]{display:none}
.est-back:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.est-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.est-call{margin-left:auto;color:var(--ink);font:700 13px/1 var(--sans);text-decoration:none;border-bottom:2px solid var(--red);padding-bottom:2px;white-space:nowrap}
/* The road: a dashed line the little truck drives along as they answer. */
.est-road{position:relative;height:18px;max-width:720px;margin:0 auto;padding:0 18px}
.est-road::before{content:"";position:absolute;left:18px;right:18px;top:9px;border-top:2px dashed #cdbfa9}
.est-road i{position:absolute;left:18px;top:8px;height:4px;border-radius:2px;background:var(--red);width:0;transition:width .6s cubic-bezier(.2,.7,.2,1)}
.est-road svg{position:absolute;top:-1px;width:28px;height:18px;transform:translateX(-50%);transition:left .6s cubic-bezier(.2,.7,.2,1)}
.est-main{flex:1;width:100%;max-width:720px;margin:0 auto;padding:26px 18px 132px;position:relative}
.step{position:relative;animation:stepIn .22s ease-out both}
.step.step-still{animation:none}
.step.step-out{position:absolute;z-index:2;pointer-events:none;animation:stepOut .18s ease-out both}
.step-out *{animation:none!important;transition:none!important}
.step.back:not(.step-out){animation-name:stepBack}
@keyframes stepIn{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes stepOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px)}}
@keyframes stepBack{from{opacity:.65;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* Room & Road talking: a small emblem, then the words. */
.say{display:flex;gap:12px;align-items:flex-start;margin-bottom:22px}
.say .me{flex:none;width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font:600 13px/1 var(--serif);letter-spacing:.02em;margin-top:4px;box-shadow:0 6px 16px rgba(7,29,59,.18)}
.say .words{flex:1;min-width:0}
.say .react{display:inline-block;background:var(--card);border:1px solid var(--line);border-radius:16px 16px 16px 4px;padding:9px 14px;margin:0 0 12px;font-size:15px;color:var(--ink-2);box-shadow:0 6px 18px rgba(7,29,59,.06);animation:pop .45s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes pop{from{opacity:0;transform:scale(.9) translateY(6px)}to{opacity:1;transform:none}}
.say h1,.say h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.75rem,6.4vw,2.6rem);line-height:1.08;letter-spacing:-.015em;margin:0;color:var(--ink)}
.say h1 em,.say h2 em{color:var(--red);font-style:italic;font-weight:500}
.say p{margin:10px 0 0;color:var(--ink-2);font-size:16px;line-height:1.55}
/* Answers */
.field{display:block;margin:0 0 14px}
.field>span{display:block;font:700 12px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.est input[type=text],.est input[type=email],.est input[type=tel],.est input[type=date],.est input[type=search]{width:100%;min-height:58px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font:600 18px/1.3 var(--sans);transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.est input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 4px rgba(7,29,59,.08)}
.est input::placeholder{color:#a3a9b5;font-weight:500}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choices{display:grid;gap:10px}
.choices.two{grid-template-columns:1fr 1fr}
.choices.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.choices.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:560px){.choices.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
.choice{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:14px;min-height:64px;padding:14px 16px;border:1.5px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);font:700 16px/1.25 var(--sans);transition:border-color .15s,transform .15s,box-shadow .15s,background .15s;-webkit-tap-highlight-color:transparent}
.choice:hover{border-color:#c8b99f}
.choice:active{transform:scale(.98)}
.choice:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.choice[aria-pressed=true]{border-color:var(--ink);background:#fff;box-shadow:0 8px 22px rgba(7,29,59,.12),inset 0 0 0 1px var(--ink)}
.choice small{display:block;margin-top:3px;font:500 13.5px/1.35 var(--sans);color:var(--muted)}
.choice .ic{flex:none;width:44px;height:44px;border-radius:12px;background:var(--sand);display:grid;place-items:center;color:var(--ink)}
.choice[aria-pressed=true] .ic{background:var(--ink);color:#fff}
.choice .ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.choice.tile{flex-direction:column;justify-content:center;text-align:center;gap:8px;min-height:112px;padding:14px 8px}
.choice.num{flex-direction:column;justify-content:center;gap:0;min-height:70px;padding:10px 4px;text-align:center;font:600 24px/1 var(--serif)}
.choice.num small{font:600 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin-top:6px}
.choice.chip{min-height:46px;padding:10px 14px;border-radius:999px;font-size:14.5px;gap:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.hint{font-size:14px;color:var(--muted);margin:8px 2px 0}
.err{color:var(--red-dk);font-weight:700;font-size:14px;margin:10px 2px 0}
/* Address suggestions */
.addr{position:relative}
.sugs{list-style:none;margin:8px 0 0;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 34px rgba(7,29,59,.12)}
.sugs[hidden]{display:none}
.sugs button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:10px;align-items:flex-start;width:100%;padding:12px;border-radius:10px;font:600 15.5px/1.35 var(--sans);color:var(--ink)}
.sugs button:hover,.sugs button:focus-visible{background:var(--sand);outline:none}
.sugs svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:var(--red);stroke-width:2}
.picked{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:14px;background:#fff;border:1.5px solid var(--ink);font-weight:700}
.picked svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--ok);stroke-width:2.2}
.picked button{all:unset;cursor:pointer;margin-left:auto;color:var(--red);font-size:13.5px;border-bottom:1.5px solid currentColor}
/* Stepper (floors) */
.stepper{display:flex;align-items:center;gap:14px}
.stepper button{all:unset;cursor:pointer;width:56px;height:56px;border-radius:50%;border:1.5px solid var(--line);background:var(--card);display:grid;place-items:center;font:600 26px/1 var(--sans);color:var(--ink)}
.stepper output{min-width:72px;text-align:center;font:600 40px/1 var(--serif)}
.toggle{display:flex;gap:10px;margin-top:16px}
/* The room that fills up */
.room{border-radius:20px;overflow:hidden;background:#fbf7f1;border:1px solid var(--line);box-shadow:0 14px 36px rgba(7,29,59,.08)}
.room svg{display:block;width:100%;height:auto}
.room .lv{opacity:0;transform:translateY(8px) scale(.97);transform-origin:50% 100%;transform-box:fill-box;transition:opacity .35s ease,transform .45s cubic-bezier(.2,.9,.3,1.2)}
.room .lv.on{opacity:1;transform:none}
.clutter-out{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:16px 2px 8px}
.clutter-out b{font:600 44px/1 var(--serif);color:var(--ink)}
.clutter-out b small{font:700 14px/1 var(--sans);color:var(--muted);margin-left:4px}
.clutter-out span{font-size:15px;color:var(--ink-2);text-align:right;max-width:70%}
.est input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:44px;background:transparent;margin:0;touch-action:pan-y}
.est input[type=range]::-webkit-slider-runnable-track{height:10px;border-radius:5px;background:linear-gradient(90deg,var(--red) var(--fill,50%),#dccfbb var(--fill,50%))}
.est input[type=range]::-moz-range-track{height:10px;border-radius:5px;background:#dccfbb}
.est input[type=range]::-moz-range-progress{height:10px;border-radius:5px;background:var(--red)}
.est input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:34px;margin-top:-12px;border-radius:50%;background:#fff;border:3px solid var(--ink);box-shadow:0 4px 12px rgba(7,29,59,.25)}
.est input[type=range]::-moz-range-thumb{width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid var(--ink)}
.ends{display:flex;justify-content:space-between;font:700 11.5px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
/* Specialty items */
.lines{display:grid;gap:8px;margin-top:12px}
.line{display:flex;gap:8px;align-items:center}
.line input[type=text]{min-height:50px;font-size:16px}
.line .qty{flex:none;width:76px}
.line button{all:unset;cursor:pointer;flex:none;width:40px;height:40px;display:grid;place-items:center;color:var(--muted);border-radius:50%}
.line button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.add-line{all:unset;cursor:pointer;margin-top:10px;color:var(--ink);font:700 14.5px/1 var(--sans);border-bottom:2px solid var(--red);padding-bottom:2px}
.note{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--sand);font-size:14px;color:var(--ink-2)}
/* Consent */
.consent{display:flex;gap:12px;align-items:flex-start;margin:6px 0 0;font-size:14.5px;color:var(--ink-2);line-height:1.45;cursor:pointer}
.consent input{flex:none;width:22px;height:22px;margin-top:1px;accent-color:var(--ink)}
.trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* The button that moves them on: pinned at the bottom on phones, inline on wide screens. */
.next{position:fixed;left:0;right:0;bottom:0;z-index:6;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(246,240,231,0),var(--cream) 30%)}
.next[hidden]{display:none}
.next .in{max-width:720px;margin:0 auto;padding:0 18px;display:flex;gap:10px}
.go{all:unset;box-sizing:border-box;cursor:pointer;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border-radius:14px;background:var(--red);color:#fff;font:800 15px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 12px 26px rgba(217,47,53,.28);transition:background .15s,transform .15s,opacity .15s}
.go:hover{background:var(--red-dk)}
.go:active{transform:scale(.985)}
.go[disabled]{opacity:.38;box-shadow:none;cursor:default}
.go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.go.ink{background:var(--ink);box-shadow:0 12px 26px rgba(7,29,59,.22)}
.skip{all:unset;cursor:pointer;color:var(--ink);font:700 14px/1 var(--sans);border-bottom:2px solid var(--red);padding-bottom:2px;margin-top:14px;display:inline-block}
/* Intro: the first box gets packed */
.intro{text-align:center;padding-top:6px}
.intro .boxart{width:min(78vw,320px);margin:0 auto 10px;display:block}
.intro h1{font-family:var(--serif);font-weight:600;font-size:clamp(2.2rem,9vw,3.6rem);line-height:1.02;letter-spacing:-.02em;margin:8px 0 12px}
.intro h1 em{color:var(--red);font-style:italic;font-weight:500}
.intro p{color:var(--ink-2);font-size:17px;max-width:30em;margin:0 auto}
.promise{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin:22px 0 0;padding:0;list-style:none;font:700 13px/1 var(--sans);color:var(--ink)}
.promise li{display:flex;align-items:center;gap:7px}
.promise svg{width:16px;height:16px;fill:none;stroke:var(--ok);stroke-width:2.4}
/* Doing the math: the truck drives */
.working{text-align:center;padding-top:40px}
.working svg{width:min(70vw,260px);height:auto}
.working .wheel{transform-box:fill-box;transform-origin:center;animation:spin .6s linear infinite}
.working .road-lines{animation:roadMove .5s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes roadMove{to{transform:translateX(-24px)}}
.working h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.6rem,6vw,2.2rem);margin:18px 0 6px}
.working p{color:var(--muted)}
/* The result */
.result .card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 22px;box-shadow:0 22px 50px rgba(7,29,59,.1);position:relative;overflow:hidden}
.result .card::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,var(--red),#f0767a)}
.result .eyebrow{font:800 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin:4px 0 12px}
.result .range{font:600 clamp(2.1rem,10.4vw,4.2rem)/1 var(--serif);letter-spacing:-.02em;color:var(--ink);margin:0;white-space:nowrap}
.result .range span{color:var(--muted);font-weight:500;margin:0 .12em}
.result .facts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.result .facts span{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:var(--sand);font:700 13.5px/1 var(--sans);color:var(--ink)}
.result .facts svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}
.result ul.inc{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:9px;font-size:15px;color:var(--ink-2)}
.result ul.inc li{display:flex;gap:10px;align-items:flex-start}
.result ul.inc svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:var(--ok);stroke-width:2.4}
.result .fine{font-size:13px;color:var(--muted);margin:16px 0 0;line-height:1.5}
.lock{margin-top:22px;padding:22px;border-radius:22px;background:var(--ink);color:#fff}
.lock h3{font-family:var(--serif);font-weight:600;font-size:1.6rem;line-height:1.1;margin:0 0 8px;color:#fff}
.lock h3 em{color:#ff8a8e;font-style:italic;font-weight:500}
.lock p{color:#c9d2e0;margin:0 0 16px;font-size:15.5px}
.lock .choices.two .choice{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);color:#fff;min-height:54px;justify-content:center}
.lock .choices.two .choice[aria-pressed=true]{background:#fff;color:var(--ink)}
.lock .choice svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
.lock .go{margin-top:12px;width:100%}
.lock .reach{display:flex;gap:18px;justify-content:center;margin-top:16px}
.lock .reach a{color:#fff;font-weight:700;text-decoration:none;border-bottom:2px solid var(--red);padding-bottom:2px}
.done{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:16px;background:rgba(47,125,85,.15);color:#fff}
.done svg{flex:none;width:26px;height:26px;fill:none;stroke:#7fdcaa;stroke-width:2.4}
.est-foot{text-align:center;padding:18px 18px calc(108px + env(safe-area-inset-bottom));font-size:12.5px;color:var(--muted)}
.est-foot a{color:var(--muted)}
@media (min-width:760px){
  .est-main{padding:48px 18px 80px}
  .next{position:static;padding:22px 0 0;background:none}
  .next .in{padding:0}
  .est-foot{padding-bottom:28px}
  .choices.wide-2{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  .est *{animation:none!important;transition:none!important}
  .boxart .tape{stroke-dashoffset:0}
  .boxart .label{opacity:1}
}
/* A quiet picture book: generous paper surfaces and a tactile packing vignette. */
.est{background:var(--cream);--muted:#536177}
.est-bar{max-width:1160px;min-height:76px;padding:12px 24px}
.est-bar .logo img{height:26px}
.est-call{min-height:48px;display:flex;align-items:center;border:0;text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:6px}
.est-back{width:48px;height:48px}
.est-progress{max-width:684px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:6px 0 12px;font:700 12px/1.3 var(--sans);color:var(--ink-2)}
.est-time{font-variant-numeric:tabular-nums;color:var(--ink);background:var(--sand);padding:7px 11px;border-radius:20px;min-width:85px;text-align:center}
.est-road{margin-bottom:6px}
.est-main{padding-top:38px}
.say{gap:14px;margin-bottom:30px}
.say .me{width:44px;height:44px;background:transparent;box-shadow:none;margin-top:0}
.say .me img{width:100%;height:100%;object-fit:contain}
.say h1{font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.12}
.say .react{border:0;padding:0;background:none;box-shadow:none;color:var(--muted);font-size:13px;margin-bottom:10px}
.choice{border-radius:12px;box-shadow:0 3px 0 rgba(226,214,196,.25);padding:17px 18px;min-height:78px}
.choice[aria-pressed=true]{background:var(--sand);box-shadow:inset 0 0 0 1px var(--ink)}
.choice .ic{background:transparent;border-radius:0}
.choice[aria-pressed=true] .ic{background:transparent;color:var(--red-dk)}
.choice.chip{min-height:48px}
.choice small{line-height:1.5}
.est input::placeholder{color:#687386}
.go{background:var(--red-dk);letter-spacing:0;text-transform:none;font-size:16px;border-radius:12px;box-shadow:0 6px 0 rgba(181,35,42,.1)}
.go[disabled]{opacity:1;background:#ded5c9;color:#536177}
.next .in{padding:0;max-width:684px}
.skip,.add-line{min-height:48px;display:inline-flex;align-items:center;padding-bottom:0}
.picked button,.line button{min-width:48px;min-height:48px}
.est :is(button,a,input):focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.lock :is(button,a):focus-visible{outline-color:#fffdf9}
.intro{padding-top:0}
.intro h1{font-size:clamp(2.5rem,6vw,4rem);max-width:540px;margin:12px auto 18px}
.intro p{font-size:16px;line-height:1.65;max-width:33em}
.promise{font-size:12px;line-height:1.5;margin-top:22px;gap:7px 16px}
.est-scene{display:none}
.packing-scene{position:relative;width:100%;aspect-ratio:600/480;max-width:420px;margin:0 auto;isolation:isolate}
.room-back{position:absolute;inset:3% 7% 15%;background:linear-gradient(110deg,#efe5d6,#f8f3eb);border-radius:50% 50% 3% 3%;transform:translate(var(--px,0px),var(--py,0px))}
.room-back i{position:absolute;left:19%;top:17%;width:25%;height:42%;border:6px solid #fffdf9;background:linear-gradient(90deg,transparent 46%,#fffdf9 46% 54%,transparent 54%),linear-gradient(0deg,transparent 46%,#fffdf9 46% 54%,transparent 54%),#dbe2e4}
/* Raster contents and body, with projected flap geometry, share the SVG viewBox. */
.packing-art{position:relative;z-index:1;display:block;width:100%;height:auto;overflow:visible}
.box-assembly{transform-box:view-box;transform-origin:48% 88%;animation:box-settle .2s steps(3,end) 2.65s both}
.packed-items,.packed-plant{transform-box:view-box;opacity:0}
.packed-items{animation:pack-contents .5s steps(4,end) .3s both,hide-contents .01s 1.7s forwards}
.packed-plant{animation:pack-plant .5s steps(4,end) .85s both,hide-contents .01s 1.7s forwards}
.box-contents-cover{opacity:1;animation:cover-contents .01s 1.7s both}
.box-flap-left{animation:fold-left .35s steps(1,end) 1.35s both}
.box-flap-right{animation:fold-right .35s steps(1,end) 1.75s both}
.flap-shade{opacity:0}
.flap-shade-left{animation:fold-left .35s steps(1,end) 1.35s both,flap-light .35s steps(3,end) 1.35s both}
.flap-shade-right{animation:fold-right .35s steps(1,end) 1.75s both,flap-light .35s steps(3,end) 1.75s both}
@keyframes flap-light{from{opacity:.3}to{opacity:0}}
.box-seal{animation:seal-box .4s steps(4,end) 2.15s both}
@keyframes pack-contents{0%{opacity:0;transform:translateY(-8%)}25%{opacity:1}100%{opacity:1;transform:translateY(5%)}}
@keyframes pack-plant{0%{opacity:0;transform:translateY(-8%)}25%{opacity:1}100%{opacity:1;transform:translateY(12%)}}
@keyframes hide-contents{to{opacity:0}}
@keyframes cover-contents{from{opacity:0}to{opacity:1}}
@keyframes seal-box{from{clip-path:inset(0 0 100% 0);opacity:0}25%{opacity:1}to{clip-path:inset(0);opacity:1}}
@keyframes box-settle{0%{transform:translateY(0)}50%{transform:translateY(.6%)}100%{transform:none}}

/* Four perspective projections of each flap rotating about its fixed hinge. */
@keyframes fold-left{0%{d:path("M110 208L220 160L163.99 30.66L50.62 77.76Z")} 33%{d:path("M110 208L220 160L266.44 29.99L159.23 78.73Z")} 66%{d:path("M110 208L220 160L332.86 88.17L229.64 137.98Z")} 100%{d:path("M110 208L220 160L345.00 164.00L242.50 214.00Z")} }
@keyframes fold-right{0%{d:path("M375 220L470 168L526.01 42.24L434.38 95.14Z")} 33%{d:path("M375 220L470 168L423.56 35.02L325.77 86.27Z")} 66%{d:path("M375 220L470 168L357.14 88.95L255.36 139.14Z")} 100%{d:path("M375 220L470 168L345.00 164.00L242.50 214.00Z")} }
.mapart{width:100%;transform:translate(var(--px,0px),var(--py,0px))}
.map-pin{animation:pin-arrive .65s steps(5,end) both;transform-origin:center}
@keyframes pin-arrive{from{transform:translateY(-20px);opacity:0}to{transform:none;opacity:1}}
.room{border-radius:16px;box-shadow:0 8px 0 #e2d6c450}
.room .lv{transition:opacity .1s steps(2,end),transform .14s steps(3,end)}
.room svg{background:var(--sand)}
.working{position:relative;overflow:hidden;min-height:360px}
.working .drive-art{width:min(100%,360px);height:auto}
.working .drive-truck{animation:truck-bounce .45s steps(3,end) infinite;transform-box:view-box}
.working .drive-far{animation:drive-far 4s linear infinite}
.working .drive-near{animation:drive-near 2s linear infinite}
@keyframes truck-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-.9%)}}
@keyframes drive-far{from{transform:translateX(35%)}to{transform:translateX(-65%)}}
@keyframes drive-near{from{transform:translateX(90%)}to{transform:translateX(-90%)}}
.result .card{box-shadow:0 12px 30px #071d3b08;border-radius:16px;animation:result-open .5s ease-out both}
@keyframes result-open{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.result .card::before{height:4px;background:var(--red)}
.result .range{font-size:clamp(1.8rem,8.5vw,3.8rem)}
.lock{border-radius:16px}
@media(max-width:759px){
 .est{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.est-foot{padding-bottom:18px}.est-main{padding-bottom:32px}
 .est-bar{padding:8px 18px;min-height:64px;gap:8px}.est-bar .logo img{height:22px}.est-call{font-size:11px}
 .est-progress{margin:0 18px;padding-top:0}.est-main{padding-top:26px}.intro .packing-scene{max-width:340px;margin-top:-12px;margin-bottom:5px}
 .intro h1{font-size:2.6rem}.intro p{max-width:315px}.promise{max-width:300px;margin-left:auto;margin-right:auto}
 .say h1{font-size:1.85rem}.say{gap:10px}.say .me{width:36px;height:36px}.next{padding-left:18px;padding-right:18px}
 .room{max-width:420px;margin:auto}.clutter-out{margin-top:20px}.est input[type=range]{height:48px}
}
@media(min-width:1000px){
 .est{display:grid;grid-template-columns:minmax(350px,44%) minmax(0,1fr);grid-template-rows:auto 1fr auto auto}
 .est-top{grid-column:1/-1}.est-progress,.est-road{max-width:none;width:calc(56% - 112px);margin-left:calc(44% + 56px);margin-right:56px}
 .est-scene{display:flex;grid-column:1;grid-row:2/5;position:sticky;top:152px;align-self:start;height:calc(100dvh - 152px);max-height:850px;flex-direction:column;align-items:center;justify-content:center;background:var(--sand);padding:32px;overflow:hidden}
 .scene-kicker,.scene-location{font:700 10px/1.5 var(--sans);letter-spacing:.16em;color:var(--ink-2);text-align:center}
 .scene-art{width:100%;max-width:460px;margin:12px 0}.scene-art>.packing-scene{max-width:none}.scene-art>svg{display:block;width:100%;height:auto}.scene-art .lv{opacity:0}.scene-art .lv.on{opacity:1}
 .scene-caption{font:500 36px/1.12 var(--serif);text-align:center;margin:8px 0 30px}.scene-caption em{color:var(--red-dk)}
 .scene-location{margin-top:20px}.est-main{grid-column:2;max-width:740px;padding:48px 56px 24px}.next{grid-column:2;padding:12px 56px}.est-foot{grid-column:2;padding:24px 40px}
 .intro>.packing-scene{display:none}.intro{text-align:left;padding-top:34px}.intro h1{margin-left:0}.intro p{margin-left:0}.intro .promise{justify-content:flex-start;display:grid;gap:12px;margin-top:30px}
 .est[data-scene=result] .scene-art{opacity:.8}.est[data-scene=clutter] .scene-art{display:none}
 .choices.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.choices.wide-2{grid-template-columns:1fr}
 .next .in{max-width:none}
}
@media(prefers-reduced-motion:reduce){
 .est *,.est *::before,.est *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .packed-items,.packed-plant{opacity:0}.box-contents-cover{opacity:1}.box-seal{clip-path:none;opacity:1}.box-assembly,.mapart,.room-back{transform:none}
}

.address-art{max-width:140px;margin:0 auto 20px}.address-art .mapart{max-height:100px}
@media(min-width:1000px){.address-art{display:none}}
.intro .eyebrow,.result .eyebrow{color:var(--red-dk)!important}

.est :is(h1,h2)[tabindex="-1"]:focus{outline:none}

/* Phones: every step fits on one screen, no scrolling. Spacing, type and pictures follow the screen's height (dvh),
   so a tall phone gets the roomy version and a short one a tighter one. The site footer is left off on phones (the
   contact step links the privacy policy). */
@media(max-width:759px){
 .est{box-sizing:border-box;min-height:100dvh;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 .est-foot{display:none}
 .est-bar{min-height:52px;padding:4px 16px}.est-bar .logo img{height:20px}.est-back{width:44px;height:44px}
 .est-progress{padding:0 0 4px}.est-road{margin-bottom:2px}
 .est-main{padding:clamp(10px,2.4dvh,26px) 18px 0}
 .next{padding:10px 18px calc(12px + env(safe-area-inset-bottom))}.go{min-height:54px}
 .say{margin-bottom:clamp(12px,2.6dvh,30px)}.say .me{width:clamp(30px,4.4dvh,38px);height:clamp(30px,4.4dvh,38px)}
 .say h1,.say h2{font-size:min(1.85rem,4.3dvh)}.say p{font-size:min(16px,2.1dvh);margin-top:clamp(4px,.9dvh,10px);line-height:1.45}
 .say .react{margin-bottom:clamp(4px,.8dvh,10px)}
 .choices{gap:clamp(7px,1.2dvh,10px)}
 .choice{min-height:clamp(54px,8.4dvh,78px);padding:clamp(9px,1.5dvh,17px) 16px}.choice small{margin-top:2px;line-height:1.35}
 .choice.tile{min-height:clamp(70px,11.5dvh,112px);padding:clamp(8px,1.4dvh,14px) 8px;gap:clamp(4px,.8dvh,8px)}
 .choice.num{min-height:clamp(54px,8dvh,70px)}
 .choice.chip{min-height:clamp(40px,5.6dvh,48px);padding:8px 13px}
 .skip,.add-line{min-height:44px;margin-top:clamp(4px,1dvh,14px)}
 .hint{margin-top:6px}
 .est input[type=text],.est input[type=email],.est input[type=tel],.est input[type=date],.est input[type=search]{min-height:clamp(48px,6.8dvh,58px);padding:10px 14px}
 .grid2{gap:clamp(6px,1.2dvh,10px)}
 /* Intro: the box sizes to the screen's height. */
 .intro .packing-scene{width:auto;height:min(31dvh,272px);max-width:100%;margin:-6px auto 2px}
 .intro h1{font-size:min(2.6rem,5.8dvh);margin:clamp(4px,1dvh,12px) auto clamp(6px,1.4dvh,18px)}
 .intro p{font-size:min(16px,2.15dvh);line-height:1.5}.promise{margin-top:clamp(8px,1.8dvh,22px)}
 /* Addresses: a smaller map. */
 .address-art{margin-bottom:clamp(6px,1.6dvh,20px)}.address-art .mapart{max-height:13dvh}
 /* Floors and the apartment's floor picker. */
 .stepper button{width:clamp(44px,6.4dvh,56px);height:clamp(44px,6.4dvh,56px)}.stepper output{font-size:min(40px,4.8dvh)}
 .toggle{margin-top:clamp(8px,1.6dvh,16px)}
 /* The bedroom that fills up: as big as the height allows. */
 .room{max-width:min(420px,calc(27dvh * 360 / 230))}.clutter-out{margin-top:clamp(8px,1.8dvh,20px)}
 .est input[type=range]{height:44px}
 /* Extra care and contact. */
 .chips{gap:clamp(6px,1dvh,8px)}.note{margin-top:clamp(8px,1.4dvh,14px);padding:10px 12px;font-size:13.5px}
 .consent{font-size:14px;line-height:1.4}
 /* The result: range, what's included and the inspection ask on one screen. */
 .result .say .react{display:none}
 .result .card{padding:clamp(12px,2dvh,22px) 16px}.result .eyebrow{margin:2px 0 clamp(4px,1dvh,12px);font-size:11px}
 .result .range{font-size:min(3rem,5.8dvh,10.4vw)}
 .result .facts{margin:clamp(8px,1.4dvh,18px) 0 0;gap:6px}.result .facts span{padding:6px 10px;font-size:12.5px}
 .result ul.inc{margin-top:clamp(6px,1.2dvh,16px);gap:clamp(2px,.6dvh,9px);font-size:min(14.5px,1.9dvh)}
 .result ul.inc svg{width:16px;height:16px}
 .result .fine{font-size:min(12.5px,1.65dvh);margin-top:clamp(6px,1dvh,16px);line-height:1.4}
 .lock{margin-top:clamp(10px,1.6dvh,22px);padding:clamp(12px,1.8dvh,22px) 16px}
 .lock h3{font-size:min(1.45rem,3.1dvh);margin-bottom:4px}.lock p{font-size:min(14.5px,1.9dvh);margin-bottom:clamp(8px,1.2dvh,16px);line-height:1.4}
 .lock .choices.two .choice{min-height:clamp(42px,5.8dvh,54px);padding:8px 12px}
 .lock .go{margin-top:clamp(8px,1.2dvh,12px);min-height:clamp(46px,6.2dvh,54px)}
 .lock .reach{margin-top:clamp(8px,1.4dvh,16px)}
 .result .again{margin-top:clamp(2px,.6dvh,18px)!important}.result .again .skip{margin-top:0}
 .est[data-scene=result]{padding-bottom:env(safe-area-inset-bottom)}
}
.privacy a{color:inherit}
@media(max-width:759px){
 .est[data-scene=result] .est-progress{display:none}
 .result .say{margin-bottom:clamp(8px,1.4dvh,20px)}.result .say .me{display:none}.result .say h1{font-size:min(1.5rem,3.3dvh)}
}
@media(max-width:759px){body:has(#est){padding-bottom:0}}
@media(max-width:759px){
 .result .range{font-size:min(2.7rem,5.2dvh,10vw)}.result ul.inc{gap:clamp(1px,.4dvh,9px)}
 .lock p{font-size:min(14px,1.8dvh)}.lock h3{font-size:min(1.4rem,2.9dvh)}
}
@media(max-width:759px){
 .field{margin-bottom:clamp(8px,1.6dvh,14px)}.field>span{margin-bottom:clamp(5px,.9dvh,8px);font-size:11px}
 .consent .privacy{color:inherit;white-space:nowrap}
}
/* Shorter phones (or Safari with its toolbars showing): tighten the two fullest screens. */
@media(max-width:759px) and (max-height:720px){
 .est[data-scene=contact] .say h1{font-size:min(1.6rem,3.8dvh)}
 .result .facts span{padding:5px 8px;font-size:12px}.result ul.inc{font-size:12.5px}.result ul.inc svg{width:14px;height:14px}
 .result .fine{font-size:11.5px}.lock .reach{font-size:14px}
}
@media(max-width:759px){
 .result .facts{flex-wrap:nowrap}.result .facts span{white-space:nowrap;gap:5px}
}
@media(max-width:420px){.result .facts span{padding:5px 8px;font-size:12px}.result .facts svg{width:14px;height:14px}}
@media(max-width:759px) and (max-height:720px){
 .result ul.inc{display:grid;grid-template-columns:1fr 1fr;column-gap:10px}.result ul.inc li{font-size:12px;line-height:1.3}
 .lock p{margin-bottom:8px}.result .card{padding-bottom:12px}
}
@media(max-width:759px) and (max-height:720px){.result .again{margin-top:0!important}.lock{margin-top:8px}}

/* KeyRate keeps booking and inspection actions together at phone sizes. */
.keyrate-result .phone-price{font-size:13px;color:var(--ink-2);margin:4px 0}
.keyrate-result .keyrate-saving{font-weight:700;margin:6px 0}
.keyrate-result .keyrate-deadline{font-size:14px;margin:8px 0}
.keyrate-result .go{width:100%;margin-top:8px}
.keyrate-result .fine{margin:8px 0 0}
.keyrate-result .reach{display:flex;justify-content:center;gap:20px;font-size:14px;margin-top:8px}
.keyrate-inspect{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px}
.keyrate-inspect .choice{min-height:44px;padding:6px 12px;flex:1}
.keyrate-error:empty{display:none}
@media(max-width:759px){
 .keyrate-result .card{padding:12px 14px}
 .keyrate-result .keyrate-saving,.keyrate-result .keyrate-deadline{font-size:13px;margin:6px 0}
 .keyrate-result .fine{font-size:11.5px;line-height:1.35;margin-top:6px}
 .keyrate-result .go{min-height:44px;padding:10px}
 .keyrate-result .again{text-align:center}
 .keyrate-result .skip{min-height:44px;padding:4px}
 .has-keyrate .est-foot{font-size:10px}
}
