/* Ridgeline Plumbing & Heating — a demonstration site.
 *
 * The look is municipal enamel signage rather than the soft rounded cards a
 * trade site usually gets: a deep slate-green ground, warm off-white paper,
 * copper for anything you are meant to act on, and hard hairline rules
 * instead of shadows. A plumber's world is metal and water, and the palette
 * comes from that rather than from a template.
 *
 * Deliberately single-theme. The page commits to paper, so every colour is
 * painted explicitly and it holds whatever the host browser prefers.
 */

:root {
  --ink:      #132522;   /* slate green-black */
  --ink-2:    #3d514d;
  --ink-3:    #6d817c;
  --paper:    #f3f0e9;   /* warm off-white */
  --paper-2:  #e8e4da;
  --line:     #d3cec2;
  --copper:   #c0743d;
  --copper-d: #9c5a2b;
  --patina:   #2f6b62;
  --alarm:    #a8342a;
  --wrap:     1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

h1, h2, h3 {
  font-family: "Familjen Grotesk", "Public Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }

.mono, .mono-note, .callbtn-n, .hours td, .foot .mono {
  font-family: "DM Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink);
  color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* ─────────────────────────────────────────────────────── masthead */

.mast {
  background: var(--ink);
  color: var(--paper);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.mast-in {
  display: flex; align-items: center; gap: 26px;
  min-height: 68px; padding-top: 10px; padding-bottom: 10px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark rect { fill: var(--copper); }
.brand-mark path { stroke: var(--ink); stroke-width: 2.6; fill: none; stroke-linecap: round; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-words strong {
  font-family: "Familjen Grotesk", sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: -.02em;
}
.brand-words span { font-size: 11.5px; color: #a9bcb7; letter-spacing: .05em; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: #cddad7;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--copper); }

.callbtn {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--copper); color: #17110a;
  padding: 8px 16px; border-radius: 3px; line-height: 1.2;
}
.callbtn:hover { background: #d5854c; }
.callbtn-l { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.callbtn-n { font-size: 16px; font-weight: 500; }

@media (max-width: 860px) {
  .nav { display: none; }
  .callbtn { margin-left: auto; }
}

/* ─────────────────────────────────────────────────────── hero */

.hero {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
  padding: 74px 0 60px;
}
.eyebrow {
  margin: 0 0 20px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--patina); font-weight: 600;
}
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; }
.lede {
  margin: 24px 0 0; max-width: 56ch; font-size: 18.5px; color: var(--ink-2);
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-block; text-decoration: none; border-radius: 3px;
  padding: 13px 24px; font-weight: 600; font-size: 16px;
  border: 2px solid transparent; transition: background .14s, color .14s;
}
.btn-go { background: var(--copper); color: #17110a; }
.btn-go:hover { background: var(--copper-d); color: #fff; }
.btn-quiet { border-color: var(--ink); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn.big { padding: 17px 34px; font-size: 18px; }

.proof {
  display: grid; gap: 1px; margin: 46px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--line); border: 1px solid var(--line);
}
.proof > div { background: var(--paper); padding: 15px 18px; }
.proof dt {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.proof dd {
  margin: 5px 0 0; font-family: "Familjen Grotesk", sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -.02em;
}

/* ─────────────────────────────────────────────────────── urgent band */

.band { background: var(--alarm); color: #fff2ee; }
.band-in {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
}
.band-tag {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; border: 1.5px solid rgba(255,255,255,.5);
  padding: 5px 11px; border-radius: 3px; white-space: nowrap;
}
.band-in p { margin: 0; flex: 1 1 320px; font-size: 15.5px; }
.band-go {
  font-family: "DM Mono", monospace; font-size: 19px; font-weight: 500;
  text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.55);
  white-space: nowrap;
}
.band-go:hover { border-bottom-color: #fff; }

/* ─────────────────────────────────────────────────────── sections */

.sec { padding: 76px 0; }
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-dark .sec-head p { color: #a9bcb7; }

.sec-head { max-width: 60ch; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.sec-head p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }

/* ---- services as numbered plates ---- */

.plates {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.plates li {
  background: var(--paper); padding: 26px 26px 24px;
  display: flex; gap: 18px; align-items: flex-start;
}
.pn {
  font-family: "DM Mono", monospace; font-size: 13px; font-weight: 500;
  color: var(--copper); padding-top: 4px; letter-spacing: .04em;
}
.plates h3 { font-size: 20px; margin-bottom: 8px; }
.plates p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.mono-note {
  margin-top: 12px !important; font-size: 13px !important;
  color: var(--patina) !important; letter-spacing: .01em;
}

/* ---- how it goes ---- */

.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: s;
  display: grid; gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: block;
  font-family: "Familjen Grotesk", sans-serif; font-size: 42px; font-weight: 700;
  color: var(--copper); line-height: 1; margin-bottom: 12px;
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; color: #a9bcb7; font-size: 15.5px; }

/* ---- areas + hours ---- */

.two {
  display: grid; gap: 54px;
  grid-template-columns: 1fr minmax(300px, 400px);
}
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }

.towns {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.towns li {
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 500;
}
.towns li::before { content: "— "; color: var(--copper); }

.hours-card {
  background: var(--ink); color: var(--paper);
  padding: 30px 28px; border-radius: 4px; align-self: start;
}
.hours-card h3 { font-size: 22px; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left; padding: 11px 0; font-weight: 400; font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hours th { color: #a9bcb7; }
.hours td { text-align: right; }
.hours .hi th, .hours .hi td { color: var(--copper); font-weight: 500; }
.hours-note { font-size: 13.5px; color: #93a7a2; margin: 16px 0 22px; }
.hours-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.hours-card .btn-quiet { border-color: #6d817c; color: var(--paper); }
.hours-card .btn-quiet:hover { background: var(--paper); color: var(--ink); }

/* ─────────────────────────────────────────────────────── close */

.close {
  background: var(--patina); color: #eef6f4;
  padding: 66px 0; text-align: center;
}
.close-q {
  font-family: "Familjen Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.02em; margin: 0;
}
.close-a { margin: 14px auto 30px; max-width: 52ch; color: #cfe3df; }

/* ─────────────────────────────────────────────────────── footer */

.foot {
  background: var(--ink); color: #a9bcb7;
  padding: 46px 0 40px; font-size: 14.5px;
}
.foot-in { display: grid; gap: 26px; grid-template-columns: 1.4fr 1fr; }
.foot p { margin: 0 0 5px; }
.foot a { color: var(--paper); text-decoration: none; border-bottom: 1px solid #3d514d; }
.foot a:hover { border-bottom-color: var(--copper); }
.foot-brand {
  font-family: "Familjen Grotesk", sans-serif; font-weight: 700;
  font-size: 17px; color: var(--paper); letter-spacing: -.015em;
}
.foot .mono { font-size: 12.5px; color: #6d817c; }

.disclosure {
  grid-column: 1 / -1; margin-top: 14px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px; color: #7f938e; max-width: 78ch; line-height: 1.6;
}

@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
  .hero { padding: 52px 0 46px; }
}
