/* Homepage only. Decorative brand layer; the existing photo and typography stay intact. */
.sharp-index::before,
#z-mobile > .z-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("assets/home-hero-pattern.svg") right center / 100% 100% no-repeat;
}
.sharp-index > .sharp-brand,
.sharp-index > .sharp-nav,
.sharp-index > .sharp-copy,
.sharp-index > .sharp-down { z-index: 1; }
@media (max-width: 1000px) {
  #z-mobile > .z-hero { position: relative; isolation: isolate; overflow: hidden; }
  #z-mobile > .z-hero::before {
    background-size: auto 100%;
    background-position: right center;
    opacity: .8;
  }
  #z-mobile > .z-hero > h1,
  #z-mobile > .z-hero > p { position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .sharp-index h1 strong::before {
    transform-origin: left center;
    animation: zeta-home-rule 480ms cubic-bezier(.2,.7,.3,1) both;
  }
  .sharp-index .sharp-down { animation: zeta-home-scroll 2.2s ease-in-out 3; }
  @keyframes zeta-home-rule { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
  @keyframes zeta-home-scroll {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
  }
}

/* Lightweight glass-style backing for the existing homepage description. */
.sharp-index .sharp-copy > p,
#z-mobile > .z-hero > p {
  position: relative;
  isolation: isolate;
}
.sharp-index .sharp-copy > p::before,
#z-mobile > .z-hero > p::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -18px -24px;
  border: 1px solid rgba(166, 216, 224, .25);
  border-left: 3px solid rgba(120, 188, 199, .86);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(15, 49, 61, .76), rgba(36, 80, 89, .32));
}
@media (max-width: 1000px) {
  #z-mobile > .z-hero > p::before {
    inset: -12px -11px;
    border-radius: 12px;
  }
}
