/* VDMT V36 — Mobile Lotus Overlay + Footer Contact Icons
   Unified footer art direction: the full lotus sits behind the footer copy on mobile,
   while text remains readable. Small monochrome icons clarify social/contact links. */

/* Make sure the footer content always sits above the lotus artwork. */
.footer .wrap,
body.signature-home .footer .wrap{position:relative!important;z-index:2!important}

/* Footer link rows with icons */
.footer a.footer-link-icon,
body.signature-home .footer a.footer-link-icon{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:max-content!important;
  max-width:100%!important;
}
.footer-link-icon .footer-icon{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--v35-footer-jade,#4b967e)!important;
  opacity:.96!important;
}
.footer-link-icon .footer-icon svg{
  width:100%!important;
  height:100%!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.footer-link-icon.social .footer-icon svg{fill:currentColor!important;stroke:none!important}
.footer-link-icon .footer-label{min-width:0!important}
.footer-link-icon.external:after{
  content:"↗";
  font-size:.78em;
  line-height:1;
  color:var(--v35-footer-jade,#4b967e);
  margin-left:1px;
  opacity:.85;
}

/* MOBILE — lotus is a background layer, not a separate art band. */
@media(max-width:760px){
  .footer,
  body.signature-home .footer{
    position:relative!important;
    overflow:hidden!important;
    padding:46px 0 0!important;
    background:linear-gradient(180deg,#fbf8f2 0%,#f8f4ec 100%)!important;
  }

  /* Remove the extra bottom art band introduced in V35. */
  .footer-grid,
  body.signature-home .footer-grid{
    padding-bottom:46px!important;
    position:relative!important;
    z-index:2!important;
  }

  /* Full original painting lives under the footer text. */
  .footer:before,
  body.signature-home .footer:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    bottom:42px!important;
    transform:translateX(-50%)!important;
    width:118vw!important;
    height:82vw!important;
    max-width:none!important;
    max-height:390px!important;
    background-image:url('/assets/lotus-signature-v18.png')!important;
    background-repeat:no-repeat!important;
    background-position:center bottom!important;
    background-size:contain!important;
    opacity:.15!important;
    filter:saturate(.92) contrast(.98)!important;
    mix-blend-mode:multiply!important;
    pointer-events:none!important;
    z-index:0!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.36) 10%,#000 26%,#000 100%)!important;
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.36) 10%,#000 26%,#000 100%)!important;
  }

  /* A very soft veil protects the copy without hiding the artwork. */
  .footer .wrap:before,
  body.signature-home .footer .wrap:before{
    content:"";
    position:absolute;
    inset:-12px -10px 34px;
    background:linear-gradient(180deg,rgba(251,248,242,.38) 0%,rgba(251,248,242,.28) 58%,rgba(251,248,242,.10) 100%);
    pointer-events:none;
    z-index:-1;
  }

  .footer-link-icon .footer-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
  .footer a.footer-link-icon,
  body.signature-home .footer a.footer-link-icon{gap:8px!important}
}

@media(max-width:420px){
  .footer-grid,
  body.signature-home .footer-grid{padding-bottom:42px!important}
  .footer:before,
  body.signature-home .footer:before{
    width:126vw!important;
    height:90vw!important;
    max-height:360px!important;
    bottom:40px!important;
    opacity:.16!important;
  }
}
