/* Splash Bros — mobile-first, no framework, no build step. */

:root{
  --cyan:#01B3FD;
  --blue:#0178F8;
  --blue-dk:#0160c9;
  --ico:64px;
  --ico-gap:14px;
  --ink:#071321;
  --ink-2:#0e2235;
  --gray:#EAEAEA;
  --body:#1d2b39;
  --muted:#5b6b7c;
  --paper:#fff;
  --paper-2:#f4f8fc;
  --r:14px;
  --wrap:1120px;
  --display:"Arial Black","Arial Bold",Impact,system-ui,sans-serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --shadow:0 2px 4px rgba(7,19,33,.06),0 10px 26px rgba(7,19,33,.09);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  color:var(--body);
  background:var(--paper);
  /* room for the sticky call bar */
  padding-bottom:calc(68px + env(safe-area-inset-bottom));
}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-dk)}
h1,h2,h3{line-height:1.12;margin:0 0 .5em;color:var(--ink)}
h1{font-size:clamp(2.3rem,9vw,4rem);font-family:var(--display);letter-spacing:-.02em}
h2{font-size:clamp(1.7rem,5.2vw,2.5rem);font-family:var(--display);letter-spacing:-.01em}
h3{font-size:1.14rem;font-weight:800}
p{margin:0 0 1em}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px}

.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:12px 18px;z-index:99}
.skip:focus{left:8px;top:8px}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px;border-radius:6px}

/* ───────────────────────────── brand marks ───────────────────────────── */
/* Header and footer use the approved art from assets/brand/, not type. */
.brand-logo{height:40px;width:auto;display:block}
.foot-logo{width:110px;height:auto}

/* ───────────────────────────── header ───────────────────────────── */
.site-head{
  position:sticky;top:0;z-index:40;
  background:linear-gradient(100deg,var(--ink) 0%,var(--ink-2) 60%,#143a63 100%);
  border-bottom:3px solid var(--cyan);
}
.head-row{display:flex;align-items:center;gap:14px;min-height:62px}
.brand{display:flex;align-items:center;text-decoration:none;flex:1 0 auto}
.head-row .head-nav{display:none}
.head-row .head-call{display:none}

@media (min-width:860px){
  .head-row .head-nav{display:flex;gap:26px;margin-left:auto}
  .head-nav a{color:#dbe9f7;text-decoration:none;font-weight:700;font-size:.97rem}
  .head-nav a:hover{color:#fff}
  .head-row .head-call{display:inline-flex;margin-left:8px}
  .brand{flex:0 0 auto}
  .brand-logo{height:52px}
}

/* ───────────────────────────── buttons ───────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 22px;border-radius:999px;font-weight:800;font-size:1.02rem;
  text-decoration:none;border:2px solid transparent;white-space:nowrap;
  transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn-call{background:var(--cyan);color:#042033;box-shadow:0 6px 18px rgba(1,179,253,.38)}
.btn-call:hover{background:#2cc2ff}
.btn-text{background:#fff;color:var(--ink);box-shadow:0 6px 18px rgba(0,0,0,.22)}
.btn-text:hover{background:var(--gray)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.head-call{padding:10px 16px;font-size:.92rem}

/* ───────────────────────────── hero ───────────────────────────── */
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--ink)}
.hero-bg{position:absolute;inset:0;z-index:-2}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:72% center}
/* The headline sits on the left, where the art is already near-black. The
   scrim only has to hold the right-hand spray down far enough for AA. */
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(4,10,20,.86) 0%,rgba(4,10,20,.70) 45%,rgba(4,10,20,.92) 100%),
    linear-gradient(90deg,rgba(4,10,20,.80) 0%,rgba(4,10,20,.45) 100%);
}
.hero-inner{padding-block:48px 56px;position:relative;z-index:1}
@media (min-width:860px){
  .hero-bg img{object-position:center}
  .hero-inner{
    padding-block:84px 96px;
    display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);
    column-gap:48px;align-items:center;
  }
  .hero-inner > *{grid-column:1}
  .hero::after{
    background:linear-gradient(95deg,
      rgba(4,10,20,.95) 0%,rgba(4,10,20,.90) 42%,
      rgba(4,10,20,.52) 72%,rgba(4,10,20,.18) 100%);
  }
}
.eyebrow{
  font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  font-size:.78rem;color:var(--cyan);margin-bottom:.8em;
}
.hero h1{color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.5)}
.hero-sub{color:#dce8f4;font-size:1.1rem;max-width:36ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero-note{color:#a9c0d6;font-size:.95rem;margin-top:16px;max-width:42ch}

/* Licensed & insured + hours. Same two chips in the hero and in Contact;
   the hero sits on the dark photo, so only the colours differ. */
.hero-trust{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.contact-meta{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.trust-badge,.trust-hours{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.86rem;font-weight:700;letter-spacing:.02em;
  padding:8px 14px;border-radius:999px;white-space:nowrap;
}
.hero-trust .trust-badge{background:var(--cyan);color:#04203a}
.hero-trust .trust-hours{background:rgba(255,255,255,.13);color:#eaf4ff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
.contact-meta .trust-badge{background:#e6f6ff;color:#044e7a;
  box-shadow:inset 0 0 0 1px #b9e3fb}
.contact-meta .trust-hours{background:var(--paper-2);color:var(--ink);
  box-shadow:inset 0 0 0 1px #dfe8f1}
/* The mascots are drawn with a black outline and no white keyline, so on the
   dark hero they need an outline of their own to stay legible. */
.hero-mascot{display:block;width:62%;max-width:240px;margin:-2px 0 16px auto;pointer-events:none}
.hero-mascot img{width:100%;height:auto;filter:drop-shadow(0 0 2px #fff)}
@media (min-width:860px){
  .hero-mascot{
    grid-column:2;grid-row:1 / span 6;align-self:center;justify-self:center;
    width:min(32vw,420px);max-width:none;margin:0;
  }
}

/* ───────────────────────────── slogan band ───────────────────────────── */
.slogan-band{
  margin:0;padding:16px 20px;text-align:center;
  background:linear-gradient(90deg,var(--cyan),var(--blue));
  color:#fff;font-family:var(--display);font-size:clamp(1rem,3.6vw,1.45rem);
  letter-spacing:.01em;text-shadow:0 2px 0 rgba(0,0,0,.2);
}

/* ───────────────────────────── sections ───────────────────────────── */
.section{padding-block:56px}
@media (min-width:860px){.section{padding-block:84px}}
.section-alt{background:var(--paper-2)}
.section-dark{background:linear-gradient(160deg,var(--ink) 0%,#10304e 100%);color:#dce8f4}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark a{color:var(--cyan)}
.lede{color:var(--muted);font-size:1.08rem;max-width:56ch;margin-bottom:2em}
.section-dark .lede{color:#a9c0d6}

/* ───────────────────────────── service cards ───────────────────────────── */
.cards{list-style:none;margin:0;padding:0;display:grid;gap:18px}
@media (min-width:620px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{
  background:#fff;border:1px solid #dfe8f1;border-radius:var(--r);
  padding:24px 22px;box-shadow:var(--shadow);
}
/* No coloured tile behind these: the icons are light grey and white with black
   outlines, and a cyan/blue tile turns the soft-wash and headstone ones to mud. */
.card-ico{display:block;width:var(--ico);height:var(--ico);margin-bottom:var(--ico-gap)}
.card-ico img{width:100%;height:100%;object-fit:contain;display:block}
.card p{color:var(--muted);margin-bottom:0}
/* The headstone card has no icon: the approved replacement art has not landed
   and the original shows a pressure wand, which its copy now rules out.
   Nothing is drawn in its place — the card just reserves the height the icon
   block would have taken, so titles still line up across a row. Below 620px
   the cards are a single column and there is no row to line up with. */
@media (min-width:620px){
  .card-noicon{padding-top:calc(24px + var(--ico) + var(--ico-gap))}
}
.card .price-note{margin-top:8px;font-size:.9rem;color:var(--muted)}
.card .price{
  margin-top:14px;color:var(--ink);font-weight:700;
  background:var(--paper-2);border-radius:10px;padding:9px 13px;display:inline-block;
}

/* ───────────────────────────── before / after ───────────────────────────── */
.ba-figure{margin:0 0 42px;max-width:820px}
.ba-figure-tall{max-width:520px}
.ba-figure figcaption{color:var(--muted);font-size:.95rem;margin-top:12px}
.ba{
  position:relative;width:100%;aspect-ratio:1536/1300;overflow:hidden;
  border-radius:var(--r);box-shadow:var(--shadow);background:#0b1b2b;
  touch-action:pan-y;user-select:none;
}
.ba-tall{aspect-ratio:3/4}
.ba-layer,.ba-layer img{position:absolute;inset:0;width:100%;height:100%}
.ba-layer img{object-fit:cover}
.ba-clip{clip-path:inset(0 0 0 var(--pos))}  /* after layer occupies the right of the handle */
.ba-line{
  position:absolute;top:0;bottom:0;left:var(--pos);width:4px;margin-left:-2px;
  background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.25);pointer-events:none;
}
.ba-grip{
  position:absolute;top:50%;left:50%;width:46px;height:46px;margin:-23px 0 0 -23px;
  border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.4);
}
.ba-grip::before,.ba-grip::after{
  content:"";position:absolute;top:50%;width:0;height:0;margin-top:-6px;
  border-block:6px solid transparent;
}
.ba-grip::before{left:11px;border-right:8px solid var(--blue)}
.ba-grip::after{right:11px;border-left:8px solid var(--blue)}
.ba-range{
  position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;
  -webkit-appearance:none;appearance:none;background:transparent;
}
.ba-range::-webkit-slider-thumb{-webkit-appearance:none;width:52px;height:100%;cursor:ew-resize}
.ba-range::-moz-range-thumb{width:52px;height:300px;border:0;opacity:0;cursor:ew-resize}
.ba-range:focus-visible + .ba-line,
.ba:has(.ba-range:focus-visible) .ba-grip{box-shadow:0 0 0 4px var(--cyan),0 4px 14px rgba(0,0,0,.4)}
.ba-tag{
  position:absolute;top:12px;z-index:2;pointer-events:none;
  background:rgba(7,19,33,.78);color:#fff;font-weight:800;font-size:.78rem;
  letter-spacing:.09em;text-transform:uppercase;padding:6px 11px;border-radius:999px;
}
.ba-tag-a{left:12px}
.ba-tag-b{right:12px}

/* The fence pair is one job, but the two photos are framed differently, so
   they sit side by side instead of under a slider. */
.pair{margin:0 0 42px;max-width:800px}
.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (min-width:760px){.pair-grid{gap:20px}}
.pair-item{position:relative;border-radius:var(--r);overflow:hidden;
  box-shadow:var(--shadow);background:#fff}
.pair-item img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.pair-tag{
  position:absolute;top:10px;left:10px;
  background:rgba(7,19,33,.78);color:#fff;font-weight:800;font-size:.72rem;
  letter-spacing:.09em;text-transform:uppercase;padding:5px 10px;border-radius:999px;
}
.pair figcaption{margin-top:12px;color:var(--muted);font-size:.95rem}

.gallery-head{margin-top:8px;font-size:1.3rem;font-family:var(--display)}
.gallery{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}
@media (min-width:760px){.gallery{grid-template-columns:repeat(3,1fr)}}
.gallery li{background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.gallery img{aspect-ratio:3/4;object-fit:cover;width:100%}
.gallery span{display:block;padding:11px 14px;font-size:.9rem;color:var(--muted)}

/* ───────────────────────────── towns ───────────────────────────── */
.towns{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.towns li{
  background:#fff;border:2px solid var(--cyan);color:var(--ink);
  border-radius:999px;padding:9px 18px;font-weight:700;
}
.towns-note{color:var(--muted)}

/* ───────────────────────────── steps ───────────────────────────── */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:26px;counter-reset:s}
@media (min-width:760px){.steps{grid-template-columns:repeat(3,1fr);gap:32px}}
.steps li{position:relative;padding-top:4px}
.step-n{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;margin-bottom:14px;
  background:linear-gradient(140deg,var(--cyan),var(--blue));
  color:#fff;font-family:var(--display);font-size:1.3rem;
}
.steps p{color:#a9c0d6;margin-bottom:0}
/* .section-dark — same outline treatment as the hero. */
.step-mascot{display:block;width:min(200px,62%);margin:16px 0 0}
.step-mascot img{width:100%;height:auto;filter:drop-shadow(0 0 2px #fff)}
@media (min-width:760px){.step-mascot{width:230px;margin-top:20px}}

/* ───────────────────────────── contacts ───────────────────────────── */
/* White section — the black outlines read fine here, no drop-shadow needed. */
.contact-mascot{display:block;width:190px;margin:0 0 18px auto}
.contact-mascot img{width:100%;height:auto}
@media (min-width:760px){.contact-mascot{width:280px;margin-bottom:-24px}}

.contacts{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:14px}
@media (min-width:700px){.contacts{grid-template-columns:repeat(2,1fr)}}
.contacts li{
  display:flex;gap:14px;align-items:center;
  background:var(--paper-2);border-radius:var(--r);padding:16px 18px;
}
.contacts li > span{font-size:1.3rem;flex:none}
.contacts strong{display:block;font-size:.76rem;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted)}
.contacts a{font-weight:700;word-break:break-word}

/* ───────────────────────────── footer ───────────────────────────── */
.site-foot{background:var(--ink);color:#9db4c9;padding-block:40px 32px;font-size:.95rem}
.site-foot a{color:var(--cyan)}
.foot-brand{margin-bottom:14px}
.foot-small{margin:18px 0 0;color:#5f788e;font-size:.85rem}

/* ───────────────────────────── sticky call bar ───────────────────────────── */
.callbar{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  display:flex;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(7,19,33,.96);border-top:3px solid var(--cyan);
  backdrop-filter:blur(8px);
}
.callbar-btn{
  flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 10px;border-radius:12px;font-weight:800;font-size:1.05rem;
  text-decoration:none;
}
.callbar-call{background:var(--cyan);color:#042033}
.callbar-text{background:#fff;color:var(--ink)}
@media (min-width:860px){
  .callbar{display:none}
  body{padding-bottom:0}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.01ms !important}
}
