#home-footer {
  min-height: min(330px, 56vw);
  display: grid;
  align-content: end;
}
#home-footer .site-footer-inner { width: 100%; }

.paper-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(330px, 56vw);
  aspect-ratio: 1;
  isolation: isolate;
  z-index: 3;
}
.paper-under { position: absolute; inset: 0; overflow: hidden; background: #eeede7; }
.paper-under img { position: absolute; width: 72%; max-width: none; height: auto; right: -6%; bottom: -5%; }
.paper-surface { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.paper-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.paper-handle:focus-visible { outline: 2px solid #81d83d; outline-offset: -2px; }
.paper-corner.is-fallback .paper-under { clip-path: polygon(100% calc(100% - 48px), 100% 100%, calc(100% - 48px) 100%); }
.paper-corner.is-fallback.is-open .paper-under { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
