/* Purcell Plumbing & Heating preview. Navy and copper, drawn like a mechanical plan. */
:root {
  --ink: #10212e; --ink-2: #172d3c; --ink-3: #22404f;
  --paper: #f3efe8; --paper-2: #ebe5da; --white: #fff;
  --copper: #a9531f; --copper-hi: #d07a3f; --copper-dk: #8c4318;
  --muted: #55606a; --muted-light: #a9b4bd; --line: #ddd5c8; --line-dark: #2d4757;
  --good: #2f8a57; --bad: #b42d1f;
  --r: 14px; --wrap: 1180px;
  --display: "Fraunces", Georgia, serif; --body: "Public Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; margin: 0; font-variation-settings: "opsz" 120; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; border-radius: 6px; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-dk); }
.btn--ghost-light { color: var(--paper); border-color: rgba(243,239,232,.35); background: transparent; }
.btn--ghost-light:hover { border-color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--line); }
.link { color: var(--copper); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link::after { content: " →"; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.top .brand .mark rect, .brand--light .mark rect { fill: var(--ink-3); }
.brand span { display: grid; line-height: 1.05; }
.brand b { font: 600 21px/1 var(--display); letter-spacing: -0.01em; }
.brand small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-top: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted-light); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--paper); border-color: var(--copper-hi); }
.top__acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top .btn { min-height: 42px; font-size: 15px; }
.open { font-size: 13px; color: var(--muted-light); display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; }
.open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-light); }
.open.is-open::before { background: #4cc285; box-shadow: 0 0 0 4px rgba(76,194,133,.18); }
.menu { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-dark); background: none; border-radius: 12px; cursor: pointer; padding: 0 11px; }
.menu span { display: block; height: 2px; background: var(--paper); margin: 5px 0; border-radius: 2px; }
.mnav { display: grid; padding: 8px 24px 20px; border-top: 1px solid var(--line-dark); }
.mnav a { text-decoration: none; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }

/* hero */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--copper-hi); margin-bottom: 18px; }
.eyebrow--ink { color: var(--copper); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-hi); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 450; }
.hero h1 em { font-style: italic; color: var(--copper-hi); font-weight: 400; display: block; }
.hero__lead { font-size: 19px; color: #cbd3d9; max-width: 34em; margin-top: 22px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero__proof li { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.hero__proof b { font: 500 30px/1 var(--display); }
.hero__proof span:last-child { grid-column: 1 / -1; color: var(--muted-light); font-size: 14px; margin-top: 6px; }
.stars { color: var(--copper-hi); letter-spacing: 2px; font-size: 16px; }
.hero__art { position: relative; }
.plan { width: 100%; height: auto; }
.plan .pipe { stroke: #b8622c; stroke-width: 9; }
.plan .pipe--cold { stroke: #7f97a6; }
.plan .flow { stroke: #f2b07a; stroke-width: 2.5; stroke-dasharray: 6 22; animation: flow 2.4s linear infinite; }
.plan .flow--slow { animation-duration: 3.6s; }
.plan__flame { transform-origin: 140px 130px; animation: flicker 2.2s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -56; } }
@keyframes flicker { 50% { transform: scale(1.06, .94); opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .plan .flow, .plan__flame { animation: none; } }

/* sections */
.sec { padding: 88px 0; }
.sec__head { max-width: 640px; margin-bottom: 40px; }
.sec__head h2 { font-size: clamp(32px, 4vw, 48px); }
.sec__head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 18px; }

.needs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.need { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; padding: 22px 48px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.need:hover { border-color: var(--copper); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(16,33,46,.4); }
.need svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #f6e7dc; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.need b { font-size: 18px; }
.need span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.need i { position: absolute; right: 20px; top: 22px; font-style: normal; color: var(--copper); font-size: 20px; transition: transform .2s; }
.need:hover i { transform: translateX(4px); }

.quote-sec { background: var(--paper-2); }
.pull { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.pull blockquote { margin: 0; }
.pull p { font: italic 400 clamp(26px, 3.2vw, 38px)/1.28 var(--display); }
.pull figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.quote-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.rev { margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 14px; align-content: start; }
.rev blockquote { margin: 0; }
.rev p { font-size: 16.5px; line-height: 1.6; }
.rev figcaption { display: grid; font-size: 14px; color: var(--muted); }
.rev figcaption b { color: var(--ink); font-size: 15px; }
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.svc__card { padding: 28px 24px 30px 0; margin-right: 24px; text-decoration: none; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); }
.svc__card + .svc__card { padding-left: 24px; border-left: 1px solid var(--line); margin-right: 0; }
.svc__no { font: 500 14px/1 var(--body); color: var(--copper); letter-spacing: .1em; }
.svc__card h3 { font-size: 26px; }
.svc__card p { color: var(--muted); font-size: 16px; }
.svc__card .link { justify-self: start; margin-top: 6px; }

.how { background: var(--ink); color: var(--paper); }
.how .sec__head p { color: var(--muted-light); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #b8622c, #d07a3f); opacity: .85; }
.steps li { counter-increment: s; position: relative; padding-right: 32px; display: grid; gap: 8px; }
.steps li::before { content: counter(s); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 3px solid #d07a3f; font: 500 22px/1 var(--display); position: relative; margin-bottom: 14px; }
.steps b { font: 500 24px/1.15 var(--display); }
.steps span { color: var(--muted-light); }

.area__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area__addr { margin-top: 18px; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.towns li:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.band { background: var(--copper); color: #fff; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 56px 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.band p { margin-top: 8px; opacity: .92; font-size: 18px; }
.band__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn--copper { background: var(--ink); }
.band .btn--copper:hover { background: #000; }
.band .btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }

/* inner pages */
.page-hero { background: var(--ink); color: var(--paper); padding: 72px 0 76px; background-image: linear-gradient(rgba(243,239,232,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(243,239,232,.05) 1px, transparent 1px); background-size: 24px 24px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 16ch; font-weight: 450; }
.page-hero__lead { color: #cbd3d9; font-size: 19px; max-width: 38em; margin-top: 18px; }
.page-hero--short { padding: 56px 0 52px; }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.prose h2 { font-size: 32px; margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 44px; }
.prose p { color: #33414c; margin-bottom: 14px; }
.prose--narrow { max-width: 720px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: #33414c; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg); }
.ticks b { color: var(--ink); }
.side { display: grid; gap: 16px; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-list article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; gap: 12px; align-content: start; }
.svc-list h2 { font-size: 30px; }
.svc-list p { color: var(--muted); }
.svc-list .link { justify-self: start; }

/* request form */
.sec--form { padding-top: 48px; }
.form-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.rq, .rq-done { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 20px; }
.rq fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rq-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rq-kind label { cursor: pointer; }
.rq-kind input, .chips input, .seg input, .rq-urgent input { position: absolute; opacity: 0; pointer-events: none; }
.rq-kind span { display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.rq-kind b { font-size: 17px; }
.rq-kind small { color: var(--muted); font-size: 14px; }
.rq-kind input:checked + span { border-color: var(--copper); background: #fbf1ea; box-shadow: inset 0 0 0 1px var(--copper); }
.rq-kind input:focus-visible + span, .chips input:focus-visible + span, .seg input:focus-visible + span, .rq-urgent input:focus-visible + span { outline: 3px solid var(--copper-hi); outline-offset: 2px; }
.rq-part { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label, .field > legend { font-weight: 600; font-size: 15px; }
.rq-opt { font-weight: 400; color: var(--muted); }
.rq input[type=text], .rq input[type=tel], .rq input[type=email], .rq select, .rq textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 16px var(--body); color: var(--ink); background: var(--white); }
.rq textarea { min-height: 96px; resize: vertical; }
.rq input:focus, .rq select:focus, .rq textarea:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(169,83,31,.18); }
.rq [aria-invalid="true"] { border-color: var(--bad) !important; }
.rq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label, .seg label { cursor: pointer; }
.chips span, .seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; transition: all .15s; }
.chips input:checked + span, .seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rq-chips[aria-invalid="true"] .chips span { border-color: var(--bad); }
.seg { display: flex; gap: 8px; }
.rq-urgent span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fdf3ec; border: 1.5px dashed #e2b495; cursor: pointer; font-weight: 500; }
.rq-urgent span::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--copper); background: var(--white); }
.rq-urgent input:checked + span { border-style: solid; border-color: var(--copper); }
.rq-urgent input:checked + span::before { background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/16px no-repeat; }
.field__error { color: var(--bad); font-size: 14px; font-weight: 500; }
.hint { color: var(--muted); font-size: 14px; }
.rq-status { color: var(--bad); font-weight: 500; min-height: 1em; }
.rq-hp { position: absolute; left: -9999px; }
.rq-done { text-align: center; justify-items: center; padding: 48px 32px; }
.rq-done svg { width: 64px; height: 64px; fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rq-done h2 { font-size: 34px; }
.rq-done p { color: var(--muted); max-width: 32em; }
.form-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.form-side h2 { font-size: 28px; }

/* footer */
.foot { background: var(--ink); color: #cbd3d9; padding: 64px 0 28px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .brand { color: var(--paper); }
.foot__lead { margin-top: 16px; max-width: 26em; }
.foot__h { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-hi); margin-bottom: 12px; }
.foot a { color: var(--paper); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--muted-light); font-size: 14px; }
.callbar { display: none; }

.nf { background: var(--ink); color: var(--paper); min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf__in { display: grid; justify-items: center; gap: 16px; }
.nf .mark { width: 64px; height: 64px; }
.nf h1 { font-size: 44px; }
.nf p { color: var(--muted-light); }

/* small screens */
@media (max-width: 1040px) {
  .nav, .top__req, .open { display: none; }
  .menu { display: block; }
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .svc__card:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .hero__in, .cols, .area__in, .form-wrap { grid-template-columns: 1fr; }
  .hero__in { padding-top: 40px; padding-bottom: 48px; gap: 28px; }
  .hero__art { order: 2; margin: 0 -8px; }
  .needs__grid, .quote-sec__grid, .rev-grid, .svc-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 22px; right: auto; top: 20px; bottom: 20px; width: 6px; height: auto; background: linear-gradient(#b8622c, #d07a3f); }
  .steps li { grid-template-columns: 50px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .sec { padding: 64px 0; }
  .form-side { position: static; }
  .rq { padding: 22px; }
  .callbar { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(16,33,46,.97); border-top: 1px solid var(--line-dark); }
  .callbar .btn { min-height: 50px; padding: 0 12px; }
  .top .btn--copper span { display: none; }
  .top .btn--copper { width: 44px; padding: 0; }
}
@media (max-width: 560px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc__card, .svc__card + .svc__card { border-left: 0; padding-left: 0; margin-right: 0; }
  .rq-row, .rq-kind { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .brand small { font-size: 11px; }
}
