/* Lees Plumbing and Gas — Victoria Park WA */
:root {
  --cyan: #01a9d0;
  --cyan-d: #0189ab;
  --cyan-ink: #0a3d4a;
  --ink: #1a2c32;
  --muted: #3d4e54;
  --paper: #f3fbfd;
  --white: #fff;
  --gold: #c4920f;
  --max: 720px;
  --header: 56px;
  --dock: 56px;
  --sans: "Nunito", "Segoe UI", system-ui, sans-serif;
  --round: "Quicksand", "Nunito", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  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: -48px;
  background: var(--cyan-ink); color: #fff;
  padding: 10px 14px; z-index: 100;
  min-height: 44px;
}
.skip:focus { top: 12px; }

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

/* Header — solid, no glass */
.site-header {
  height: var(--header);
  background: var(--white);
  border-bottom: 3px solid var(--cyan);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap {
  height: var(--header);
  display: flex;
  align-items: center;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cyan);
  min-width: 0;
  min-height: 44px;
}
.brand img {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-lees {
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--cyan);
}
.brand-sub {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-top: 3px;
}

/* Hero — generated trade image at native ratio, never stretched to fill */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.hero-photo {
  position: relative;
  width: 100%;
  background: #e7f7fb;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px 0 32px;
  background: var(--cyan-ink);
  color: #fff;
}
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .03em;
  color: #d7f3fa;
  margin: 0 0 10px;
}
.stars { color: #f0c14b; letter-spacing: 1px; }
.hero h1 {
  font-family: var(--round);
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 12px;
  max-width: 14ch;
  color: #fff;
}
.lede {
  font-size: 1.05rem;
  color: #e6f6fa;
  max-width: 36ch;
  margin: 0 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  border-radius: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(1, 169, 208, 0.25);
}
.btn-call {
  background: #fff;
  color: var(--cyan-ink);
}
.btn-call:hover,
.btn-call:active { background: #e7f7fb; color: #062830; }

/* Services — Lee’s words, not an icon grid */
.services {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: #fff;
}
.section-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 8px;
}
.section-title {
  font-family: var(--round);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  letter-spacing: -.02em;
  margin: 0 0 28px;
  color: var(--cyan-ink);
}
.job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d4e8ee;
}
.job-list li {
  padding: 22px 0;
  border-bottom: 1px solid #d4e8ee;
}
.job-list strong {
  display: block;
  font-family: var(--round);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--cyan-ink);
  margin-bottom: 4px;
}
.job-list span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

/* Proof */
.proof {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--cyan-ink);
  color: #fff;
}
.proof .section-kicker { color: #7ed7ec; }
.rating {
  margin: 0 0 22px;
  color: #c5e8f0;
  font-weight: 600;
}
.rating-num {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 4.6rem);
  line-height: .85;
  letter-spacing: -.03em;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.quote {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.quote p {
  margin: 0;
  font-size: clamp(1.25rem, 5.4vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 600;
  max-width: 22ch;
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8ecadc;
}
.maps {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 700;
  touch-action: manipulation;
}
.maps:hover { color: #9de4f4; }

/* About — street stays small */
.about {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--paper);
}
.about-lead {
  color: var(--muted);
  margin: -12px 0 22px;
  max-width: 36ch;
}
.street {
  margin: 0 0 16px;
  max-width: 280px;
}
.street img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #cfe3e9;
}
.street figcaption {
  margin-top: 8px;
  font-size: .85rem;
  color: var(--muted);
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}
.about-meta a,
.about-meta span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.about-meta a {
  color: var(--cyan-d);
  font-weight: 700;
  touch-action: manipulation;
}
.about-meta a:hover { color: var(--cyan-ink); }

/* Closer */
.closer {
  padding: clamp(2.5rem, 8vw, 4.5rem) 0;
  background: #fff;
}
.closer h2 {
  font-family: var(--round);
  font-size: clamp(1.5rem, 6vw, 2rem);
  letter-spacing: -.02em;
  margin: 0 0 6px;
  color: var(--cyan-ink);
}
.closer p { color: var(--muted); margin: 0 0 16px; }
.phone-xl {
  display: inline-flex;
  align-items: center;
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: .02em;
  color: var(--cyan);
  text-decoration: none;
  line-height: 1.1;
  min-height: 44px;
  padding: 8px 0;
  touch-action: manipulation;
}
.phone-xl:hover { color: var(--cyan-d); }
.mail {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--cyan-d);
  font-weight: 700;
  touch-action: manipulation;
}
.mail:hover { color: var(--cyan-ink); }

/* Footer */
.site-footer {
  background: var(--cyan-ink);
  color: #c5dce2;
  padding: 32px 0 24px;
  font-size: .92rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.foot-brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
}
.foot-brand .brand-lees { font-size: 1.2rem; color: #7ed7ec; }
.foot-brand .brand-sub { color: #9bb8bf; }
.foot-cols {
  display: flex;
  flex-direction: column;
}
.foot-cols a,
.foot-cols span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #e8f4f7;
  text-decoration: none;
}
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #1a5a68;
  color: #7d9aa3;
  font-size: .8rem;
}

/* Sticky bottom bar */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--cyan);
  min-height: var(--dock);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.25);
}
.dock a:hover,
.dock a:active { background: var(--cyan-d); }

a, .btn, .phone-xl, .maps, .mail {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(1, 169, 208, 0.25);
}

a:focus-visible, .btn:focus-visible, .dock a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.btn-call:focus-visible,
.phone-xl:focus-visible,
.maps:focus-visible,
.mail:focus-visible,
.about-meta a:focus-visible,
.foot-cols a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

#services, #about, #reviews, #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: 768px) {
  :root { --max: 960px; --header: 64px; }
  .brand-lees { font-size: 1.5rem; }
  .brand img { width: 44px; height: 44px; }
  .hero-photo { max-width: 960px; margin-inline: auto; }
  .hero-copy { padding: 40px 0 48px; }
  .street { max-width: 320px; }
}
