/* A8 Plumbing Services — Kelmscott / Armadale WA
   Palette sampled from the van in the Google listing photo:
   white panels, black lettering and decals, black number plate with white type. */
:root {
  --ink: #0e0e0e;
  --ink-2: #2b2b2b;
  --grey: #6f6f6f;
  --line: #dcdad5;
  --paper: #f5f4f1;
  --white: #ffffff;
  --max: 720px;
  --header: 56px;
  --dock: 58px;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --sans: "Archivo", "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.55;
  color: var(--ink);
  background: var(--white);
  -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(--ink); 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(--ink);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap {
  min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
  min-height: 44px; min-width: 0;
}
.brand-mark { width: 40px; height: 25px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-a8 {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  margin-top: 5px; color: #cfcfcf;
}
.hrs {
  flex-shrink: 0;
  border: 1.5px solid #fff; color: #fff;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 8px;
}

.hero { background: var(--white); }
.hero-photo { background: #0a0a0a; }
.hero-photo img {
  width: 100%; height: auto;
  object-fit: contain; object-position: center;
}
.hero-copy { padding: 26px 0 34px; background: var(--white); }
.kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}
.stars { color: var(--ink); letter-spacing: 1px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 9.6vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 42ch;
  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: .04em;
  text-transform: uppercase;
  background: var(--ink); color: #fff;
  border: 2px solid var(--ink);
  min-height: 48px; min-width: 44px;
  padding: 12px 22px;
  touch-action: manipulation;
}
.btn:active { background: var(--ink-2); border-color: var(--ink-2); }
.btn-note {
  font-size: .86rem; color: var(--grey);
  margin: 12px 0 0; max-width: 38ch;
}

.services { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--paper); }
.section-kicker {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 18px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.55rem, 6.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.job-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 3px solid var(--ink);
}
.job-list li {
  display: flex; gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.num {
  font-family: var(--display);
  font-size: .92rem;
  color: var(--ink);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 2.1em;
}
.job { display: block; min-width: 0; }
.job strong {
  display: block;
  font-family: var(--display);
  font-size: 1.06rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -.005em;
  margin-bottom: 5px;
}
.job span { display: block; color: var(--grey); font-size: .98rem; }

.proof { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--ink); color: #fff; }
.proof .section-kicker { color: #9a9a9a; }
.rating { margin: 0 0 18px; color: #bdbdbd; font-weight: 600; }
.rating-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(4rem, 22vw, 7rem);
  line-height: .82;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 8px;
}
.proof .maps { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.area { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--white); }
.area-lead { color: var(--grey); margin: 0 0 20px; max-width: 42ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.chips li {
  border: 1.5px solid var(--ink);
  font-size: .84rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 11px;
}
.maps {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
  touch-action: manipulation;
}

.plate-block { padding: 0 0 clamp(2.4rem, 8vw, 4.5rem); background: var(--white); }
.plate {
  background: var(--ink);
  border: 4px solid var(--ink);
  outline: 2px solid var(--white);
  outline-offset: -8px;
  padding: 20px 18px 16px;
  text-align: center;
  margin-bottom: 22px;
}
.plate-name {
  font-family: var(--display);
  font-size: clamp(.9rem, 4.4vw, 1.2rem);
  letter-spacing: .06em;
  color: #fff;
  margin: 0 0 6px;
}
.plate-phone {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: clamp(1.85rem, 9.5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  min-height: 48px;
  padding: 2px 0;
  touch-action: manipulation;
}
.plate-hrs {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: #b4b4b4;
  margin: 4px 0 0;
}
.btn-inverse { width: 100%; }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 28px 0 22px;
  font-size: .94rem;
  color: var(--grey);
}
.foot-brand {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 8px;
}
.foot-brand .brand-a8 { 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(--ink);
  text-decoration: none;
}
.foot-cols a { text-decoration: underline; text-underline-offset: 3px; }
.foot-note {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--grey);
}

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink);
  border-top: 2px solid var(--ink);
  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: .06em; text-transform: uppercase;
  text-decoration: none;
  touch-action: manipulation;
}
.dock a:active { background: var(--ink-2); }

a, .btn, .maps, .plate-phone { -webkit-tap-highlight-color: rgba(0, 0, 0, .18); }
a:focus-visible, .btn:focus-visible, .dock a:focus-visible {
  outline: 3px solid #0e0e0e;
  outline-offset: 3px;
}
.proof a:focus-visible, .dock a:focus-visible, .plate-phone:focus-visible {
  outline-color: #fff;
}

#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-a8 { font-size: 1.5rem; }
  .hero-copy { padding: 34px 0 42px; }
  .btn-inverse { width: auto; }
}
