/* Blockage Busters Plumbing & Gas — Hacketts Gully WA
   Palette sampled from their Facebook logo: grimy near-black #0c111a,
   steel #2f3949, chrome lettering #d2dce3, mid steel #94a0ac, red #d82820. */
:root {
  --night: #0c111a;
  --night-2: #141c28;
  --steel: #2f3949;
  --steel-l: #94a0ac;
  --chrome: #dbe4ea;
  --chrome-d: #a9b6c1;
  --red: #d82820;
  --red-d: #a81d17;
  --max: 720px;
  --dock: 58px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --sans: "Rubik", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.56;
  color: var(--chrome);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom, 0px) + 12px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { text-wrap: balance; }

.skip {
  position: absolute; left: 12px; top: -56px;
  background: var(--red); color: #fff;
  padding: 12px 16px; z-index: 100;
  min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }

.site-header {
  background: var(--night);
  border-bottom: 3px solid var(--red);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap { min-height: 62px; display: flex; align-items: center; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--chrome);
  min-height: 44px; min-width: 0;
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-bb {
  font-family: var(--display);
  font-size: 1.24rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--chrome);
}
.brand-sub {
  font-size: .58rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--steel-l);
  margin-top: 6px;
}

.hero { background: var(--night); }
.hero-photo { background: #05080d; }
.hero-photo img {
  width: 100%; height: auto;
  object-fit: contain; object-position: center;
}
.hero-copy {
  padding: 28px 0 34px;
  background: var(--night-2);
  border-bottom: 1px solid var(--steel);
}
.kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; font-weight: 500;
  color: var(--steel-l);
  margin: 0 0 14px;
}
.stars { color: #f0b41e; letter-spacing: 1px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 10vw, 3.5rem);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #eef4f8;
  background: linear-gradient(178deg, #ffffff 4%, #dde6ed 36%, #97a6b3 52%, #f2f7fa 66%, #b9c6d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { background: none; -webkit-text-fill-color: currentColor; color: #eef4f8; }
}
.lede {
  font-size: 1.05rem;
  color: #b6c3ce;
  max-width: 44ch;
  margin: 0 0 22px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 3px;
  min-height: 48px; min-width: 44px;
  padding: 12px 22px;
  touch-action: manipulation;
}
.btn:active { background: var(--red-d); border-color: var(--red-d); }
.btn-dark { background: var(--night); color: var(--chrome); border-color: var(--red); }
.btn-dark:active { background: #05080d; }
.btn-note { font-size: .88rem; color: var(--steel-l); margin: 12px 0 0; max-width: 40ch; }

.services { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--night); }
.section-kicker {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 22px;
}
.job-list { list-style: none; margin: 0; padding: 0; }
.job-list li {
  position: relative;
  padding: 18px 0 18px 20px;
  border-top: 1px solid var(--steel);
}
.job-list li:last-child { border-bottom: 1px solid var(--steel); }
.job-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 26px;
  width: 9px; height: 9px;
  background: var(--red);
  transform: rotate(45deg);
}
.job-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.16;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #eef4f8;
  margin-bottom: 5px;
}
.job-list span { display: block; color: var(--steel-l); font-size: .98rem; }

.proof { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--steel); }
.proof .section-kicker { color: #ffb3ae; }
.rating { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating-num {
  font-family: var(--display);
  font-size: clamp(3.8rem, 19vw, 6rem);
  line-height: .84;
  letter-spacing: 0;
  color: #fff;
}
.rating-of { font-size: .96rem; color: #cbd6df; font-weight: 500; }
.maps {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline; text-underline-offset: 4px;
  touch-action: manipulation;
}

.area { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--night); }
.area .maps { color: var(--chrome); }
.area-lead { color: var(--steel-l); margin: 0 0 20px; max-width: 44ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.chips li {
  border: 1px solid var(--steel);
  background: var(--night-2);
  color: var(--chrome-d);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .04em;
  padding: 8px 11px;
  border-radius: 2px;
}
.area-meta { display: flex; flex-direction: column; margin: 0; }
.area-meta a {
  min-height: 46px; display: inline-flex; align-items: center;
  font-weight: 700;
  color: var(--chrome);
  text-decoration: underline; text-underline-offset: 4px;
  border-bottom: 1px solid var(--steel);
  word-break: break-word;
  touch-action: manipulation;
}

.closer { padding: clamp(2.4rem, 8vw, 4rem) 0; background: var(--red); }
.closer h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.closer p { color: #ffdedb; margin: 0 0 20px; max-width: 40ch; }

.site-footer {
  background: #05080d;
  border-top: 1px solid var(--steel);
  padding: 28px 0 22px;
  font-size: .94rem;
  color: var(--steel-l);
}
.foot-brand {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 8px;
}
.foot-brand .brand-bb { font-family: var(--display); font-size: 1rem; letter-spacing: .02em; }
.foot-cols { display: flex; flex-direction: column; }
.foot-cols a, .foot-cols span {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--chrome-d); text-decoration: none;
  word-break: break-word;
}
.foot-cols a { text-decoration: underline; text-underline-offset: 3px; }
.foot-note {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid #1c2431;
  font-size: .8rem; color: #6b7885;
}

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--red);
  border-top: 1px solid var(--red-d);
  min-height: var(--dock);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock a {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 13px 16px;
  color: #fff;
  font-weight: 700; font-size: 1.04rem;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none;
  touch-action: manipulation;
}
.dock a:active { background: var(--red-d); }

a, .btn, .maps { -webkit-tap-highlight-color: rgba(216, 40, 32, .3); }
a:focus-visible, .btn:focus-visible, .dock a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#services, #reviews, #area, #top, #main {
  scroll-margin-top: calc(8px + env(safe-area-inset-top, 0px));
  scroll-margin-bottom: calc(var(--dock) + env(safe-area-inset-bottom, 0px) + 12px);
}

@media (min-width: 700px) {
  :root { --max: 900px; }
  .brand-bb { font-size: 1.45rem; }
  .hero-copy { padding: 36px 0 42px; }
}
