/* ============ PLUMBING PAGE: hero with enquiry form ============ */
.form-honey{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

/* Hero stays put while the page slides over it. If it is taller than the screen
   (phones), it scrolls until its bottom edge reaches the screen, then holds. */
.page-hero--plumbing{
  position:sticky;top:min(0px,calc(100svh - var(--hero-h,100svh)));
  min-height:0;align-items:stretch;
}
.page-plumbing .intro{
  border-top-left-radius:28px;border-top-right-radius:28px;border-bottom:0;
  box-shadow:0 -24px 60px -28px rgba(0,10,18,.55);
}
.page-hero--plumbing .media img{object-position:center 45%;}
.page-hero--plumbing::after{
  background:
    linear-gradient(90deg,rgba(0,17,29,.82) 0%,rgba(0,17,29,.66) 50%,rgba(0,17,29,.5) 100%),
    linear-gradient(180deg,rgba(0,17,29,.4) 0%,rgba(0,17,29,0) 28%,rgba(0,17,29,.35) 100%);
}
.page-hero--plumbing .wrap.plumb-hero{
  display:grid;grid-template-columns:1fr;gap:clamp(2.5rem,5vw,3.5rem);
  padding-top:clamp(7.5rem,14vh,10rem);
  padding-bottom:clamp(3rem,6vw,5rem);
}

/* Copy */
.page-hero--plumbing .eyebrow{margin-bottom:1.6rem;}
.page-hero--plumbing .title{
  max-width:none;font-weight:300;letter-spacing:-.025em;line-height:1.04;
  font-size:clamp(2.4rem,1.7rem + 2.6vw,4rem);text-shadow:none;
}
.page-hero--plumbing .title em{display:block;white-space:nowrap;}
.page-hero--plumbing .sub{
  display:block;max-width:40ch;margin-top:1.6rem;color:rgba(246,242,234,.95);
  font-weight:450;font-size:clamp(1rem,.96rem + .25vw,1.12rem);line-height:1.65;text-shadow:none;
}

/* One quiet line of proof, no box */
.plumb-quote{margin:clamp(2.2rem,4vw,3.2rem) 0 0;padding-top:1.6rem;max-width:30rem;border-top:1px solid rgba(246,242,234,.16);}
.plumb-quote blockquote{
  margin:0;font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(1rem,.96rem + .2vw,1.1rem);line-height:1.5;color:rgba(246,242,234,.9);
}
.plumb-quote figcaption{margin-top:.8rem;font-size:.72rem;letter-spacing:.06em;color:rgba(246,242,234,.55);}
.plumb-quote-stars{color:var(--bronze-soft);letter-spacing:.14em;margin-right:.5rem;}

/* Form card */
.plumb-form-card{
  position:relative;background:var(--paper);color:var(--ink);
  padding:clamp(1.75rem,3vw,2.75rem);
  box-shadow:0 30px 80px -40px rgba(0,8,14,.8);
  scroll-margin-top:96px;
}
.plumb-form-title{font-size:clamp(1.5rem,1.3rem + .6vw,1.85rem);font-weight:300;letter-spacing:-.015em;margin:0 0 1.6rem;}

.plumb-grid{display:grid;grid-template-columns:1fr;gap:1.35rem;}
.plumb-field--full{grid-column:1 / -1;}
.plumb-field label{
  display:block;margin:0 0 .15rem;
  font-size:.66rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
}
.plumb-optional{text-transform:none;letter-spacing:0;font-weight:400;opacity:.8;}
.plumb-field input::placeholder{color:#a4a9ac;}
.plumb-field input,.plumb-field select{
  width:100%;font:inherit;font-size:1rem;color:var(--ink);
  background:transparent;border:0;border-bottom:1px solid rgba(14,20,23,.22);border-radius:0;
  padding:.55rem 0 .6rem;transition:border-color .25s var(--ease);
  -webkit-appearance:none;appearance:none;
}
.plumb-field select{
  cursor:pointer;padding-right:1.5rem;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a9814e' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .2rem center;
}
.plumb-field select:invalid{color:#8a9094;}
.plumb-field input:focus,.plumb-field select:focus{outline:none;border-bottom-color:var(--blue);box-shadow:0 1px 0 0 var(--blue);}
.plumb-form-card [aria-invalid="true"]{border-bottom-color:#b3261e;box-shadow:0 1px 0 0 #b3261e;}

.plumb-submit{width:100%;justify-content:center;margin-top:2rem;padding-block:1.05rem;box-shadow:none;}
.plumb-form-note{margin:1rem 0 0;font-size:.8rem;color:var(--muted);text-align:center;}
.plumb-form-note a{color:var(--blue);font-weight:600;white-space:nowrap;}
.plumb-form-note a:hover{text-decoration:underline;}

.plumb-success{text-align:center;padding:clamp(1.5rem,4vw,3rem) .5rem;}
.plumb-success:focus{outline:none;}
.plumb-success-mark{
  display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;
  border:1px solid var(--bronze);color:var(--bronze);font-size:1.1rem;margin-bottom:1.1rem;
}
.plumb-success h2{font-size:clamp(1.5rem,1.3rem + .8vw,1.9rem);font-weight:300;}
.plumb-success p{color:var(--muted);max-width:34ch;margin:.9rem auto 0;font-weight:300;}
.plumb-success a{color:var(--blue);font-weight:600;}

@media(min-width:1000px){
  .page-hero--plumbing{min-height:min(100svh,900px);}
  .page-hero--plumbing .wrap.plumb-hero{
    grid-template-columns:minmax(0,1fr) minmax(360px,420px);
    column-gap:clamp(4rem,9vw,10rem);align-items:center;
    padding-top:clamp(8rem,14vh,10rem);
  }
  .page-hero--plumbing .title{font-size:min(4rem,3.85vw);}
}
@media(max-width:699px){
  /* Phones get a portrait running-tap photo in the top of the screen that fades
     into deep blue behind the copy and form, so it reads as plumbing at a glance. */
  .page-hero--plumbing .media{bottom:auto;height:min(68svh,620px);}
  .page-hero--plumbing .media picture{display:block;width:100%;height:100%;}
  .page-hero--plumbing .media img{object-position:50% 30%;}
  .page-hero--plumbing::after{
    background:linear-gradient(180deg,
      rgba(0,17,29,.55) 0,
      rgba(0,17,29,.12) 7.5rem,
      rgba(0,17,29,.2) min(30svh,270px),
      rgba(0,17,29,.82) min(48svh,430px),
      var(--blue-deep) min(66svh,600px),
      var(--blue-deep) 100%);
  }
  .page-hero--plumbing .wrap.plumb-hero{padding-top:min(36svh,320px);gap:2.25rem;}
  .page-hero--plumbing .title{font-size:clamp(1.6rem,7.8vw,2.6rem);}
  .page-hero--plumbing .sub{font-size:1rem;margin-top:1.2rem;font-weight:450;}
  .plumb-quote{margin-top:1.8rem;padding-top:1.2rem;}
  .plumb-grid{grid-template-columns:1fr;gap:1.2rem;}
  .plumb-field input,.plumb-field select{font-size:16px;}
}

/* ============ INTRO (now an h2 under the hero h1) ============ */
.intro .intro-title{
  font-weight:300;letter-spacing:-.015em;line-height:1.3;
  font-size:clamp(1.5rem,1.05rem + 1.9vw,2.4rem);max-width:44ch;margin:0;
}
.intro .intro-title em{font-style:italic;color:var(--blue);}

/* ============ OWNERS ============ */
.plumb-owners{background:var(--paper);border-top:1px solid var(--line);}
.plumb-owners-grid{
  display:grid;grid-template-columns:1fr;gap:clamp(2.2rem,5vw,6rem);align-items:center;
  padding-block:clamp(4.5rem,9vw,8rem);
}
.plumb-owners-media{margin:0;position:relative;}
.plumb-owners-media img{width:100%;height:auto;aspect-ratio:4 / 5;object-fit:cover;object-position:center 35%;}
.plumb-owners-media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 65%,rgba(0,23,38,.55) 100%);
}
.plumb-owners-media figcaption{
  position:absolute;left:1.2rem;bottom:1.1rem;z-index:1;
  font-size:.68rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:rgba(246,242,234,.9);
}
.plumb-owners-copy h2{font-size:clamp(2rem,1.4rem + 2.4vw,3.4rem);font-weight:300;letter-spacing:-.025em;max-width:14ch;}
.plumb-owners-copy h2 em{font-style:italic;color:var(--bronze);}
.plumb-owners-copy .lead{font-size:clamp(1.08rem,1rem + .35vw,1.25rem);line-height:1.6;margin:1.6rem 0 0;max-width:46ch;color:var(--ink);}
.plumb-owners-copy p:not(.lead):not(.eyebrow){color:var(--muted);font-weight:300;max-width:50ch;margin:1.1rem 0 0;}
.plumb-owners-facts{
  list-style:none;padding:1.6rem 0 0;margin:2rem 0 0;border-top:1px solid var(--line);
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:21rem;
}
.plumb-owners-facts strong{display:block;font-family:var(--serif);font-weight:300;font-size:clamp(1.8rem,1.4rem + 1.4vw,2.5rem);line-height:1;color:var(--blue);}
.plumb-owners-facts span{display:block;margin-top:.45rem;font-size:.74rem;color:var(--muted);line-height:1.35;}
.plumb-owners-link{
  display:inline-flex;gap:.6rem;margin-top:2rem;font-size:.9rem;font-weight:600;color:var(--blue);
  border-bottom:1px solid rgba(0,51,82,.3);padding-bottom:.2rem;transition:border-color .3s var(--ease);
}
.plumb-owners-link:hover{border-color:var(--blue);}
@media(min-width:860px){
  .plumb-owners-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);}
}
@media(max-width:859px){
  .plumb-owners-media img{aspect-ratio:4 / 4.2;}
}

/* ============ FAQ ============ */
.plumb-faq{background:var(--bone);border-top:1px solid var(--line);}
.plumb-faq-grid{
  display:grid;grid-template-columns:1fr;gap:clamp(2rem,4vw,5rem);
  padding-block:clamp(4.5rem,9vw,8rem);
}
.plumb-faq-head h2{font-size:clamp(2rem,1.4rem + 2.4vw,3.2rem);font-weight:300;letter-spacing:-.025em;max-width:12ch;}
.plumb-faq-head h2 em{font-style:italic;color:var(--bronze);}
.plumb-faq-head p:not(.eyebrow){color:var(--muted);font-weight:300;margin:1.4rem 0 0;max-width:30ch;}
.plumb-faq-head a{color:var(--blue);font-weight:600;white-space:nowrap;}
.plumb-faq-list{border-top:1px solid var(--line);}
.plumb-faq-list details{border-bottom:1px solid var(--line);}
.plumb-faq-list summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;
  padding:1.35rem 0;font-family:var(--serif);font-size:clamp(1.12rem,1rem + .5vw,1.4rem);font-weight:400;color:var(--ink);
}
.plumb-faq-list summary::-webkit-details-marker{display:none;}
.plumb-faq-list summary::after{
  content:"+";flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--line);font-family:var(--sans);font-size:1.1rem;color:var(--bronze);
  transition:transform .3s var(--ease),background .3s var(--ease);
}
.plumb-faq-list details[open] summary::after{transform:rotate(45deg);background:#fff;}
.plumb-faq-list summary:focus-visible{outline:2px solid var(--bronze);outline-offset:4px;}
.plumb-faq-list details p{margin:0 0 1.5rem;max-width:58ch;color:var(--muted);font-weight:300;}
.plumb-faq-list details a{color:var(--blue);font-weight:600;}
@media(min-width:900px){
  .plumb-faq-grid{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);}
}

/* Mobile dock steps aside while the hero form is on screen */
body.plumb-form-visible .mobile-action-dock{opacity:0!important;pointer-events:none!important;transform:translateY(120%)!important;}

/* Hero parallax (driven by plumbing-enquiry.js) */
.page-hero--plumbing .plumb-hero-copy,
.page-hero--plumbing .plumb-form-card{will-change:transform;}

/* "Request a plumber" is longer than the usual nav CTA, so keep every nav item on
   one line and tighten the spacing on narrower desktops. */
.nav-links a,.nav-cta .btn{white-space:nowrap;}
@media(min-width:1000px) and (max-width:1279px){
  .nav-links{gap:clamp(1rem,2.2vw,1.75rem);}
  .nav-cta .btn{padding-left:1.1rem;padding-right:1.1rem;}
}

/* Mobile/tablet: backing for the see-through header once the page scrolls
   (toggled by plumbing-enquiry.js). Desktop keeps a clear header over the hero. */
@media(max-width:999px){
  .site-header.plumb-header-tint:not(.scrolled){
    background:rgba(0,26,43,.82);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border-bottom-color:rgba(246,242,234,.08);
  }
}

/* ============ ENQUIRY MODAL (plumbing-enquiry.js moves the hero form in here) ============ */
.plumb-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem;}
.plumb-modal[hidden]{display:none;}
.plumb-modal-backdrop{
  position:absolute;inset:0;background:rgba(0,17,29,.62);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  opacity:0;transition:opacity .26s var(--ease);
}
.plumb-modal-dialog{
  position:relative;width:min(100%,460px);max-height:calc(100svh - 2rem);overflow:auto;overscroll-behavior:contain;
  opacity:0;transform:translateY(16px) scale(.985);
  transition:opacity .26s var(--ease),transform .26s var(--ease);
}
.plumb-modal.is-open .plumb-modal-backdrop{opacity:1;}
.plumb-modal.is-open .plumb-modal-dialog{opacity:1;transform:none;}
.plumb-modal .plumb-form-card{box-shadow:0 40px 100px -30px rgba(0,8,14,.7);}
.plumb-modal-close{
  position:absolute;top:.6rem;right:.6rem;z-index:2;width:2.5rem;height:2.5rem;
  display:grid;place-items:center;border:0;background:transparent;cursor:pointer;
  font-size:1.6rem;line-height:1;color:var(--muted);border-radius:50%;
  transition:color .2s var(--ease),background .2s var(--ease);
}
.plumb-modal-close:hover{color:var(--ink);background:rgba(0,26,43,.06);}
.plumb-modal-close:focus-visible{outline:2px solid var(--blue);outline-offset:2px;}
html.plumb-modal-open,html.plumb-modal-open body{overflow:hidden;}
html.plumb-modal-open .mobile-action-dock{opacity:0!important;pointer-events:none!important;}
@media(max-width:699px){
  .plumb-modal{align-items:flex-end;padding:0;}
  .plumb-modal-dialog{width:100%;max-height:92svh;transform:translateY(24px);background:var(--paper);padding-bottom:env(safe-area-inset-bottom);}
}
@media(prefers-reduced-motion:reduce){
  .plumb-modal-backdrop,.plumb-modal-dialog{transition:none;}
}
/* The inert copy that holds the form's place in the hero while the modal is open */
.plumb-form-ghost{opacity:0;transition:none;pointer-events:none;}
