/* Rainline Gutters: sample site. Design style: Halftone.
   A very light cool ground, dark ink, and one brand color. Everything is a square box:
   buttons, cards, inputs. Thin solid and dashed guide lines frame the sections like a
   drawing, with hatched bands between them. The pictures in most cards are small drawn
   pieces of interface. The showpiece is the field of dots in the hero (see site.js): the
   dots grow and shrink, drift out of focus, and come back to form the logo.
   --brand is the one color "Make it yours" changes (with --on-brand, the color of words
   on it). Every other tone is mixed from it, so the whole site follows along. */
:root {
  --brand: #1667d9;
  --on-brand: #fff;
  --ink: #0f1c2e;
  --paper: #fff;
  --ground: color-mix(in srgb, var(--brand) 4%, #f7f9fc);
  --brand-dk: color-mix(in srgb, var(--brand) 80%, #000);
  --brand-ink: color-mix(in srgb, var(--brand) 74%, #04101f);   /* the brand color as words on a light ground */
  --tint: color-mix(in srgb, var(--brand) 8%, #fff);
  --tint-2: color-mix(in srgb, var(--brand) 20%, #fff);
  --tint-3: color-mix(in srgb, var(--brand) 46%, #fff);
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 22%, transparent);
  --line-b: color-mix(in srgb, var(--brand) 42%, transparent);
  --text: color-mix(in srgb, var(--ink) 84%, #fff);
  --dim: color-mix(in srgb, var(--ink) 68%, #fff);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.25, .7, .2, 1);
  --dotgrid: radial-gradient(circle, color-mix(in srgb, var(--brand) 30%, transparent) 1px, transparent 1.6px) 0 0 / 14px 14px;
}
* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { border-radius: 0; }
.wrap { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.paper { background: var(--paper); }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.sample { position: relative; z-index: 2; background: #000; color: #fff; font: 400 13px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; padding: 7px 16px; }
.sample a { font-weight: 700; }

/* Type: one plain grotesque, set tight and large, with a monospace for the small labels */
.h1, .h2, .h3 { font-family: var(--sans); font-weight: 600; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(38px, 5.2vw, 74px); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: clamp(29px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.028em; }
.h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.015em; }
.tag, .mini, .lab { font: 500 12.5px/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.tag { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
/* three dots, growing: the halftone mark that leads every label */
.tag::before { content: ""; flex: none; width: 27px; height: 10px; background:
  radial-gradient(circle, var(--brand) 0 2px, transparent 2.5px) 0 50% / 6px 10px no-repeat,
  radial-gradient(circle, var(--brand) 0 3px, transparent 3.5px) 8px 50% / 8px 10px no-repeat,
  radial-gradient(circle, var(--brand) 0 4.5px, transparent 5px) 17px 50% / 10px 10px no-repeat; }
.mini { margin-bottom: 14px; }
.lede { max-width: 54ch; margin-top: 18px; font-size: clamp(17.5px, 1.4vw, 19.5px); line-height: 1.55; }
.fine { margin-top: 22px; max-width: 80ch; font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.head.mid { margin-inline: auto; text-align: center; }
.head.mid .tag { justify-content: center; }
.head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.say > * + p { margin-top: 14px; }
.say > .lede { margin-top: 18px; }
.say > .fine { margin-top: 22px; }
.say .row, .say > p > .btn { margin-top: 12px; }
.ticks { margin-top: 20px; }
.ticks li { position: relative; padding-left: 24px; margin-top: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.more .go, .btn .go, .notice .go { flex: none; width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover .go, .btn:hover .go, .notice:hover .go { transform: translateX(4px); }

/* Box buttons. Square, with a darker bottom edge. One that leads to another page slides
   to the right when it is clicked while the page fades (site.js adds .slide); a dashed
   outline stays where it stood. One that acts on the same page gives a short nudge. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px 2px; border: 1px solid var(--brand-dk); background: var(--brand); color: var(--on-brand); font: 600 16px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); transition: transform .32s var(--ease), background-color .2s, color .2s; }
.btn:hover { background: var(--brand-dk); }
.btn.line { background: var(--paper); color: var(--brand-ink); border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.btn.line:hover { background: var(--tint); }
.btn.small { min-height: 44px; padding: 0 15px 2px; font-size: 15px; }
.btn::after, .notice::after, .yours .chat::after { content: ""; position: absolute; inset: -1px; border: 1px dashed var(--brand); opacity: 0; pointer-events: none; transition: transform .32s var(--ease), opacity .2s; }
.btn.slide, .notice.slide, .yours .chat.slide { z-index: 1; transform: translateX(22px); }
.btn.slide::after, .notice.slide::after, .yours .chat.slide::after { opacity: .8; transform: translateX(-22px); }
.btn.nudge, .notice.nudge, .yours .chat.nudge { animation: nudge .36s var(--ease); }
@keyframes nudge { 45% { transform: translateX(9px); } }
.btn[disabled] { opacity: .55; cursor: default; }

/* The small boxed notice: a label in its own box, a line of words and an arrow */
.notice { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 28px; padding: 5px 14px 5px 5px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 15.5px; font-weight: 500; line-height: 1.25; text-decoration: none; transition: transform .32s var(--ease), border-color .2s; }
.notice b { flex: none; padding: 9px 10px; border: 1px solid var(--brand); background: var(--tint); color: var(--brand-ink); font: 500 12.5px/1 var(--mono); letter-spacing: .04em; }
.notice:hover { border-color: var(--brand); }
/* When it is clicked the small box runs across inside the frame, over the words, and then the
   page fades (site.js sets --run to the distance and adds .slide). The frame does not move. */
.notice b { position: relative; z-index: 1; transition: transform .52s var(--ease); }
.notice span, .notice .go { transition: opacity .3s; }
.notice.slide { transform: none; }
.notice.slide::after { opacity: 0; transform: none; }
.notice.slide b { transform: translateX(var(--run, 12em)); }
.notice.slide span, .notice.slide .go { opacity: .18; }
.notice .go { color: var(--brand-ink); }

/* Header: logo, five plain links, the phone number, and the boxed Log in button */
header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ground) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 36px); max-width: var(--wrap); min-height: 66px; margin: 0 auto; padding: 8px var(--gut); }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.mark { flex: none; width: 38px; height: 38px; }
.m-drop { fill: var(--brand); }
.m-line { stroke: var(--ink); }
.logo b { display: block; font: 600 20px/1 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; }
.logo small { display: block; margin-top: 5px; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
#nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin: 0 auto; font-size: 15.5px; font-weight: 500; }
#nav a { position: relative; padding: 12px 0; color: var(--dim); text-decoration: none; transition: color .2s; }
#nav a:hover, #nav a[aria-current] { color: var(--ink); }
#nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
#nav a:hover::after, #nav a[aria-current]::after { transform: none; }
.side { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); }
.tel { font: 500 15px/1 var(--mono); color: var(--ink); text-decoration: none; white-space: nowrap; padding: 12px 0; }
.tel:hover { color: var(--brand-ink); }
.menu { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; }
.menu i { position: absolute; left: 12px; right: 12px; top: 21px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu i:first-child { transform: translateY(-6px); } .menu i:last-child { transform: translateY(6px); }
.menu[aria-expanded="true"] i:first-child { transform: rotate(45deg); } .menu[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }

/* Guide lines. Two solid lines stand at the edges of the page width and two dashed ones a
   little further out, the whole length of the page. Sections are parted by full-width
   hairlines, and here and there by a hatched band that runs between the dashed lines. */
main { position: relative; }
main::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; background:
  linear-gradient(var(--line), var(--line)) calc(50% - 620px) 0 / 1px 100% no-repeat,
  linear-gradient(var(--line), var(--line)) calc(50% + 620px) 0 / 1px 100% no-repeat,
  repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 13px) calc(50% - 668px) 0 / 1px 100% no-repeat,
  repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 13px) calc(50% + 668px) 0 / 1px 100% no-repeat; }
@media (min-width: 1290px) { main::before { display: block; } }
.hatch { position: relative; height: 18px; border-top: 1px solid var(--line); background: repeating-linear-gradient(-45deg, var(--line-2) 0 1px, transparent 1px 7px) 50% 0 / min(100%, 1337px) 100% no-repeat; }
.hatch + section { border-top-color: var(--line); }

/* The dots. Every canvas with the class is drawn by site.js; without scripts it is not shown. */
.dots { pointer-events: none; }
html:not(.js) .dots { display: none; }

/* Hero: a big plain heading over the dot field. The field sits behind and to the right of
   the words and fades out under them (site.js keeps the dots small there). */
.hero { z-index: 2; display: grid; align-items: center; min-height: min(calc(100vh - 100px), 820px); padding: clamp(56px, 7vw, 92px) 0 clamp(100px, 11vw, 150px); border-top: 0; overflow: hidden; background: var(--ground); }
.hero .dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .words { position: relative; max-width: 630px; }
.hero .row { margin-top: 20px; }
.heromark { display: none; }
html:not(.js) .heromark { display: block; position: absolute; right: 9%; top: 50%; width: min(36vw, 400px); height: auto; transform: translateY(-54%); }

/* The strip of plain facts under the hero */
.strip { padding: 0; background: var(--paper); }
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells p { display: grid; gap: 6px; align-content: start; padding: 22px 24px; border-left: 1px solid var(--line); }
.cells p:first-child { border-left: 0; padding-left: 0; }
.cells span { font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cells b { font-weight: 500; font-size: 15.5px; line-height: 1.35; color: var(--ink); }

/* Two columns */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ask-sec .duo { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); }
.ask-sec.page { border-top: 0; padding-top: clamp(36px, 4.5vw, 64px); overflow: hidden; }
.ask-sec.page .duo { align-items: start; }
.ask-sec.page .say { padding-top: clamp(0px, 2vw, 26px); }
.ask-sec.page > .dots { position: absolute; left: 0; top: 0; width: 50%; height: 100%; }

/* ---------------------------------------------------------------------------------------
   Feature: the chat quoter. A boxed window with a title bar, the conversation, and a
   message box with a Send button. Bubbles and chips are square. The price arrives as a
   card in the conversation. site.js runs it; nothing is sent anywhere.
   --------------------------------------------------------------------------------------- */
.q-shell { position: relative; padding: 14px; border: 1px dashed var(--line-2); background: var(--dotgrid); }
.quoter { display: flex; flex-direction: column; height: 560px; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--ink) 55%, transparent); }
.ask-sec.page .quoter { height: min(calc(100vh - 210px), 640px); min-height: 460px; }
.q-head { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--line); }
.q-lights { display: flex; align-items: center; gap: 5px; }
.q-lights i { border-radius: 50%; background: var(--brand); }
.q-lights i:nth-child(1) { width: 5px; height: 5px; opacity: .45; } .q-lights i:nth-child(2) { width: 7px; height: 7px; opacity: .7; } .q-lights i:nth-child(3) { width: 9px; height: 9px; }
.q-head b { font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.q-tag, .vhead i { padding: 4px 6px; border: 1px solid var(--line-b); background: var(--tint); color: var(--brand-ink); font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; }
.q-reset { margin-left: auto; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--dim); font: 500 12.5px/1 var(--mono); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.q-reset:hover { color: var(--ink); }
html:not(.js) .q-reset, html:not(.js) .q-form { display: none; }
.q-log { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; background: var(--ground); }
.q-log:focus-visible { outline-offset: -3px; }
.q-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 88%; }
.q-msg.me { align-self: flex-end; align-items: flex-end; }
.q-msg.full { max-width: 100%; width: min(100%, 400px); }
.q-bubble { padding: 10px 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.q-bubble p + p { margin-top: .5em; }
.q-msg.me .q-bubble { background: var(--brand); border-color: var(--brand-dk); color: var(--on-brand); }
.js .q-msg, .js .q-chips { animation: q-in .3s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateY(6px); } }
.q-typing .q-bubble { display: flex; align-items: center; gap: 5px; min-height: 44px; }
.q-typing i, .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.1s ease-in-out infinite; }
.q-typing i:nth-child(2), .typing i:nth-child(2) { animation-delay: .18s; } .q-typing i:nth-child(3), .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes pulse { 0%, 100% { transform: scale(.5); opacity: .45; } 50% { transform: scale(1.15); opacity: 1; } }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip { min-height: 44px; padding: 0 13px 2px; border: 1px solid var(--brand); background: var(--paper); color: var(--brand-ink); font: 500 14.5px/1.1 var(--sans); text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; box-shadow: inset 0 -2px 0 var(--brand); transition: transform .28s var(--ease), opacity .28s, background-color .15s; }
.q-chip:hover { background: var(--tint); }
.q-chip.picked { transform: translateX(16px); opacity: 0; }
.q-chip.slide { transform: translateX(22px); }
.q-chips.going .q-chip:not(.picked) { opacity: 0; }
.q-off { padding: 10px 14px; border: 1px dashed var(--line-b); background: var(--tint); font-size: 14.5px; }
.js .q-off { display: none; }
.q-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); }
.q-form input, .ask input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.q-form input:focus, .ask input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.q-form input::placeholder { color: var(--dim); }
.q-price { width: 100%; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 5px 5px 0 var(--tint-2); }
.q-price .ph, .vhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.q-price li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-bottom: 1px dashed var(--line-2); font-size: 15px; line-height: 1.35; color: var(--ink); }
.q-price li b, .q-price .tot b { flex: none; font-family: var(--mono); font-weight: 500; }
.q-price .tot { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 12px; background: var(--tint); color: var(--ink); font-weight: 600; }
.q-price .tot b { font-size: 20px; font-weight: 600; }
.q-price .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.q-price .acts span { font: 500 11.5px/1.3 var(--mono); color: var(--dim); }

/* ---------------------------------------------------------------------------------------
   Cards that hold a small drawn piece of interface instead of a photo
   --------------------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding: 16px; border: 1px dashed var(--line-2); background:
  linear-gradient(var(--brand), var(--brand)) 0 0 / 6px 6px no-repeat, linear-gradient(var(--brand), var(--brand)) 100% 0 / 6px 6px no-repeat,
  linear-gradient(var(--brand), var(--brand)) 0 100% / 6px 6px no-repeat, linear-gradient(var(--brand), var(--brand)) 100% 100% / 6px 6px no-repeat; background-origin: border-box; }
.vcard { grid-column: span 4; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .25s, box-shadow .25s, opacity .7s var(--ease), transform .7s var(--ease); }
.vcard:hover { border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.vcard.wide { grid-column: span 8; flex-direction: row; }
.vtext { padding: 26px 26px 22px; }
.vtext p:not(.mini) { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.vtext .more { margin-top: 6px; font-size: 15.5px; }
.vcard.wide .vtext { flex: 0 0 42%; align-self: center; }
.vbox { flex: 1; display: grid; place-items: center; min-height: 236px; padding: 24px 20px; border-top: 1px solid var(--line); background: var(--dotgrid), var(--ground); overflow: hidden; }
.vcard.wide .vbox { border-top: 0; border-left: 1px solid var(--line); }
.vbox.big { position: relative; min-height: 430px; border: 1px dashed var(--line-2); }
.vbox.big > .vg { grid-area: 1 / 1; }
.vbox.big > .vg:first-child { transform: translate(-20%, -36%); }
.vbox.big > .vg:last-child { transform: translate(22%, 66%); }
.vg { width: min(100%, 300px); color: var(--ink); font-size: 13px; line-height: 1.4; }
.vg-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; width: min(100%, 330px); }
.vb { max-width: 88%; padding: 7px 10px; border: 1px solid var(--line-2); background: var(--paper); }
.vb.me { align-self: flex-end; border-color: var(--brand-dk); background: var(--brand); color: var(--on-brand); }
.vb.typing { display: flex; align-items: center; gap: 4px; min-height: 32px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchips i { padding: 6px 9px 7px; border: 1px solid var(--brand); background: var(--paper); color: var(--brand-ink); font-style: normal; font-weight: 500; box-shadow: inset 0 -2px 0 var(--brand); }
.vchips i.on { background: var(--brand); color: var(--on-brand); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22); }
.vg-price, .vg-acct, .vg-login { border: 1px solid var(--line-2); background: var(--paper); box-shadow: 6px 6px 0 var(--tint-2); }
.vrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 6px 12px; border-bottom: 1px dashed var(--line-2); }
.vrow:last-child { border-bottom: 0; }
.vrow b { font: 500 12.5px/1 var(--mono); white-space: nowrap; }
.vrow.total { background: var(--tint); font-weight: 600; } .vrow.total b { font-size: 15px; font-weight: 600; }
.vrow .ok { padding: 4px 7px; border: 1px solid var(--line-2); }
.vrow .pay { padding: 6px 8px 7px; background: var(--brand); color: var(--on-brand); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22); }
.vg-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: min(100%, 320px); }
.vg-days p { display: grid; gap: 6px; justify-items: center; padding: 13px 2px 12px; border: 1px solid var(--line-2); background: var(--paper); }
.vg-days b { font: 500 12.5px/1 var(--mono); } .vg-days span { font: 400 10px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.vg-days .on { border-color: var(--brand-dk); background: var(--brand); color: var(--on-brand); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 5px 5px 0 var(--tint-2); transform: translateY(-6px); } .vg-days .on span { color: inherit; }
.vg-days .full { background: repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 6px), var(--ground); color: var(--dim); }
.vg-text { display: grid; place-items: end center; align-self: end; margin-bottom: -24px; }
.phone { position: relative; display: grid; gap: 8px; width: min(100%, 250px); padding: 30px 12px 22px; border: 1px solid var(--line-2); border-bottom: 0; background: var(--paper); box-shadow: 6px 0 0 var(--tint-2); }
.ear { position: absolute; left: 50%; top: 12px; width: 44px; height: 5px; margin-left: -22px; background: var(--line-2); }
.ping { position: relative; padding: 9px 10px 10px 40px; border: 1px solid var(--line-2); background: var(--ground); }
.ping .pm { position: absolute; left: 9px; top: 9px; } .ping .mark { width: 22px; height: 22px; }
.ping p { font-size: 12.5px; line-height: 1.35; } .ping p:first-of-type { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.ping em { font: 400 10.5px/1 var(--mono); font-style: normal; color: var(--dim); }
.ping.old { padding-left: 10px; opacity: .5; }
.vfield { display: grid; gap: 4px; padding: 10px 12px 0; }
.vfield span { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.vfield b { display: flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 8px; border: 1px solid var(--line-2); background: var(--ground); font-weight: 400; font-size: 12.5px; overflow: hidden; }
.vfield .pw i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.vbtn { margin: 12px; padding: 9px 9px 11px; background: var(--brand); color: var(--on-brand); font-weight: 600; text-align: center; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }

/* Pictures. Each is a stand-in drawing in the brand color, with the photograph over it. */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.defs circle { fill: var(--brand); }
.shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-2); background: var(--tint); }
.art, .shot > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot > img { object-fit: cover; }
.art { color: var(--brand-ink); background: var(--tint); }
.draw { width: 100%; height: 100%; stroke-width: 1.5px; }
.draw * { vector-effect: non-scaling-stroke; }
.draw .w { fill: #fff; } .draw .t1 { fill: var(--tint); } .draw .t2 { fill: var(--tint-2); } .draw .t3 { fill: var(--tint-3); }
.cap { position: absolute; z-index: 3; left: 10px; bottom: 10px; padding: 4px 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .92); color: #0f1c2e; font: 500 10.5px/1.4 var(--mono); letter-spacing: .04em; white-space: nowrap; pointer-events: none; }
.shot.tall { aspect-ratio: 5 / 4; }

/* The four kinds of work */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: var(--paper); color: inherit; text-decoration: none; transition: border-color .25s, opacity .7s var(--ease), transform .7s var(--ease); }
.card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.card:hover { border-color: var(--brand); } .card:hover::after, .card:focus-visible::after { transform: none; }
.card .shot { border: 0; border-bottom: 1px solid var(--line); }
.ctext { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.ctext > p:not(.from) { margin: 8px 0 18px; font-size: 15.5px; line-height: 1.5; }
.from, .price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.from { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.from span, .price span { font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.from b, .price b { font: 500 15px/1.2 var(--mono); color: var(--brand-ink); white-space: nowrap; }
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 68px); align-items: center; padding: clamp(32px, 4.5vw, 56px) 0; border-top: 1px dashed var(--line-2); }
.svc:first-child { padding-top: 0; border-top: 0; } .svc:last-child { padding-bottom: 0; }
.svc:nth-child(even) .shot { order: 2; }
.svc .price { display: inline-flex; margin: 14px 0 16px; padding: 7px 10px; border: 1px solid var(--line-b); background: var(--tint); }
.svc .btn { margin-top: 22px; }
.tablebox { border: 1px solid var(--line-2); background: var(--paper); box-shadow: 8px 8px 0 var(--tint-2); }
.prices { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prices caption { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); background: var(--tint); }
.prices th, .prices td { padding: 13px 18px; border-bottom: 1px dashed var(--line-2); text-align: left; font-weight: 400; color: var(--ink); }
.prices thead th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border-bottom-style: solid; }
.prices td { font-family: var(--mono); font-size: 15px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extras li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 18px; border-right: 1px solid var(--line); border-bottom: 1px dashed var(--line-2); font-size: 15px; color: var(--ink); }
.extras li:nth-child(3n) { border-right: 0; } .extras li:nth-last-child(-n + 3) { border-bottom: 0; }
.extras b { font: 500 14.5px/1.2 var(--mono); white-space: nowrap; }

/* Where we work: boxes for the counties and towns, and the dot map */
.lab { margin: 20px 0 9px; color: var(--dim); }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px 1px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 14.5px; }
.chip.on { border-color: var(--brand); background: var(--tint); color: var(--brand-ink); font-weight: 500; }
.chip.dash { border-style: dashed; background: none; color: var(--dim); }
.cover .say > p:last-child { margin-top: 26px; }
.mapbox { padding: 14px; border: 1px dashed var(--line-2); background: var(--ground); }
.dotmap { position: relative; border: 1px solid var(--line-2); background: var(--paper); overflow: hidden; }
.dotmap svg { width: 100%; height: auto; }
.c-clackamas { stroke: var(--brand); } .c-multnomah { stroke: color-mix(in srgb, var(--brand) 56%, #fff); } .c-washington { stroke: color-mix(in srgb, var(--brand) 32%, #fff); } .c-out { stroke: var(--line-2); }
.pin { position: absolute; width: 0; height: 0; }
.pin i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border: 2px solid var(--ink); background: var(--paper); }
.pin b { position: absolute; padding: 4px 6px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 500 11px/1 var(--mono); white-space: nowrap; }
.pin.r b { left: 10px; top: -11px; } .pin.l b { right: 10px; top: -11px; }
.pin.t b { left: 0; bottom: 10px; transform: translateX(-50%); } .pin.b b { left: 0; top: 10px; transform: translateX(-50%); }
.pin.home i { left: -7px; top: -7px; width: 14px; height: 14px; background: var(--ink); }
.pin.home b { border-color: var(--ink); background: var(--ink); color: #fff; z-index: 2; }
.cname { position: absolute; transform: translate(-50%, -50%); padding: 4px 7px; background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.counties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.cbox { padding: 22px; border: 1px solid var(--line-2); background: var(--ground); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cbox .mini { margin-bottom: 8px; } .cbox .chiprow { margin-top: 16px; }

/* What people say */
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev { display: flex; flex-direction: column; gap: 20px; padding: 26px; border: 1px solid var(--line-2); background: var(--paper); }
.rev::before { content: ""; width: 27px; height: 10px; background:
  radial-gradient(circle, var(--brand) 0 2px, transparent 2.5px) 0 50% / 6px 10px no-repeat,
  radial-gradient(circle, var(--brand) 0 3px, transparent 3.5px) 8px 50% / 8px 10px no-repeat,
  radial-gradient(circle, var(--brand) 0 4.5px, transparent 5px) 17px 50% / 10px 10px no-repeat; }
.rev p { font-size: 19px; line-height: 1.42; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.rev small { margin-top: auto; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* Why us, and the plain facts */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); background: var(--paper); }
.point { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.point:nth-child(3n) { border-right: 0; } .point:nth-last-child(-n + 3) { border-bottom: 0; }
.point .ic { width: 26px; height: 26px; margin-bottom: 18px; color: var(--brand-ink); }
.point p { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.facts { border: 1px solid var(--line-2); background: var(--paper); box-shadow: 8px 8px 0 var(--tint-2); }
.paper .facts { background: var(--ground); }
.facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 20px; border-top: 1px dashed var(--line-2); }
.facts li:first-child { border-top: 0; }
.facts li > span { flex: none; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts b { font-weight: 500; color: var(--ink); text-align: right; }
.facts a { display: inline-block; margin: -11px 0; padding: 11px 0; text-decoration: none; } .facts a:hover { text-decoration: underline; }
.notebox, .reply, .lockline { padding: 11px 14px; border: 1px dashed var(--line-b); background: var(--tint); color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.say .notebox { margin-top: 22px; }

/* The closing band: the one block of solid brand color on a page */
.cta { padding: clamp(40px, 5vw, 72px) 0; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); border: 1px solid var(--brand-dk); background: var(--brand); color: var(--on-brand); }
.band .say { align-self: center; padding: clamp(28px, 4.5vw, 60px); background: radial-gradient(circle, color-mix(in srgb, var(--on-brand) 22%, transparent) 1px, transparent 1.6px) 0 0 / 14px 14px; }
.band .tag, .band .h2 { color: var(--on-brand); }
.band .tag::before { filter: brightness(0) invert(1); opacity: .85; }
.band .say > p:not(.tag) { margin-top: 12px; font-size: 18px; }
.band .row { margin-top: 24px; }
.band .btn { border-color: var(--paper); background: var(--paper); color: var(--brand-ink); box-shadow: inset 0 -3px 0 var(--tint-3); }
.band .btn:hover { background: var(--tint); }
.band .btn.line { border-color: currentColor; background: transparent; color: var(--on-brand); box-shadow: inset 0 -3px 0 currentColor; }
.band .btn.line:hover { background: color-mix(in srgb, var(--on-brand) 12%, transparent); }
.band .btn::after { border-color: var(--on-brand); }
.band :focus-visible { outline-color: var(--on-brand); }
.band .shot { aspect-ratio: auto; min-height: 320px; border: 0; border-left: 1px solid var(--brand-dk); }

/* Inner pages: the words at the top, with quiet dots drifting on the right */
.top { padding: clamp(44px, 6vw, 84px) 0; border-top: 0; overflow: hidden; }
.top .dots { position: absolute; right: 0; top: 0; width: min(54%, 760px); height: 100%; }
.top.slim { padding: clamp(28px, 3.4vw, 44px) 0; }
.top.slim .h1 { font-size: clamp(34px, 4vw, 54px); }
.top.slim .lede { margin-top: 12px; }
.portal-sec { padding-top: clamp(30px, 4vw, 56px); }

/* ---------------------------------------------------------------------------------------
   Feature: the customer login. A sign-in box that is already filled in and cannot be typed
   in, and the signed-in view it opens. site.js swaps the two; with scripts off the link
   itself does (the account shows when it is the target of the address).
   --------------------------------------------------------------------------------------- */
.portal { transition: opacity .32s ease; }
.portal.fading { opacity: 0; }
.account { display: none; }
.js .portal[data-view="account"] .account, html:not(.js) .account:target { display: block; }
.js .portal[data-view="account"] .signin, html:not(.js) .account:target + .signin { display: none; }
.account:focus { outline: 0; }
.signin { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: stretch; }
.signcard { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line-2); background: var(--paper); box-shadow: 8px 8px 0 var(--tint-2); }
.signcard .mini { margin: 0; }
.signcard label { display: grid; gap: 6px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.signcard input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--ground); color: var(--ink); font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; cursor: default; }
.signcard input.pw { letter-spacing: .22em; }
.lockline { display: flex; gap: 10px; }
.lockline .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand-ink); }
.signcard .btn { justify-self: start; min-width: 150px; }
.signcard .fine { margin: 0; }
.signside { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 20px; border: 1px dashed var(--line-2); background: var(--ground); overflow: hidden; }
.signside .dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.signside .ticks { position: relative; max-width: 330px; margin: 0; padding: 8px 16px 16px; border: 1px solid var(--line-2); background: var(--paper); font-size: 15.5px; }
.acct-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.acct-head .who { margin-top: 10px; color: var(--dim); }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acard { min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line-2); background: var(--ground); }
.acard.wide { grid-column: 1 / -1; }
.acard.next { background: var(--paper); box-shadow: 8px 8px 0 var(--tint-2); }
.when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 12px 0 10px; }
.when b { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--brand-ink); }
.when span { font: 500 13px/1.3 var(--mono); color: var(--dim); }
.acard .row { margin-top: 18px; gap: 10px; }
.reply { margin-top: 14px; }
.reply[hidden] { display: none; }
.qlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.qlist li:first-child { border-top: 0; padding-top: 0; }
.qlist div b { display: block; font-weight: 500; color: var(--ink); line-height: 1.3; }
.qlist div span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--dim); }
.amt { font: 500 15px/1.2 var(--mono); color: var(--ink); white-space: nowrap; }
.qlist li.new { margin: 0 -12px 12px; padding: 12px; border: 1px solid var(--line-b); background: var(--tint); }
.qlist li.new + li { border-top: 0; }
.hint { margin-top: 12px; font-size: 14.5px; color: var(--dim); }
.hint a { color: var(--brand-ink); font-weight: 500; }
.job { display: grid; grid-template-columns: 150px minmax(0, 1fr) 80px 92px 104px; align-items: center; gap: 14px; min-height: 60px; padding: 7px 0; border-top: 1px dashed var(--line-2); }
.job:first-child { border-top: 0; }
.job > span:first-child { font: 500 12.5px/1.3 var(--mono); color: var(--dim); }
.job > b { font-weight: 500; color: var(--ink); line-height: 1.3; }
.state { justify-self: start; padding: 5px 8px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.state.open { border-style: dashed; border-color: var(--brand); background: var(--tint); color: var(--brand-ink); }
.textbtn { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand-ink); font: 500 14.5px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Footer: a quiet band of the same dots, then the plain details */
footer { position: relative; z-index: 2; padding: 0 0 44px; border-top: 1px solid var(--line); background: var(--paper); }
.footdots { width: 100%; height: 92px; border-bottom: 1px solid var(--line); background: var(--ground); }
html:not(.js) footer { padding-top: 1px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 48px 0 40px; }
.foot .about { max-width: 36ch; margin-top: 16px; font-size: 15.5px; }
.foot h4 { margin-bottom: 14px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot nav { display: grid; justify-items: start; }
.foot nav a { padding: 5px 0; color: var(--ink); text-decoration: none; }
.foot nav a:hover, .foot p a:hover { text-decoration: underline; }
.foot p { font-size: 15.5px; } .foot p a { color: var(--ink); text-decoration: none; }
.credit { padding-top: 20px; border-top: 1px dashed var(--line-2); font-size: 13.5px; line-height: 1.55; color: var(--dim); }

/* Things come up into place the first time they are on screen */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rise.in { opacity: 1; transform: none; }

/* A gentle fade between pages: in on arrival, out when a link to another page is followed */
@keyframes page-in { from { opacity: 0; } }
@keyframes page-out { to { opacity: 0; } }
.js body { animation: page-in .55s ease both; }
.js.leaving body { animation: page-out .36s cubic-bezier(.45, 0, .85, .6) both; }

/* Floating: push to call (phones), the chat box (it opens the quoter), Make it yours, and
   on wide screens the prompt bar pinned at the bottom centre */
.callnow { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 16px; border-top: 1px solid var(--brand-dk); background: var(--brand); color: var(--on-brand); font: 600 17px/1 var(--sans); text-decoration: none; box-shadow: 0 -8px 22px rgba(15, 28, 46, .16); }
.callnow .ic { width: 19px; height: 19px; }
.yours { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: grid; justify-items: end; gap: 10px; }
.yours #yoursBtn { min-height: 44px; padding: 0 16px 1px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 13.5px/1 var(--mono); letter-spacing: .04em; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(15, 28, 46, .5); }
html:not(.js) .yours #yoursBtn { display: none; }
.yours .chat { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--brand-dk); background: var(--brand); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 10px 24px -10px rgba(15, 28, 46, .5); transition: transform .32s var(--ease), opacity .25s, visibility .25s; }
.yours .chat svg { width: 24px; height: 24px; fill: var(--on-brand); }
.yours .chat.off { opacity: 0; visibility: hidden; pointer-events: none; }
.panel { display: grid; gap: 13px; width: min(310px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 8px 8px 0 var(--tint-2), 0 18px 44px -18px rgba(15, 28, 46, .45); }
.panel[hidden] { display: none; }
.panel strong { font: 600 21px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.panel label { display: grid; gap: 6px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.panel input[type=text] { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--ground); color: var(--ink); font: 400 16px var(--sans); }
.swatches { display: flex; gap: 6px; }
.swatches button { flex: 1; height: 38px; padding: 0; border: 1px solid rgba(15, 28, 46, .3); cursor: pointer; }
.swatches button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.panel p { font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.panel .reset { justify-self: start; min-height: 30px; padding: 0; border: 0; background: none; color: var(--brand-ink); font: 500 14px var(--sans); text-decoration: underline; cursor: pointer; }
.ask { display: none; position: fixed; left: 50%; bottom: 22px; z-index: 66; gap: 6px; width: 500px; margin-left: -250px; padding: 6px; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 3px 0 var(--line), 0 18px 40px -16px rgba(15, 28, 46, .4); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.ask input { border: 0; min-height: 44px; background: transparent; }
.ask input::placeholder { color: var(--brand-ink); opacity: 1; }
.ask .btn { width: 44px; min-height: 44px; padding: 0 0 2px; }
.ask .btn .ic { width: 20px; height: 20px; }
.ask.off { opacity: 0; visibility: hidden; transform: translateY(14px); }
@media (min-width: 1200px) and (min-height: 600px) { .ask { display: flex; } }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard { grid-column: span 6; } .vcard.wide { grid-column: 1 / -1; }
  .bento.three .vcard:last-child { grid-column: 1 / -1; }
  .foot { grid-template-columns: 1.3fr 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; }
  .job { grid-template-columns: 130px minmax(0, 1fr) 70px 80px 100px; gap: 10px; }
}
@media (max-width: 900px) {
  /* phones and small tablets: the links fold into a menu, the number leaves the header and
     push to call takes over; the logo in the hero moves below the words */
  .menu { display: block; }
  .tel { display: none; }
  .bar { min-height: 60px; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px var(--gut) 18px; border-bottom: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 24px 40px -20px rgba(15, 28, 46, .35); }
  #nav.open { display: flex; }
  html:not(.js) #nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 0 18px; padding: 0 var(--gut) 8px; border: 0; box-shadow: none; background: none; }
  html:not(.js) .bar { flex-wrap: wrap; } html:not(.js) .menu { display: none; }
  html:not(.js) #nav { order: 3; flex: 0 0 100%; padding: 0; }
  html:not(.js) .heromark { right: auto; left: 50%; top: 28px; width: min(46vw, 210px); transform: translateX(-50%); }
  .js #nav a { padding: 15px 0; border-bottom: 1px dashed var(--line-2); font-size: 19px; color: var(--ink); }
  .js #nav a::after { content: none; } .js #nav a[aria-current] { color: var(--brand-ink); }
  .side { margin-left: auto; }
  .hero { align-items: start; min-height: 0; padding: clamp(250px, 72vw, 340px) 0 40px; }
  .hero .row .btn.line { display: none; }   /* push to call is at the bottom of the screen already */
  .duo, .ask-sec .duo, .svc, .signin, .band { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(even) .shot { order: 0; } .svc .shot { max-width: 560px; }
  .duo.flip > .vbox { order: 2; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells p { padding: 18px 16px; } .cells p:nth-child(odd) { padding-left: 0; border-left: 0; } .cells p:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .head.split { display: block; } .head.split > p { margin-top: 12px; }
  .revs, .counties, .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .point:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .point:nth-child(2n) { border-right: 0; } .point:nth-last-child(-n + 2) { border-bottom: 0; }
  .band .shot { min-height: 0; aspect-ratio: 16 / 9; border-left: 0; border-top: 1px solid var(--brand-dk); }
  .signside { min-height: 340px; }
  .ask-sec.page > .dots { display: none; }
  /* on the Quote page the chat comes straight after the opening words; the list and the small print follow it */
  .ask-sec.page .duo { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ask-sec.page .say { display: contents; }
  .ask-sec.page .q-shell { order: 1; min-width: 0; margin-top: 24px; }
  .ask-sec.page .ticks { order: 2; margin-top: 28px; } .ask-sec.page .fine { order: 3; }
  /* inner pages: the quiet dots move out from behind the words into a strip under them */
  .top { display: flex; flex-direction: column; padding-bottom: 0; }
  .top .dots { position: static; order: 2; width: 100%; height: 58px; margin-top: 26px; }
  .quoter { height: min(74vh, 560px); } .ask-sec.page .quoter { height: min(72vh, 600px); min-height: 420px; }
  .callnow { display: flex; }
  /* the two floating boxes sit side by side above the call bar, so they cover less of the page */
  .yours { right: 10px; bottom: 64px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; width: min(310px, calc(100vw - 20px)); pointer-events: none; }
  .yours > * { pointer-events: auto; }
  .yours .panel { order: -1; flex: 0 0 100%; width: auto; }
  .yours .chat { order: 2; width: 44px; height: 44px; } .yours .chat svg { width: 21px; height: 21px; }
  footer { padding-bottom: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .vcard, .vcard.wide { grid-column: 1 / -1; flex-direction: column; }
  .vcard.wide .vtext { flex: none; align-self: stretch; } .vcard.wide .vbox { border-left: 0; border-top: 1px solid var(--line); }
  .bento { padding: 10px; gap: 10px; } .q-shell, .mapbox { padding: 8px; }
  .vtext { padding: 22px 20px 18px; }
  .vbox { min-height: 196px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero .row .btn, .band .row .btn { flex: 1 1 100%; }
  /* A shorter dot field on a phone, so the first button sits above the call bar and the floating buttons. */
  .hero { padding-top: clamp(214px, 59vw, 300px); }
  .notice { align-items: center; } .notice span { min-width: 0; }
  .points { grid-template-columns: minmax(0, 1fr); } .point:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); } .point:last-child { border-bottom: 0; }
  .extras { grid-template-columns: minmax(0, 1fr); } .extras li:nth-child(n) { border-right: 0; border-bottom: 1px dashed var(--line-2); } .extras li:last-child { border-bottom: 0; }
  .prices th, .prices td, .prices caption, .extras li { padding: 11px 10px; } .prices { font-size: 14.5px; } .prices td { font-size: 13.5px; }
  .prices thead th { font-size: 10px; letter-spacing: .04em; }
  .foot { grid-template-columns: 1fr 1fr; gap: 28px; }
  .facts li { flex-direction: column; gap: 4px; } .facts b { text-align: left; }
  .vbox.big { min-height: 450px; padding: 16px 10px; }
  .vbox.big > .vg { width: min(88%, 280px); } .vbox.big > .vg:first-child { transform: translate(-5%, -40%); } .vbox.big > .vg:last-child { transform: translate(5%, 74%); }
  .job { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; }
  .job > span:first-child { grid-column: 1 / -1; } .job .amt { justify-self: end; } .job .btn, .job .textbtn { justify-self: end; }
  .qlist li { grid-template-columns: minmax(0, 1fr) auto; } .qlist li .btn { grid-column: 1 / -1; justify-self: start; }
  .dotmap:not(.small) .pin:not(.home) b { display: none; }
  .dotmap .pin i { left: -4px; top: -4px; width: 8px; height: 8px; border-width: 1.5px; }
  .cname { font-size: 9.5px; letter-spacing: .06em; padding: 3px 4px; }
  .q-msg { max-width: 94%; } .q-log { padding: 12px; }
  .logo b { font-size: 18px; } .mark { width: 34px; height: 34px; }
  .side .btn.small { padding: 0 12px 2px; }
}
@media (max-width: 380px) {
  .logo small { display: none; }
  .bar { gap: 8px; } .side { gap: 8px; }
  .q-head b { display: none; }
  .yours #yoursBtn { padding: 0 12px 1px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rise { opacity: 1; transform: none; }
}
