/* Whincup Plumbing — "High Tide". Plain CSS, no build step. Tokens first. */
:root{
  --cy:#00b5f1;      /* logo cyan: surfaces and buttons, always with ink text */
  --royal:#1e489f;   /* logo deep blue: bands with white text, accent text on white */
  --mid:#1b74bb;     /* small blue text on white */
  --ink:#0b1220; --navy:#0c1a33; --slate:#404654;
  --paper:#f6f6f6; --sky:#dbe9fb; --fog:#e9e9e9; --white:#fff;
  --r-btn:8px; --r:16px; --wrap:1200px; --pad:40px; --band:92px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.5;color:var(--navy);background:var(--white)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p,ul,dl,dd,figure,blockquote{margin:0}
ul{padding:0;list-style:none}
a{color:inherit}
[hidden]{display:none!important}
.skip{position:absolute;left:-999px;top:8px;z-index:100;padding:10px 16px;background:var(--white);color:var(--navy);border-radius:var(--r-btn);font-weight:700}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--cy);outline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--pad)}
.ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dropg{width:11px;height:14px;fill:var(--cy);flex:none}
.bubbles{position:absolute;fill:var(--white);pointer-events:none}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:15px 26px;border:1.5px solid transparent;border-radius:var(--r-btn);font-size:16px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:transform .15s ease,opacity .15s ease}
.btn:hover{transform:translateY(-1px);opacity:.92}
.btn .ico{width:18px;height:18px;stroke-width:2}
.btn--royal{background:var(--royal);color:var(--white)}
.btn--white{background:var(--white);color:var(--royal)}
.btn--ghost{border-color:var(--white);color:var(--white)}
.btn--cyan{background:var(--cy);color:var(--ink)}
.btn--sm{min-height:44px;padding:11px 20px;font-size:15px}
.btn--lg{padding:18px 30px;font-size:19px}
.btns{display:flex;flex-wrap:wrap;align-items:center;gap:14px}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--fog)}
.nav__in{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand img{width:92px}
.brand__name{display:flex;flex-direction:column;gap:3px;line-height:1;font-weight:700}
.brand__name b{font-size:18px;letter-spacing:.05em;color:var(--navy)}
.brand__name i{font-style:normal;font-size:13px;letter-spacing:.2em;color:var(--mid)}
.nav__menu{display:flex;align-items:center;gap:30px}
.nav__menu>a:not(.btn){font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap}
.nav__menu>a:not(.btn):hover{color:var(--royal)}
.nav__toggle{display:none;width:48px;height:48px;align-items:center;justify-content:center;background:none;border:1.5px solid var(--navy);border-radius:var(--r-btn);color:var(--navy);cursor:pointer}

/* shared text */
.eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--royal)}
.eyebrow--light{color:var(--white)}
.eyebrow--ink{color:var(--ink)}
.eyebrow--ink .dropg{fill:var(--royal)}
.head{display:flex;flex-direction:column;gap:16px}
h1,h2,.quote{font-weight:800;letter-spacing:-.03em;line-height:1.08}
h2{font-size:clamp(34px,4.4vw,56px);color:var(--navy)}
.hi{color:var(--royal)}
.lede{max-width:580px;font-size:18px;color:var(--slate)}
h3{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--navy)}

/* bands */
.band{position:relative;padding:var(--band) 0;overflow:hidden}
.band--paper{background:var(--paper)}
.band--sky{background:var(--sky)}
.band--cyan{background:var(--cy)}
.band--royal{background:var(--royal)}
.stack{position:relative;display:flex;flex-direction:column;gap:44px}

/* hero */
.hero{position:relative;overflow:hidden;background:var(--royal);color:var(--white)}
.bubbles--hero{left:46%;top:24px;width:170px;opacity:.12}
.hero__in{position:relative;display:flex;align-items:center;gap:60px;padding-top:80px;padding-bottom:92px}
.hero__copy{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:26px}
.hero h1{font-size:clamp(44px,5.6vw,80px);line-height:1.04}
.hero h1 span{color:var(--cy);white-space:nowrap}
.hero__sub{max-width:520px;font-size:20px;color:#e4edfb}
.hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:15px;font-weight:600;color:#e4edfb}
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:var(--white);color:var(--navy);font-size:14px;font-weight:700}
.badge::before{content:"";width:9px;height:9px;border-radius:50%;background:#12833b}
.badge.is-closed::before{background:#b42318}
.hero__media{flex:1 1 0;min-width:0;position:relative;padding:0 0 28px 28px}
.hero__photo{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:var(--r);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.hero__drop{position:absolute;left:-14px;bottom:-22px;width:112px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}

/* trust strip */
.trust{background:var(--white);border-bottom:1px solid var(--fog)}
.trust__in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px;padding-top:30px;padding-bottom:30px}
.trust li{display:flex;align-items:center;gap:14px}
.tick{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--sky);color:var(--royal);flex:none}
.tick .ico{stroke-width:2.6}
.trust b{display:block;font-size:20px;font-weight:800;line-height:1.2;color:var(--navy)}
.trust small{display:block;font-size:14px;color:var(--slate)}

/* services */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{display:flex;flex-direction:column;gap:14px;padding:28px;background:var(--white);border-radius:var(--r);box-shadow:0 0 2px rgba(0,0,0,.08)}
.card__ico{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--royal);color:var(--white)}
.card p,.panel p{color:var(--slate)}

/* how we work */
.bubbles--why{right:5%;top:30px;width:190px;opacity:.3}
.quote{max-width:980px;font-size:clamp(32px,4.6vw,60px);color:var(--ink)}
.panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.panel{display:flex;flex-direction:column;gap:12px;padding:30px;background:var(--white);border-radius:var(--r)}

/* work */
.tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:30px 24px}
.tile{grid-column:span 2;display:flex;flex-direction:column;gap:12px}
.tile:nth-child(n+4){grid-column:span 3}
.tile img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--r)}
.tile figcaption{font-size:15px;font-weight:600;color:var(--navy)}

/* split sections */
.split{display:flex;align-items:center;gap:56px}
.split--top{align-items:stretch}
.split__media,.split__copy{flex:1 1 0;min-width:0}
.split__copy{display:flex;flex-direction:column;gap:26px}
.split__media>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.checks{display:flex;flex-direction:column;gap:10px}
.checks li{display:flex;align-items:center;gap:14px;padding:16px 20px;background:var(--white);border-radius:12px;font-size:17px;font-weight:600;color:var(--navy)}
.checks .ico{width:22px;height:22px;stroke-width:2.6;color:var(--royal)}

/* callout */
.call__in{display:flex;align-items:center;gap:52px}
.plate{flex:0 1 360px;padding:34px 38px;background:#000;border-radius:var(--r)}
.call__copy{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:20px}
.call h2{color:var(--white)}
.call p{font-size:19px;color:#e4edfb}
.call__hours{font-size:15px;font-weight:600;color:var(--white)}

/* where we work */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{padding:9px 16px;background:var(--sky);border-radius:var(--r-btn);font-size:15px;font-weight:600;color:var(--navy)}
.chip--all{background:var(--royal);color:var(--white)}
.hours{padding:8px 24px;background:var(--paper);border-radius:var(--r)}
.hours__row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--fog)}
.hours__row:last-child{border-bottom:0}
.hours dt{color:var(--slate)}
.hours dd{font-weight:700;color:var(--navy)}
.split__media--map{min-height:400px}
.map{position:relative;height:100%;min-height:400px;border-radius:var(--r);overflow:hidden;background:var(--sky)}
.map>svg{display:block;width:100%;height:100%;min-height:400px}
.map .sea{fill:#9dc6f3}
.map .road{fill:none;stroke:var(--white);stroke-width:5;stroke-linecap:round}
.map .road--main{stroke-width:9}
.map .pin{fill:var(--royal);stroke:var(--white);stroke-width:3}
.map .lbl{fill:var(--navy);font-size:15px;font-weight:600}
.map .lbl--base{font-size:17px;font-weight:800}
.map .ocean{fill:var(--navy);font-size:13px;font-weight:600;letter-spacing:.2em;text-anchor:middle;opacity:.7}
.map__note{position:absolute;right:12px;top:12px;padding:5px 10px;background:var(--white);border-radius:var(--r-btn);font-size:12px;font-weight:600;color:var(--ink)}

/* footer */
.foot{padding:56px 0 36px;background:var(--navy);color:#cfd9ea}
.foot__in{display:flex;flex-direction:column;gap:36px}
.foot__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:36px}
.foot__logo{width:220px;flex:none}
.foot__col{display:flex;flex-direction:column;gap:8px}
.foot__col--lic{max-width:340px;font-size:15px}
.foot__col b{color:var(--white)}
.foot__phone{font-size:26px;font-weight:700;color:var(--cy);text-decoration:none}
.foot__base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:22px;border-top:1px solid #24365a;font-size:14px}

/* sticky call bar (phones) */
.callbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 16px;background:var(--cy);color:var(--ink);font-size:17px;font-weight:800;text-decoration:none;box-shadow:0 -2px 10px rgba(0,0,0,.18)}
.callbar .ico{width:20px;height:20px;stroke-width:2.2}

/* audit view: add ?todos to the address to outline everything that still needs confirming */
.show-todos .todo{outline:3px dashed #d92d20;outline-offset:3px}

@media (max-width:1024px){
  :root{--pad:28px;--band:76px}
  .nav__menu{gap:20px}
  .hero__in,.split,.call__in{gap:40px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust__in{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .nav__toggle{display:flex}
  .nav__menu{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--pad) 20px;background:var(--white);border-bottom:1px solid var(--fog);box-shadow:0 12px 24px rgba(12,26,51,.12)}
  .nav__menu.is-open{display:flex}
  .nav__menu>a:not(.btn){padding:14px 0;border-bottom:1px solid var(--fog);font-size:17px}
  .nav__menu .btn{margin-top:16px;justify-content:center}
}
@media (max-width:820px){
  .hero__in,.split,.call__in{flex-direction:column;align-items:stretch}
  .hero__in{padding-top:56px;padding-bottom:72px}
  .hero__media,.hero__copy,.split__media,.split__copy,.call__copy{flex:none}
  .plate{flex:none;max-width:360px}
  .panels{grid-template-columns:minmax(0,1fr)}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tile,.tile:nth-child(n+4){grid-column:span 1}
  .tile:last-child{grid-column:span 2}
}
@media (max-width:560px){
  :root{--pad:20px;--band:60px}
  body{padding-bottom:56px}
  .callbar{display:flex}
  .brand img{width:76px}
  .grid,.trust__in,.tiles{grid-template-columns:minmax(0,1fr)}
  .tile:last-child{grid-column:span 1}
  .hero__sub{font-size:18px}
  .btns .btn{flex:1 1 auto;justify-content:center}
  .card,.panel{padding:24px}
  .hours{padding:6px 18px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
