/* True Plumbing and Maintenance — Mundaring WA
   No logo, no van and no brand photos exist on the Google listing, so there is
   nothing to sample. Palette is taken from the place instead: jarrah forest
   green, limestone, gravel and copper. Treat as template-grade until the
   client sends a logo or van shot. */
:root {
  --green: #2c4433;
  --green-d: #1b2c21;
  --green-l: #5b7355;
  --copper: #a55f36;
  --copper-l: #c98a5f;
  --stone: #f4efe6;
  --stone-2: #e3dacb;
  --ink: #23291f;
  --muted: #6b6a5c;
  --white: #ffffff;
  --max: 660px;
  --dock: 58px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", "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.62;
  color: var(--ink);
  background: var(--stone);
  -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(--green); 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% - 40px)); margin-inline: auto; }

.site-header {
  background: var(--stone);
  border-bottom: 1px solid var(--stone-2);
  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: 12px;
  text-decoration: none; color: var(--green);
  min-height: 44px; min-width: 0;
}
.brand-rule {
  width: 3px; height: 30px;
  background: var(--copper);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-true {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  color: var(--green);
}
.brand-sub {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.hero { background: var(--stone); }
.hero-photo { background: #2a2b22; }
.hero-photo img {
  width: 100%; height: auto;
  object-fit: contain; object-position: center;
}
.hero-copy { padding: 30px 0 36px; }
.kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .82rem; font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px;
}
.stars { color: var(--copper); letter-spacing: 1px; }
.kicker-hrs {
  border: 1px solid var(--stone-2);
  border-left: 3px solid var(--copper);
  color: var(--green);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 8.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--green);
  margin: 0 0 16px;
  max-width: 22ch;
}
.lede {
  font-size: 1.06rem;
  color: #45483c;
  max-width: 44ch;
  margin: 0 0 24px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  background: var(--green);
  color: var(--stone);
  border: 1.5px solid var(--green);
  border-radius: 3px;
  min-height: 48px; min-width: 44px;
  padding: 12px 24px;
  touch-action: manipulation;
}
.btn:active { background: var(--green-d); border-color: var(--green-d); }
.btn-light { background: var(--stone); color: var(--green-d); border-color: var(--stone); }
.btn-light:active { background: var(--stone-2); border-color: var(--stone-2); }
.btn-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; max-width: 40ch; }

.services { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--white); }
.section-kicker {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 6.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--green);
  margin: 0 0 24px;
}
.job-list { margin: 0; }
.job {
  padding: 20px 0;
  border-top: 1px solid var(--stone-2);
}
.job:last-child { border-bottom: 1px solid var(--stone-2); }
.job dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  color: var(--green);
  margin-bottom: 6px;
}
.job dd { margin: 0; color: var(--muted); font-size: 1rem; }

.proof { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--green); color: var(--stone); }
.proof .section-kicker { color: var(--copper-l); }
.rating { margin: 0 0 20px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.6rem, 18vw, 5.6rem);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--stone);
}
.rating-of { font-size: .96rem; color: #b9c5b2; font-weight: 600; }
.maps {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--copper-l);
  text-decoration: underline; text-underline-offset: 4px;
  touch-action: manipulation;
}

.area { padding: clamp(2.4rem, 8vw, 4.5rem) 0; background: var(--stone); }
.area .maps { color: var(--green); }
.area-lead { color: var(--muted); margin: 0 0 14px; max-width: 44ch; }
.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(--green);
  text-decoration: underline; text-underline-offset: 4px;
  border-bottom: 1px solid var(--stone-2);
  touch-action: manipulation;
}

.closer { padding: clamp(2.4rem, 8vw, 4rem) 0; background: var(--green-d); }
.closer h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 6.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--stone);
  margin: 0 0 8px;
}
.closer p { color: #a9b8a4; margin: 0 0 20px; max-width: 40ch; }

.site-footer {
  background: var(--stone);
  border-top: 1px solid var(--stone-2);
  padding: 28px 0 22px;
  font-size: .94rem;
  color: var(--muted);
}
.foot-brand {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.foot-brand .brand-true { font-family: var(--serif); font-size: 1rem; letter-spacing: -.01em; }
.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(--stone-2);
  font-size: .8rem;
}

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--green);
  border-top: 3px solid var(--copper);
  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: var(--stone);
  font-weight: 700; font-size: 1.04rem;
  letter-spacing: .02em;
  text-decoration: none;
  touch-action: manipulation;
}
.dock a:active { background: var(--green-d); }

a, .btn, .maps { -webkit-tap-highlight-color: rgba(44, 68, 51, .2); }
a:focus-visible, .btn:focus-visible, .dock a:focus-visible {
  outline: 3px solid var(--copper);
  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: 820px; }
  .brand-true { font-size: 1.6rem; }
  .hero-copy { padding: 40px 0 46px; }
}
