/*
 * Den-SHOW Emergency Stabilization v0.7.3
 * Purpose: restore front HERO layout, make six trails visible, and constrain watermark to light content backgrounds only.
 */

/* ---------- Front HERO: stable visual hierarchy ---------- */
body.denshow-theme .ds-page--hero-final .ds-hero-v23{
  position:relative !important;
  min-height:100svh !important;
  overflow:hidden !important;
  isolation:isolate !important;
  display:block !important;
}

/* Stop old 2-line fallback. Six real trail elements are the only Motion source. */
body.denshow-theme .ds-page--hero-final .ds-hero-v23::before,
body.denshow-theme .ds-page--hero-final .ds-hero-v23::after{
  content:none !important;
  display:none !important;
  animation:none !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23__stage{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  overflow:hidden !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23__wordmark{
  position:absolute !important;
  left:50% !important;
  top:44% !important;
  width:min(1420px,88vw) !important;
  height:auto !important;
  transform:translate(-50%,-50%) !important;
  opacity:.075 !important;
  z-index:1 !important;
  filter:brightness(.68) saturate(1.05) drop-shadow(0 0 16px rgba(80,230,100,.08)) !important;
  mix-blend-mode:screen !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23__alpha{
  position:absolute !important;
  left:50% !important;
  top:40% !important;
  width:min(430px,28vw) !important;
  height:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:2 !important;
  opacity:1 !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23__content{
  position:absolute !important;
  left:50% !important;
  top:68% !important;
  transform:translate(-50%,-50%) !important;
  z-index:20 !important;
  width:min(1180px,calc(100vw - 40px)) !important;
  max-width:1180px !important;
  padding:0 !important;
  margin:0 !important;
  text-align:center !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-words{
  position:static !important;
  width:auto !important;
  padding:0 !important;
  margin:0 auto !important;
  transform:none !important;
  text-align:center !important;
  z-index:auto !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-line{
  margin:0 !important;
  text-align:center !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-scroll-button{
  position:static !important;
  margin:34px auto 0 !important;
  transform:none !important;
  z-index:21 !important;
}

/* ---------- Six Horizontal Light Trails ---------- */
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trails{
  display:block !important;
  visibility:visible !important;
  position:absolute !important;
  inset:0 !important;
  z-index:8 !important;
  overflow:hidden !important;
  pointer-events:none !important;
  opacity:1 !important;
  mix-blend-mode:screen !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail{
  display:block !important;
  visibility:visible !important;
  position:absolute !important;
  left:-58vw !important;
  height:2px !important;
  min-height:1px !important;
  border-radius:999px !important;
  opacity:.58 !important;
  background:linear-gradient(90deg, transparent 0%, rgba(116,230,92,.08) 12%, rgba(116,230,92,.34) 28%, rgba(255,255,255,.95) 52%, rgba(116,230,92,.28) 74%, transparent 100%) !important;
  box-shadow:0 0 14px rgba(116,230,92,.42), 0 0 36px rgba(116,230,92,.22) !important;
  filter:blur(.45px) !important;
  transform:translate3d(0,0,0) !important;
  animation-name:ds-v073-hero-trail !important;
  animation-timing-function:linear !important;
  animation-iteration-count:infinite !important;
  will-change:transform !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail::after{
  content:"" !important;
  position:absolute !important;
  right:44% !important;
  top:50% !important;
  width:5px !important;
  height:5px !important;
  border-radius:50% !important;
  transform:translate(50%,-50%) !important;
  background:rgba(255,255,255,.92) !important;
  box-shadow:0 0 14px rgba(255,255,255,.76), 0 0 28px rgba(116,230,92,.66) !important;
}

body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--one{top:18% !important;width:36vw !important;animation-duration:8.8s !important;animation-delay:-7.3s !important;}
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--two{top:29% !important;width:52vw !important;animation-duration:10.4s !important;animation-delay:-4.7s !important;}
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--three{top:40% !important;width:42vw !important;animation-duration:9.6s !important;animation-delay:-1.5s !important;}
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--four{top:53% !important;width:60vw !important;animation-duration:11.8s !important;animation-delay:-9.8s !important;}
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--five{top:65% !important;width:46vw !important;animation-duration:10.9s !important;animation-delay:-6.0s !important;}
body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--six{top:77% !important;width:56vw !important;animation-duration:9.2s !important;animation-delay:-3.1s !important;}

@keyframes ds-v073-hero-trail{
  0%{transform:translate3d(0,0,0);}
  100%{transform:translate3d(178vw,0,0);}
}

/* ---------- Watermark: white/light content background only ---------- */
body.denshow-theme .ds-hero-v23 .ds-section-watermark,
body.denshow-theme .ds-business-hero .ds-section-watermark,
body.denshow-theme .ds-business-future > .ds-section-watermark,
body.denshow-theme .ds-business-cta > .ds-section-watermark,
body.denshow-theme .ds-footer-section .ds-section-watermark,
body.denshow-theme .ds-contact .ds-section-watermark{
  display:none !important;
}

body.denshow-theme .ds-section-watermark{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  bottom:-.08em !important;
  top:auto !important;
  transform:translateX(-50%) !important;
  z-index:0 !important;
  pointer-events:none !important;
  user-select:none !important;
  display:block !important;
  width:max-content !important;
  max-width:none !important;
  height:auto !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  font-family:var(--ds-serif, serif) !important;
  font-size:clamp(110px,18vw,280px) !important;
  font-weight:700 !important;
  line-height:.78 !important;
  letter-spacing:-.08em !important;
  color:rgba(20,32,24,.055) !important;
  opacity:1 !important;
  mix-blend-mode:multiply !important;
}

body.denshow-theme .ds-section,
body.denshow-theme .ds-business-section{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
}

body.denshow-theme .ds-section > .ds-container,
body.denshow-theme .ds-business-section > .ds-container{
  position:relative !important;
  z-index:2 !important;
}

/* Business CTA top spacing */
body.denshow-theme .ds-page--place .ds-business-cta,
body.denshow-theme .ds-page--commerce .ds-business-cta{
  padding-top:clamp(140px,12vw,200px) !important;
}

@media (max-width:760px){
  body.denshow-theme .ds-page--hero-final .ds-hero-v23__wordmark{
    top:43% !important;
    width:126vw !important;
    opacity:.055 !important;
  }
  body.denshow-theme .ds-page--hero-final .ds-hero-v23__alpha{
    top:39% !important;
    width:62vw !important;
  }
  body.denshow-theme .ds-page--hero-final .ds-hero-v23__content{
    top:68.5% !important;
    width:calc(100vw - 32px) !important;
  }
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail{
    left:-82vw !important;
    height:1px !important;
  }
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--one{top:20% !important;width:70vw !important;display:block !important;}
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--two{top:31% !important;width:84vw !important;display:block !important;}
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--three{top:42% !important;width:74vw !important;display:block !important;}
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--four{top:55% !important;width:86vw !important;display:block !important;}
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--five{top:67% !important;width:72vw !important;display:block !important;}
  body.denshow-theme .ds-page--hero-final .ds-hero-v23 .ds-hero-light-trail--six{top:79% !important;width:80vw !important;display:block !important;}
  body.denshow-theme .ds-section-watermark{
    font-size:clamp(76px,27vw,150px) !important;
    color:rgba(20,32,24,.045) !important;
  }
  body.denshow-theme .ds-page--place .ds-business-cta,
  body.denshow-theme .ds-page--commerce .ds-business-cta{
    padding-top:112px !important;
  }
}
