/* Wallace Plumbing and Mechanical — Lowell MA
   Bespoke preview. Ink + bone + rust-brick. Phone is the architecture.
   No gradients. No centered cards. No safety orange. */

:root {
  --ink:        oklch(0.18 0.012 50);    /* warm near-black */
  --ink-2:      oklch(0.32 0.010 50);    /* secondary text */
  --ink-3:      oklch(0.52 0.008 50);    /* tertiary text */
  --rule:       oklch(0.82 0.006 50);    /* hairline */
  --rule-2:     oklch(0.90 0.005 50);    /* paler hairline */
  --bone:       oklch(0.965 0.009 75);   /* warm paper */
  --bone-2:     oklch(0.94 0.012 75);    /* slightly creamier */
  --rust:       oklch(0.54 0.165 38);    /* Lowell brick / brake light */
  --rust-deep:  oklch(0.44 0.155 35);    /* hover/active */

  --font-sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 72px;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--rust); color: var(--bone); }

/* ----- LAYOUT FRAME ----- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ----- TOP STRIP ----- */
.topstrip {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topstrip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topstrip__left,
.topstrip__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--rust);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--rust);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.54 0.165 38 / 0.6); }
  70%  { box-shadow: 0 0 0 8px oklch(0.54 0.165 38 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.54 0.165 38 / 0); }
}

/* ----- HEADER ----- */
.head {
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
}
.head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 3px;
}
.head__nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.head__nav a:hover { color: var(--ink); }
.head__phone {
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.head__phone::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--rust);
  border-radius: 50%;
}

@media (min-width: 760px) {
  .head__nav { display: flex; }
}

/* ----- HERO ----- */
.hero {
  padding: 40px 0 56px;
  position: relative;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.hero__kicker b {
  color: var(--ink);
  font-weight: 700;
}

.hero__lead {
  font-size: clamp(28px, 5.5vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 38px;
}
.hero__lead em {
  font-style: normal;
  color: var(--rust);
}

/* the phone block — the architecture */
.phone {
  display: block;
  margin: 0 0 18px;
  text-decoration: none;
  color: var(--ink);
}
.phone__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.phone__num {
  font-weight: 800;
  font-size: clamp(48px, 13vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-block;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 4px;
  transition: color 160ms ease, border-color 160ms ease;
}
.phone:hover .phone__num,
.phone:focus-visible .phone__num {
  color: var(--rust);
  border-color: var(--rust);
}

.weanswer {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 18px 0 0;
  flex-wrap: wrap;
}
.weanswer__line {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.weanswer__line .red {
  color: var(--rust);
  position: relative;
  white-space: nowrap;
}
.weanswer__line .red::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--rust);
}
.weanswer__hours {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* small meta row under phone */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.meta-row b {
  color: var(--ink);
  font-weight: 700;
}

/* ----- WHAT HAPPENS WHEN YOU CALL (the ledger) ----- */
.ledger {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.section-h {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
  line-height: 1.15;
  max-width: 22ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.steps li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.steps__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rust);
}
.steps__body h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.steps__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}
.steps__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ----- WHAT WE FIX ----- */
.fix {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
}
.fix__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.fix__row {
  padding: 22px 22px 22px 22px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.fix__row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.fix__row p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.fix__row em {
  font-style: normal;
  color: var(--rust);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 8px;
}

@media (min-width: 700px) {
  .fix__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .fix__grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ----- TOWNS ----- */
.towns {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
}
.towns__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.towns__copy p {
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0;
  font-size: 15.5px;
}
.towns__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.towns__list li {
  padding: 16px 4px;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.towns__list li:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: 16px;
}
.towns__list li:nth-child(even) {
  padding-left: 16px;
}
.towns__mins {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (min-width: 800px) {
  .towns__inner {
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
  }
}

/* ----- ABOUT ----- */
.about {
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.about__copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 60ch;
}
.about__copy p:last-child { margin-bottom: 0; }
.about__copy strong { color: var(--ink); font-weight: 700; }

.about__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.about__fact {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.about__fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.about__fact dd {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}
.about__fact dd small {
  display: block;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 3px;
  font-size: 13.5px;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
}

/* ----- FINAL CTA STRIP ----- */
.finalcta {
  background: var(--ink);
  color: var(--bone);
  padding: 56px 0 60px;
}
.finalcta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
}
.finalcta__copy {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  max-width: 18ch;
}
.finalcta__copy em {
  font-style: normal;
  color: var(--rust);
}
.finalcta__phone {
  font-weight: 800;
  font-size: clamp(40px, 9vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--bone);
  text-decoration: none;
  display: inline-block;
  border-bottom: 3px solid var(--rust);
  padding-bottom: 4px;
}
.finalcta__phone:hover { color: var(--rust); }
.finalcta__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.78 0.008 50);
  margin-top: 18px;
}

@media (min-width: 860px) {
  .finalcta__inner {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}

/* ----- FOOTER ----- */
.foot {
  background: var(--bone);
  border-top: 1px solid var(--rule);
  padding: 36px 0 110px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.foot__col h4 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.foot__col p, .foot__col address {
  margin: 0 0 4px;
  font-style: normal;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.foot__col strong {
  color: var(--ink);
  font-weight: 700;
}
.foot__meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot__meta a:hover { color: var(--rust); }

@media (min-width: 760px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .foot__meta {
    flex-direction: row;
    justify-content: space-between;
  }
  .foot { padding-bottom: 36px; }
  body { padding-bottom: 0; }
}

/* ----- STICKY MOBILE CTA ----- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--rust);
  color: var(--bone);
  text-align: center;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.005em;
  z-index: 50;
  border-top: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 160ms ease;
}
.sticky-cta:hover { background: var(--rust-deep); }
.sticky-cta__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bone);
  animation: pulse-bone 2.2s ease-out infinite;
}
@keyframes pulse-bone {
  0%   { box-shadow: 0 0 0 0 oklch(0.965 0.009 75 / 0.7); }
  70%  { box-shadow: 0 0 0 9px oklch(0.965 0.009 75 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.965 0.009 75 / 0); }
}
.sticky-cta small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

@media (min-width: 760px) {
  .sticky-cta { display: none; }
}

/* print-cleanup */
@media print {
  .sticky-cta, .topstrip { display: none; }
  body { background: white; color: black; padding: 0; }
}
