/* GRAPHIC EVOLUTION — shared finishing updates, applied site-wide */

/* One footer system for every page and viewport. The Explore/Contact divider
   is centred in the exact middle of the 40px grid gap. */
.footer .container.footgrid,
.footer .footgrid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr) !important;
  align-items: stretch !important;
  column-gap: 40px !important;
  row-gap: 28px !important;
}
.footer .footgrid > div { min-width: 0; }
.footer .footgrid > div:nth-child(2) {
  position: relative !important;
}
.footer .footgrid > div:nth-child(2)::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: -20px !important;
  left: auto !important;
  width: 1px !important;
  height: auto !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(190, 190, 200, .62) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
}
.footer .footgrid > div:nth-child(3) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.footer .footgrid > div:nth-child(3) .footer-social-title {
  display: block !important;
  width: auto !important;
  margin: 18px 0 8px !important;
  text-align: left !important;
}
.footer .footgrid > div:nth-child(3) .social-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  gap: 12px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
}
.footer .footgrid > div:nth-child(3) .social-links a {
  display: inline-flex !important;
  flex: 0 0 38px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
}
.footer .footgrid > div:nth-child(3) .social-links svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
}

/* On phones the brand remains a full-width first row; Explore and Contact
   stay side-by-side so the same centred divider remains meaningful. */
@media (max-width: 900px) {
  .footer .container.footgrid,
  .footer .footgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 32px !important;
    row-gap: 26px !important;
  }
  .footer .footgrid > div:first-child { grid-column: 1 / -1 !important; }
  .footer .footgrid > div:nth-child(2)::after {
    display: block !important;
    right: -16px !important;
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
  }
}
@media (max-width: 380px) {
  .footer .container.footgrid,
  .footer .footgrid { column-gap: 24px !important; }
  .footer .footgrid > div:nth-child(2)::after { right: -12px !important; }
  .footer .footgrid > div:nth-child(2) p,
  .footer .footgrid > div:nth-child(3) p,
  .footer .footgrid > div:nth-child(3) a { overflow-wrap: anywhere; }
}

/* The legacy page-wide watermark layer is intentionally disabled. Targeted, low-opacity
   finishing details now live in assets/finishing-touches.css. */
body { background-color: #fff; background-image: none; }

/* Larger, clearer phone CTA icon beside the phone number in the top bar. */
.utility-phone .mobile-cta-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 25px !important;
  height: 26px !important;
  margin: 0 8px 0 0 !important;
  vertical-align: -7px !important;
  color: #e0b9f4 !important;
}
.utility-phone .mobile-cta-icon svg {
  display: block !important;
  width: 23px !important;
  height: 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
@media (max-width: 650px) {
  .utility-phone .mobile-cta-icon {
    width: 27px !important;
    height: 28px !important;
    margin-right: 8px !important;
    vertical-align: -8px !important;
  }
  .utility-phone .mobile-cta-icon svg {
    width: 25px !important;
    height: 26px !important;
    stroke-width: 2 !important;
  }
}

/* CLIENT REVISION — remove unwanted floating/organic artwork site-wide.
   Keep the page content, brand logo, footer, and phone CTA unchanged. */
html, body {
  background-image: none !important;
  animation: none !important;
}
.section.soft::before,
.section.soft::after,
.section.soft:nth-of-type(even) .container::after,
.home-services + p::before,
.home-services + p::after,
.closing-cta::before,
.closing-cta::after,
.testimonials-section::before {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* Refined static layered transition into the footer: no stretched pale ribbon and no motion. */
.section-wave{display:block;width:100%;height:clamp(58px,7vw,96px);margin-top:-1px;overflow:hidden;line-height:0;pointer-events:none;background:transparent;}
.section-wave svg{display:block;width:100%;height:100%;}
@media(max-width:600px){.section-wave{height:54px}}


/* FINAL MINOR REFINEMENT — quiet, static lavender watermark bubbles in open section margins. */
.section.soft{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden;
}
.section.soft::before{
  content:""!important;display:block!important;position:absolute!important;z-index:0!important;
  width:clamp(150px,22vw,270px)!important;height:clamp(150px,22vw,270px)!important;
  right:-82px!important;top:50%!important;left:auto!important;bottom:auto!important;
  transform:translateY(-50%)!important;border:1px solid rgba(145,91,190,.085)!important;border-radius:50%!important;
  background:radial-gradient(circle at 50% 50%,transparent 0 37%,rgba(167,119,203,.07) 37.3% 37.8%,transparent 38.1% 57%,rgba(167,119,203,.06) 57.3% 57.8%,transparent 58.1%),radial-gradient(circle,rgba(160,105,196,.11) 1px,transparent 1.5px)!important;
  background-size:100% 100%,8px 8px!important;background-position:center,18% 20%!important;
  pointer-events:none!important;opacity:.72!important;
}
.section.soft>.container{position:relative!important;z-index:1!important;}
.section.soft>.container::after{
  content:"";position:absolute;z-index:-1;left:-64px;top:10%;width:clamp(82px,12vw,145px);height:clamp(82px,12vw,145px);
  border:1px solid rgba(157,105,194,.07);border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(157,105,194,.12) 1px,transparent 1.6px);background-size:9px 9px;
  opacity:.65;
}
/* Homepage portfolio CTA: asymmetric side ornaments keep the centred button clear. */
.home-work-marquee-section{position:relative;isolation:isolate;}
.home-work-marquee-section::before,.home-work-marquee-section::after{
  content:"";position:absolute;z-index:0;pointer-events:none;border-radius:50%;
}
.home-work-marquee-section::before{
  width:clamp(105px,15vw,190px);height:clamp(105px,15vw,190px);left:-52px;top:48%;
  border:1px solid rgba(151,100,190,.085);
  background:radial-gradient(circle,rgba(151,100,190,.12) 1px,transparent 1.6px);background-size:9px 9px;
  box-shadow:inset 0 0 0 17px rgba(151,100,190,.018),inset 0 0 0 34px rgba(151,100,190,.025);
}
.home-work-marquee-section::after{
  width:clamp(125px,18vw,225px);height:clamp(125px,18vw,225px);right:-68px;top:42%;
  border:1px solid rgba(151,100,190,.075);
  background:radial-gradient(circle at 30% 35%,rgba(151,100,190,.14) 1px,transparent 1.7px);background-size:10px 10px;
  box-shadow:inset 0 0 0 22px rgba(151,100,190,.018),inset 0 0 0 45px rgba(151,100,190,.022);
}
.home-work-marquee-section>.container,.home-work-marquee-section>.home-work-marquee,.home-work-marquee-section>.home-work-more{position:relative;z-index:1;}
@media(max-width:650px){
  .section.soft::before{right:-115px!important;width:155px!important;height:155px!important;opacity:.58!important;}
  .section.soft>.container::after{left:-92px;width:92px;height:92px;opacity:.5;}
  .home-work-marquee-section::before{left:-78px;top:42%;width:112px;height:112px;}
  .home-work-marquee-section::after{right:-92px;top:48%;width:132px;height:132px;}
}

/* Page-specific empty-space watermark accents: vary the ring/dot treatment by page. */
.pagehero .container,.gallery-hero .container{position:relative;}
.pagehero .container::after,.gallery-hero .container::after{
  content:"";position:absolute;z-index:0;right:0;top:50%;width:clamp(105px,15vw,185px);height:clamp(105px,15vw,185px);
  transform:translateY(-50%);border:1px solid rgba(151,100,190,.085);border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(151,100,190,.13) 1px,transparent 1.6px);background-size:9px 9px;
  box-shadow:inset 0 0 0 18px rgba(151,100,190,.018),inset 0 0 0 38px rgba(151,100,190,.022);
}
.pagehero .container>* ,.gallery-hero .container>*{position:relative;z-index:1;}
body.services-page .pagehero .container::after{width:145px;height:145px;border-style:dashed;background:none;box-shadow:inset 0 0 0 16px rgba(151,100,190,.018);}
body.work-page .pagehero .container::after{width:170px;height:170px;border-color:rgba(151,100,190,.07);background:radial-gradient(circle,rgba(151,100,190,.12) 1px,transparent 1.5px);background-size:11px 11px;}
body.quote-page .pagehero .container::after,body.contact-page .pagehero .container::after{border-color:rgba(220,190,239,.12);background:radial-gradient(circle,rgba(220,190,239,.16) 1px,transparent 1.7px);background-size:10px 10px;}
@media(max-width:650px){.pagehero .container::after,.gallery-hero .container::after{right:-22px;width:100px;height:100px;opacity:.62;} .pagehero .container>* ,.gallery-hero .container>*{max-width:calc(100% - 18px);}}
