/* Draft site for a Southern California home-improvement pro. Built by Drew Builds Websites. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap; src: url(/assets/f/bricolage-grotesque-n400-800.woff2) format("woff2"); }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/f/assistant-n400-700.woff2) format("woff2"); }

:root {
  --ink: #0f3a40;        /* deep pacific teal: headlines, lines of the drawing */
  --asphalt: #26333a;    /* body text */
  --stucco: #f1f4ef;     /* page */
  --wall: #ffffff;
  --sky: #bfe0e6;        /* siding, soft panels */
  --tile: #3d5f6b;       /* roof */
  --sun: #f2b21b;        /* the one loud colour: sun, selection, things still needed */
  --line: #c9d5d2;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 68rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--stucco); color: var(--asphalt); font: 400 1.125rem/1.55 var(--body); padding-bottom: 5.5rem; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 10.5vw, 5.4rem); max-width: 11ch; }
h2 { font-size: clamp(1.9rem, 6.2vw, 3.1rem); max-width: 18ch; }
h3 { font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0; max-width: 34em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sec { padding-block: clamp(3.25rem, 9vw, 6rem); }
.sec > .wrap > h2 + p { margin-top: 1rem; }

/* things the owner still has to supply */
.need { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 55%, var(--sun) 55%); font-weight: 700; color: var(--ink); padding-inline: 0.12em; }
.need sup { font: 700 0.62em/1 var(--body); background: var(--ink); color: #fff; border-radius: 99px; padding: 0.22em 0.5em; margin-left: 0.3em; vertical-align: 0.5em; white-space: nowrap; }
.needbox { border: 2px dashed var(--ink); border-radius: 14px; padding: 1.1rem 1.2rem; background: #fff8e1; }
.needbox strong { font-family: var(--display); color: var(--ink); font-size: 1.15rem; display: block; margin-bottom: 0.3rem; }
.needbox p { font-size: 1.02rem; }

/* draft strip */
.draft { background: var(--ink); color: #fff; font-size: 0.98rem; line-height: 1.35; }
.draft .wrap { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; justify-content: space-between; padding-block: 0.6rem; }
.draft a { color: var(--sun); font-weight: 700; }

/* masthead */
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { font: 800 1.2rem/1.1 var(--display); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.mast .tel { font-weight: 700; font-size: 1rem; text-align: right; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.4rem; border-radius: 12px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 1.1rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #0a2b30; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: #fff; }

/* hero */
.hero { padding-top: clamp(1.25rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.hero .wrap { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); }
.hero .lede { font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.45; margin-top: 1.25rem; max-width: 30em; }
.hero .cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 55.99rem) { .hero .cta { display: none; } }

/* the house */
.house { background: linear-gradient(#dff0f3, #eef6f4 62%, #e3e9dd 62%); border-radius: 22px; padding: clamp(0.5rem, 2vw, 1.25rem); border: 2px solid var(--ink); }
.house svg { width: 100%; height: auto; }
.house .ln { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.house .thin { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; fill: none; opacity: 0.55; }
.part { cursor: pointer; }
.part .fill { transition: fill 0.18s ease; }
.part text { font: 700 25px/1 var(--body); fill: var(--ink); pointer-events: none; }
.part .tag { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.part:hover .tag, .part:focus-visible .tag, .part.is-on .tag { fill: var(--sun); }
.part.is-on .fill { fill: var(--sun); }
.part:focus { outline: none; }
.part:focus-visible .fill { stroke-width: 6; }

.pick { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip { min-height: 2.75rem; padding: 0.45rem 0.95rem; border-radius: 99px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 1rem/1.1 var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--sun); }
html:not(.js) .pick { display: none; }

.svcs { margin-top: 1.25rem; display: grid; gap: 1rem; }
.svc { background: #fff; border-radius: 16px; padding: 1.25rem 1.3rem 1.35rem; border-left: 8px solid var(--sun); }
.svc p { margin-top: 0.5rem; }
.svc .ask { margin-top: 0.9rem; display: inline-block; font-weight: 700; }
.js .svc { display: none; }
.js .svc.is-on { display: block; }
@media (min-width: 60rem) {
  html:not(.js) .svcs { grid-template-columns: 1fr 1fr 1fr; }
}

/* how it works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.25rem 1rem; align-items: start; }
.steps li::before { content: counter(s); font: 800 3.4rem/0.9 var(--display); color: var(--tile); }
.steps h3 { grid-column: 2; }
.steps p { grid-column: 2; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.band { background: var(--ink); color: #e9f2f1; }
.band h2 { color: #fff; }
.band p { color: #e9f2f1; }
.band .need { background: linear-gradient(transparent 55%, #8a6a12 55%); color: #fff; }
.band .need sup { background: var(--sun); color: var(--ink); }

/* reviews: built to hold them, empty until they exist */
.rev { margin-top: 2rem; display: grid; gap: 1rem; }
.slot { border: 2px dashed #6f9aa0; border-radius: 16px; padding: 1.4rem 1.3rem; min-height: 9.5rem; display: grid; align-content: space-between; gap: 1rem; }
.slot .q { font: 400 1.2rem/1.4 var(--body); color: #cfe3e2; }
.slot .who { font-weight: 700; color: var(--sun); font-size: 0.98rem; }
@media (min-width: 56rem) { .rev { grid-template-columns: repeat(3, 1fr); } }
.revnote { margin-top: 1.5rem; }

/* about */
.about .wrap { display: grid; gap: 2rem; }
.portrait { aspect-ratio: 4 / 5; max-width: 22rem; border-radius: 18px; border: 2px dashed var(--ink); background: repeating-linear-gradient(135deg, #fff 0 14px, #f6f8f4 14px 28px); display: grid; place-items: center; text-align: center; padding: 1.5rem; font-weight: 700; color: var(--ink); }
.about .txt p + p { margin-top: 1rem; }
.about .needbox { margin-top: 1.5rem; }
@media (min-width: 56rem) { .about .wrap { grid-template-columns: 22rem 1fr; gap: 4rem; align-items: start; } }

/* estimate form */
.est { background: #fff; }
.est form { margin-top: 2rem; display: grid; gap: 1.25rem; max-width: 38rem; }
.est label, .est legend { font-weight: 700; color: var(--ink); display: block; margin-bottom: 0.4rem; padding: 0; }
.est fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.est input[type="text"], .est input[type="tel"], .est textarea { width: 100%; min-height: 3.25rem; border: 2px solid var(--ink); border-radius: 12px; padding: 0.7rem 0.9rem; font: 400 1.1rem/1.3 var(--body); color: var(--asphalt); background: var(--stucco); }
.est textarea { min-height: 6.5rem; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opts label { margin: 0; position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; }
.opts span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 0.95rem; border-radius: 99px; border: 2px solid var(--ink); background: var(--stucco); font-weight: 700; color: var(--ink); cursor: pointer; }
.opts input:checked + span { background: var(--sun); }
.opts input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.two { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .two { grid-template-columns: 1fr 1fr; } }
.sent { display: none; border: 2px solid var(--ink); border-radius: 14px; padding: 1rem 1.2rem; background: #fff8e1; font-weight: 700; color: var(--ink); }
.sent.show { display: block; }
.fine { font-size: 0.98rem; color: #4a5a60; }

footer { padding-block: 2.5rem; font-size: 1rem; }
footer p + p { margin-top: 0.5rem; }

.bar { position: fixed; inset: auto 0 0 0; background: var(--stucco); border-top: 2px solid var(--ink); padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom)); z-index: 5; }
.bar .btn { width: 100%; }
@media (min-width: 56rem) { .bar { display: none; } body { padding-bottom: 0; } }

@media (min-width: 60rem) {
  .hero .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .hero .right { position: sticky; top: 1rem; }
}

/* the list page */
.list { counter-reset: n; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 44rem; }
.list li { counter-increment: n; background: #fff; border-radius: 16px; padding: 1.2rem 1.25rem 1.3rem 4.4rem; position: relative; }
.list li::before { content: counter(n); position: absolute; left: 1.1rem; top: 1rem; font: 800 2.2rem/1 var(--display); color: var(--tile); }
.list h3 { font-size: 1.3rem; }
.list p { margin-top: 0.4rem; font-size: 1.05rem; }
.list .why { color: #4a5a60; font-size: 0.98rem; }
h1.small { font-size: clamp(2.2rem, 8vw, 3.6rem); max-width: 16ch; }
