/* VDMT V34 — Full Lotus Artwork Footer
   Preserve Minh's original lotus composition, show it as artwork rather than a cropped motif. */

.footer{
  --v34-art-opacity:.22;
}

/* Keep the whole original lotus composition visible. */
.footer:before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  bottom:56px!important;
  width:min(40vw,660px)!important;
  height:min(31vw,505px)!important;
  background-image:url('/assets/lotus-signature-v18.png')!important;
  background-repeat:no-repeat!important;
  background-position:left bottom!important;
  background-size:contain!important;
  opacity:var(--v34-art-opacity)!important;
  filter:saturate(.88) contrast(.96)!important;
  mix-blend-mode:multiply!important;
  pointer-events:none!important;
  z-index:0!important;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 76%,rgba(0,0,0,.72) 88%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,#000 0%,#000 76%,rgba(0,0,0,.72) 88%,transparent 100%)!important;
}

/* Keep copy readable while letting the painting breathe behind it. */
.footer-grid>div:first-child{
  position:relative!important;
  z-index:2!important;
}
.footer-grid>div:first-child:before{
  content:"";
  position:absolute;
  inset:-18px -14px -18px -18px;
  background:linear-gradient(90deg,rgba(250,248,243,.46),rgba(250,248,243,.20) 70%,transparent);
  pointer-events:none;
  z-index:-1;
}

@media(max-width:1000px){
  .footer{--v34-art-opacity:.20}
  .footer:before{
    width:min(46vw,570px)!important;
    height:min(35vw,440px)!important;
    left:-1vw!important;
  }
}

@media(max-width:760px){
  /* On mobile the artwork gets its own breathing space below the links,
     so the complete painting remains visible instead of being hidden by copy. */
  .footer{--v34-art-opacity:.24}
  .footer-grid{
    padding-bottom:clamp(230px,66vw,320px)!important;
  }
  .footer:before{
    left:50%!important;
    transform:translateX(-50%)!important;
    bottom:56px!important;
    width:min(96vw,620px)!important;
    height:min(73vw,470px)!important;
    background-position:center bottom!important;
    background-size:contain!important;
    opacity:var(--v34-art-opacity)!important;
    filter:saturate(.92) contrast(.98)!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.74) 15%,#000 34%,#000 100%)!important;
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.74) 15%,#000 34%,#000 100%)!important;
  }
  .footer-grid>div:first-child:before{display:none!important}
}

@media(max-width:520px){
  .footer{--v34-art-opacity:.26}
  .footer-grid{
    padding-bottom:clamp(215px,74vw,300px)!important;
  }
  .footer:before{
    width:100vw!important;
    height:76vw!important;
    max-height:310px!important;
    bottom:54px!important;
  }
}
