/* Crystal Plumbing and Gas — Iluka WA
   Tokens sampled from their filtration work: royal blue canisters,
   limestone wall, copper and brass, coastal dusk. */
:root {
  --royal: #123C96;
  --royal-d: #0B2A6B;
  --ink: #061A45;
  --limestone: #DAC9B9;
  --paper: #F6F1EA;
  --copper: #B28C6B;
  --white: #fff;
  --muted: #5b6780;
  --line: #e2d9cd;
  --max: 720px;
  --header: 56px;
  --dock: 56px;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --script: "Kaushan Script", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !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; }
input, select, textarea, button { font-family: inherit; font-size: 16px; }

.skip {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--royal); 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;
}

.site-header {
  height: var(--header);
  background: var(--white);
  border-bottom: 3px solid var(--royal);
  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(--ink);
  min-width: 0;
  min-height: 44px;
}
.brand-mark { width: 34px; height: 30px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-script {
  font-family: var(--script);
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--royal);
}
.brand-sub {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.hero-photo {
  position: relative;
  width: 100%;
  background: var(--limestone);
  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(--ink);
  color: #fff;
}
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600;
  color: #c9d6ef;
  margin: 0 0 10px;
}
.stars { color: #e2b354; letter-spacing: 1px; }
.hero h1 {
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 12px;
  max-width: 14ch;
  color: #fff;
}
.lede {
  font-size: 1.05rem;
  color: #d6dff1;
  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: 3px;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18, 60, 150, 0.25);
}
.btn-call {
  background: #fff;
  color: var(--ink);
}
.btn-call:hover,
.btn-call:active { background: var(--paper); }

.services {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--white);
}
.section-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal);
  margin: 0 0 8px;
}
.section-title {
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 28px;
  color: var(--ink);
}
.job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.job-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.job-list strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.job-list span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

.proof {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--royal);
  color: #fff;
}
.proof .section-kicker { color: #a9c2f2; }
.rating {
  margin: 0 0 22px;
  color: #ccdaf4;
  font-weight: 600;
}
.rating-num {
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 4.6rem);
  line-height: .85;
  letter-spacing: -.03em;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.maps {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 700;
  touch-action: manipulation;
}
.maps:hover { color: var(--limestone); }

.about {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--paper);
}
.about-lead {
  color: var(--muted);
  margin: -12px 0 22px;
  max-width: 38ch;
}
.about-meta {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.about-meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--royal);
  font-weight: 700;
  touch-action: manipulation;
}
.about-meta a:hover { color: var(--royal-d); }

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

.site-footer {
  background: var(--ink);
  color: #a8b6d2;
  padding: 32px 0 24px;
  font-size: .92rem;
}
.foot-brand { margin-bottom: 18px; }
.foot-brand .brand-script { font-size: 1.5rem; color: #8fb0ee; }
.foot-brand .brand-sub { color: var(--limestone); }
.foot-cols { display: flex; flex-direction: column; }
.foot-cols a,
.foot-cols span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #e6ecf8;
  text-decoration: none;
  word-break: break-word;
}
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #16305e;
  color: #7b8aa8;
  font-size: .8rem;
}

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--royal);
  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(--royal-d); }

a, .btn, .phone-xl, .maps {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18, 60, 150, 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,
.about-meta a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--royal);
  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-mark { width: 40px; height: 35px; }
  .brand-script { font-size: 1.6rem; }
  .hero-photo { max-width: 960px; margin-inline: auto; }
  .hero-copy { padding: 36px 0 48px; }
}
