/* Up A Creek Plumbing — static site stylesheet
   Rebuilt from the 2018 concrete5 "c5box framework" theme: same colors, fonts and layout,
   without the CMS, jQuery or Bootstrap. */

@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"),
       url("../fonts/fontawesome-webfont.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: block;
}

:root {
  --blue: #336dff;
  --blue-text-bg: #2a5ee8; /* brand blue deepened just enough for 4.5:1 body text */
  --blue-btn: #1a44e9;
  --blue-btn-hover: #0d37db;
  --blue-light: #e2e8ff;
  --blue-deep: rgba(0, 37, 255, 0.84);
  --green: #1a8a1a;
  --ink: #333;
  --muted: #5b6168;
  --header-bg: rgba(14, 18, 10, 0.78);
  --footer-bg: rgba(0, 0, 0, 0.82);
  --radius: 6px;
  --shadow: 0 0 10px 3px rgba(120, 120, 120, 0.55);
  --max: 1170px;
  --header-h: 132px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink);
  background: #333;
}
img, video, iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; }
img { height: auto; display: block; }
a { color: var(--blue-btn); }
a:hover { color: var(--blue-btn-hover); }
h1, h2, h3, h4 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.fa { display: inline-block; font: normal normal normal 1em/1 FontAwesome; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.fa-facebook::before { content: "\f09a"; }
.fa-google::before { content: "\f1a0"; }
.fa-youtube-play::before { content: "\f16a"; }
.fa-twitter::before { content: "\f099"; }
.fa-yelp::before { content: "\f1e9"; }
.fa-commenting-o::before { content: "\f27b"; }
.fa-phone::before { content: "\f095"; }
.fa-bars::before { content: "\f0c9"; }
.fa-times::before { content: "\f00d"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-map-marker::before { content: "\f041"; }
.fa-check::before { content: "\f00c"; }
.fa-chevron-right::before { content: "\f054"; }

.nowrap, a[href^="tel:"] { white-space: nowrap; }
.short { display: none; }
@media (max-width: 480px) { .long { display: none; } .short { display: inline; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--header-bg);
  border-bottom: 2px solid #7f8c8d;
  color: #f8f8f8;
  padding-top: env(safe-area-inset-top, 0px);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
body.home .site-header { position: fixed; top: 0; left: 0; right: 0; }
.topbar { border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar strong { color: #fff; font-weight: 700; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #fff; text-decoration: none; font-size: 17px; border-radius: 50%; transition: background .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.topbar-call { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.topbar-call:hover { color: #fff; text-decoration: underline; }

.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand img { width: 190px; transition: width .25s ease; }
.brand { display: block; padding-block: 6px; }
.navbar .container { transition: min-height .25s ease; }
body.scrolled .brand img { width: 128px; }
body.scrolled .navbar .container { min-height: 60px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: var(--radius); font-size: 22px; width: 46px; height: 42px; cursor: pointer; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; color: #fff; text-decoration: none; padding: 10px 14px; border-radius: var(--radius); font-size: 15px; font-weight: 600; letter-spacing: .02em; transition: background .2s; }
.main-nav a:hover { background: var(--blue-btn-hover); color: #fff; }
.main-nav a[aria-current="page"] { background: var(--blue-btn); }

@media (max-width: 860px) {
  :root { --header-h: 96px; }
  .topbar .license { display: none; }
  .brand img { width: 118px; }
  body.scrolled .brand img { width: 92px; }
  body.scrolled .navbar .container { min-height: 50px; }
  .navbar .container { min-height: 60px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(10, 12, 8, .96); border-bottom: 2px solid #7f8c8d; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 14px; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
}
@media (max-width: 420px) { .social li:nth-child(n+5) { display: none; } }

/* ---------- Hero (home) ---------- */
.bg-video { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #222 url("../img/hero-poster.jpg") center / cover no-repeat; }
.bg-video video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; }
.bg-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 70%), linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.35)); }
.hero { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: calc(var(--header-h) + 24px) max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
.hero > div { max-width: 64rem; }
.hero h1 { font-family: "Playball", cursive; font-size: clamp(2.6rem, 8vw, 4.8rem); line-height: 1.1; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,.75); text-wrap: balance; }
.hero .tagline { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400; font-size: clamp(1.35rem, 3.2vw, 2rem); letter-spacing: .03em; margin: .35em 0 1.1em; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.hero .social { justify-content: center; gap: 10px; margin-top: 22px; }
.hero .social a { width: 44px; height: 44px; font-size: 21px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--blue-btn); color: #fff; border: 1px solid #7f8c8d; border-radius: var(--radius); padding: 12px 22px; font-size: 1.05rem; font-weight: 700; text-decoration: none; letter-spacing: .03em; cursor: pointer; transition: background .2s, transform .1s; }
.btn:hover { background: var(--blue-btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: clamp(1.1rem, 2.6vw, 1.5rem); padding: 14px 28px; }

/* ---------- Page sections ---------- */
main { display: block; }
.page { background: #fff; }
.section { padding: 40px 0; background: #fff; }
.section + .section { padding-top: 8px; }
.bar { background: var(--blue); color: #fff; text-align: center; padding: 6px 12px; margin: 0 0 24px; box-shadow: var(--shadow); }
.bar h1, .bar h2 { color: #fff; margin: 0; text-shadow: 1px 1px 1px rgba(0,0,0,.35); }
.lead-title { text-align: center; margin: 8px 0 28px; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split { display: grid; gap: 28px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.panel-blue { background: var(--blue-text-bg); color: #fff; padding: 6px 18px 18px; box-shadow: var(--shadow); }
.panel-blue h2 { color: #fff; text-align: center; margin: 10px 0 14px; }
.panel-blue p { font-size: 1.05rem; }
.panel-blue a { color: #fff; font-weight: 700; }
.panel-light { background: var(--blue-light); padding: 8px 18px 20px; box-shadow: var(--shadow); text-align: center; }

.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 16px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; display: block; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-facade:hover img { transform: scale(1.03); }
.video-facade .play { position: absolute; top: 50%; left: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: rgba(20, 20, 20, .78); border-radius: 14px; transition: background .2s; }
.video-facade .play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 12px 0 12px 21px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .play, .video-facade:focus-visible .play { background: #e62117; }

.awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 28px; }
.awards img { height: 150px; width: auto; }
.awards a { display: block; }

.quote-box h2 { margin: 12px 0 8px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.stat strong { display: block; font-family: "Oswald", sans-serif; font-weight: 400; font-size: 1.9rem; color: var(--green); line-height: 1.1; }
.stat span { font-family: "Oswald", sans-serif; font-size: 1.05rem; }

.services { margin-top: 24px; }
.services ul { list-style: none; margin: 0 0 10px; padding: 0; columns: 2; column-gap: 18px; }
.services li { break-inside: avoid; padding: 4px 0 4px 24px; position: relative; font-weight: 600; }
.services li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 5px; font-size: .9em; }
@media (max-width: 420px) { .services ul { columns: 1; } }
.services .more { text-align: center; font-family: "Oswald", sans-serif; font-size: 1.5rem; margin: 6px 0 0; }

.figure { margin: 0; }
.figure img { margin-inline: auto; }
.figure figcaption { text-align: center; font-size: .95rem; color: var(--muted); margin-top: 8px; }

/* Before/after comparison slider */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.25); background: #ddd; user-select: none; -webkit-user-select: none; touch-action: pan-y; max-width: 460px; margin-inline: auto; }
.compare img { width: 100%; pointer-events: none; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .after img { height: 100%; object-fit: cover; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 6px rgba(0,0,0,.5); pointer-events: none; }
.compare .handle::after { content: "\2039 \203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; color: #fff; font-size: 20px; line-height: 35px; text-align: center; letter-spacing: 2px; }
.compare .label { position: absolute; top: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 10px; border-radius: 3px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; pointer-events: none; }
.compare .label.b { left: 10px; } .compare .label.a { right: 10px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type="range"]:focus-visible + .handle::after { outline: 3px solid #ffb020; }
.compare-title { text-align: center; margin: 12px 0 0; font-size: 1.2rem; }
.gallery-intro { text-align: center; color: var(--muted); margin-bottom: 24px; }
.gallery-grid { columns: 3 300px; column-gap: 28px; }
.gallery-item { break-inside: avoid; margin-bottom: 32px; }
.gallery-item .compare { max-width: none; }

.sponsor { text-align: center; background: #fff; border: 1px solid #e3e3e3; border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sponsor img { max-height: 240px; width: auto; margin: 0 auto 12px; }
.sponsor h3 { margin-bottom: 4px; }

.parallax { background: linear-gradient(rgba(0, 28, 60, .5), rgba(0, 28, 60, .5)), #1f6f87 url("../img/bubbles-bg.jpg") center / cover no-repeat; background-attachment: fixed; padding: 90px 16px; text-align: center; color: #fff; box-shadow: inset 0 0 29px 11px rgba(0,0,0,.45); }
.parallax blockquote { margin: 0 auto; max-width: 900px; }
.parallax p { font-family: "Oswald", sans-serif; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.25; margin: 0 0 .4em; text-shadow: 1px 1px 3px rgba(0,0,0,.7); }
.parallax cite { font-style: normal; font-family: "Oswald", sans-serif; font-size: 1.3rem; }
@media (hover: none), (max-width: 860px) { .parallax { background-attachment: scroll; } }

.team-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 320px)); justify-content: center; }
.team-card { text-align: center; text-decoration: none; color: inherit; display: block; }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.2); transition: transform .2s; }
.team-card:hover img { transform: scale(1.02); }
.team-card h3 { margin: 12px 0 2px; color: var(--blue-btn); }
.team-card .role { font-family: "Oswald", sans-serif; color: var(--muted); }
.team-card p { margin-top: 8px; font-size: .95rem; }

.reviews { background: var(--blue-deep); color: #fff; padding: 40px 0; }
.reviews > .container > h2 { color: #fff; text-align: center; text-shadow: 1px 1px 1px rgba(0,0,0,.8); margin-bottom: 24px; }
.review-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; }
@media (max-width: 700px) { .review-cards { grid-template-columns: 1fr; max-width: 420px; } }
.review-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--radius); padding: 26px 20px 22px; box-shadow: 0 6px 18px rgba(0, 0, 30, .3); transition: transform .2s, box-shadow .2s; }
.review-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 30, .38); }
.review-card h3 { margin: 6px 0 0; font-size: 1.45rem; color: var(--ink); }
.review-claim { font-weight: 600; color: var(--muted); }
.review-card .btn { margin-top: auto; font-size: .95rem; padding: 10px 18px; }
.review-card:hover .btn { background: var(--blue-btn-hover); }
.review-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 28px; }
.review-icon.yelp { background: #d32323; }
.review-icon.google { background: #4285f4; }
.review-icon.angi { background: #2b9a3f; }
.review-claim { margin-bottom: 10px; }

/* ---------- Inner pages ---------- */
.page-top { background: #fff; }
.banner-img { width: 100%; max-height: 460px; object-fit: cover; }
.banner-img.contain { object-fit: contain; background: #fff; max-height: 240px; }
.apply-card h2 { margin: 12px 0 10px; }
.apply-card img { max-width: 300px; width: 100%; margin: 14px auto 0; transition: transform .2s; }
.apply-card a:hover img { transform: scale(1.03); }
.role-line { font-family: "Oswald", sans-serif; font-size: 1.35rem; color: var(--blue-btn); letter-spacing: .03em; margin: 0 0 .8em; }
.bio-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.team-members-h { margin-top: 1.6em; }
.team-members { padding-left: 1.2em; }
.team-members li { padding: 2px 0; }
@media (max-width: 860px) { .bio .bio-photo { order: -1; max-width: 420px; } }
.page-head { padding-block: 22px 6px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #aaa; }
.page-title { margin: 0; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.intro p { font-family: "Oswald", sans-serif; font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.45; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.checklist li { position: relative; padding-left: 28px; font-family: "Oswald", sans-serif; font-size: 1.15rem; }
.checklist li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 3px; color: var(--green); }
.fineprint { font-size: .85rem; color: var(--muted); }
.callout-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row-2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form label, .form legend { display: block; font-weight: 600; margin-bottom: 4px; }
.form .req { color: #b00020; font-weight: 400; font-size: .85em; margin-left: 4px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: #111; background: #fff; border: 1px solid #b7bcc4; border-radius: var(--radius); padding: 10px 12px; min-height: 44px;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(51,109,255,.25); outline-offset: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form .choices label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.form .choices input { width: 18px; height: 18px; }
.form .hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .note { font-size: .92rem; color: var(--muted); }
.form-msg { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 14px; }
.form-msg.error { background: #fdecee; border: 1px solid #f3b6be; color: #7d1020; }
.card { background: #fff; border: 1px solid #e3e6ea; border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* ---------- Footer ---------- */
.site-footer { background: #111 url("../img/footer-bg.jpg") center / cover no-repeat; color: #fff; }
.site-footer .inner { background: var(--footer-bg); padding: 36px 0 20px; }
.site-footer h2 { font-size: 1.5rem; color: #fff; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-grid > :last-child { grid-column: auto; } }
.footer-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid #1a44e9; }
.footer-nav li { border-bottom: 1px solid #1a44e9; }
.footer-nav a { display: block; padding: 8px 10px; text-decoration: none; transition: background .2s, padding .2s; }
.footer-nav a:hover { background: var(--blue-btn-hover); padding-left: 16px; }
.areas { list-style: none; margin: 0 0 18px; padding: 0; }
.areas li { font-family: "Oswald", sans-serif; font-size: 1.25rem; padding: 3px 0; }
.areas li .fa { color: var(--blue); width: 1.2em; }
.footer-contact p { margin: 0 0 6px; }
.site-footer .form label { color: #fff; }
.site-footer .form .req { color: #ffb4b4; }
.site-footer .form textarea { min-height: 90px; }
.footmenu { background: #000; padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.footmenu .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.footmenu ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.footmenu a { text-decoration: none; display: inline-block; padding-block: 6px; }
.footmenu a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
