/* Ultra Plumbing and Gas — Aubin Grove WA
   Black + #2e9fd4 from the Facebook cover. */
:root {
  --blue: #2e9fd4;
  --blue-d: #1a7aa8;
  --black: #070707;
  --black-2: #101010;
  --white: #f4f6f7;
  --muted: #8d969d;
  --line: #242424;
  --gold: #d4a84b;
  --max: 720px;
  --header: 56px;
  --dock: 56px;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --cond: "Oswald", "Arial Narrow", Impact, 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(--white);
  background: var(--black);
  -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(--blue); 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(--black);
  border-bottom: 1px solid var(--line);
  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(--white);
  min-width: 0;
  min-height: 44px;
}
.brand-mark { width: 48px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-ultra {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: #fff;
}
.brand-sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 4px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--black);
}
.hero-photo {
  position: relative;
  width: 100%;
  background: #101010;
  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(--black-2);
  color: #fff;
}
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600;
  color: #c5d0d6;
  margin: 0 0 10px;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.hero h1 {
  font-family: var(--cond);
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: .02em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
  max-width: 14ch;
  color: #fff;
}
.lede {
  font-size: 1.05rem;
  color: #c9d3d8;
  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: 2px;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(46, 159, 212, 0.25);
}
.btn-call {
  background: var(--blue);
  color: #fff;
}
.btn-call:hover,
.btn-call:active { background: var(--blue-d); }

.services {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--black);
}
.section-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 8px;
}
.section-title {
  font-family: var(--cond);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: #fff;
}
.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-family: var(--cond);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.job-list span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

.work {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: var(--black-2);
}
.section-lead {
  color: var(--muted);
  margin: -16px 0 22px;
  max-width: 40ch;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.work-item { margin: 0; }
.work-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.work-wide { grid-column: 1 / -1; }
.work-wide img { height: 200px; }
.work-item figcaption {
  margin-top: 6px;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  background: #0b1c24;
  color: #fff;
}
.proof .section-kicker { color: var(--blue); }
.rating {
  margin: 0 0 22px;
  color: #9bb8c4;
  font-weight: 600;
}
.rating-num {
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 4.6rem);
  line-height: .85;
  letter-spacing: .02em;
  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: 18ch;
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6f8e99;
}
.maps {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-weight: 700;
  touch-action: manipulation;
}
.maps:hover { color: #7ec8ea; }

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

.closer {
  padding: clamp(2.5rem, 8vw, 4.5rem) 0;
  background: var(--black-2);
}
.closer h2 {
  font-family: var(--cond);
  font-size: clamp(1.5rem, 6vw, 2rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #fff;
}
.closer p { color: var(--muted); margin: 0 0 16px; }
.phone-xl {
  display: inline-flex;
  align-items: center;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: .04em;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.1;
  min-height: 44px;
  padding: 8px 0;
  touch-action: manipulation;
}
.phone-xl:hover { color: #7ec8ea; }

.site-footer {
  background: #050505;
  color: #8d969d;
  padding: 32px 0 24px;
  font-size: .92rem;
}
.foot-brand { margin-bottom: 18px; }
.foot-brand .brand-ultra { font-size: 1.2rem; }
.foot-cols {
  display: flex;
  flex-direction: column;
}
.foot-cols a,
.foot-cols span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d5dde1;
  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 var(--line);
  color: #5c656b;
  font-size: .8rem;
}

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

a, .btn, .phone-xl, .maps {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(46, 159, 212, 0.25);
}
a:focus-visible, .btn:focus-visible, .dock a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#services, #work, #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-ultra { font-size: 1.5rem; }
  .hero-copy { padding: 36px 0 40px; }
  .work-item img { height: 180px; }
  .work-wide img { height: 280px; }
}
