/* Canopée scroll-video hero (home page only). Everything is scoped to #cnp-hero. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

#cnp-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; color: #fff; direction: rtl; }
#cnp-hero * { box-sizing: border-box; }
#cnp-hero .cnp-media { position: absolute; inset: 0; }
#cnp-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#cnp-hero .cnp-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 28%, rgba(0,0,0,0) 50%); }
#cnp-hero .cnp-top { position: absolute; inset: 0 0 auto 0; height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); }

/* each step: big bold title bottom-right, small text bottom-left */
#cnp-hero .cnp-copy { position: absolute; inset: 0; pointer-events: none; font-family: "proxima-nova-hebrew","Heebo",sans-serif;
  --gut: clamp(24px,5vw,90px); --bot: clamp(40px,8vh,96px); }
#cnp-hero .cnp-title { position: absolute; right: var(--gut); bottom: var(--bot); max-width: 66vw; margin: 0; color: #fff;
  font-family: "futura-100-hebrew","Heebo",sans-serif; font-weight: 500; font-size: clamp(52px,6.9vw,100px);  /* was 700 (user 2026-12-02: one weight lighter; kit has 300/400/500/700) */
  line-height: 1; letter-spacing: 0; text-align: right; }
#cnp-hero .cnp-small { position: absolute; left: var(--gut); bottom: var(--bot); width: min(400px,28vw); color: #e6e6e6; text-align: right; }
#cnp-hero .cnp-k { font-size: 13px; letter-spacing: .4em; color: #bdbdbd; margin-bottom: 14px; }
#cnp-hero .cnp-small p { margin: 0; font-size: 16px; line-height: 1.7; }
#cnp-hero .cnp-sub { font-size: 15px; letter-spacing: .2em; color: #d0d0d0; }
#cnp-hero .cnp-btn { display: inline-block; margin-top: 22px; pointer-events: auto; color: #fff; text-decoration: none; border: 1px solid #fff;
  padding: 12px 28px; font-size: 15px; letter-spacing: .14em; transition: background .3s, color .3s; }
#cnp-hero .cnp-btn:hover { background: transparent; color: #fff; border-color: transparent; }
#cnp-hero .cnp-btn::before { inset: -1px !important; } /* gradient covers the border area too: no ring on hover */
#cnp-hero .cnp-c4 .cnp-k { direction: ltr; text-align: right; }
#cnp-hero .cnp-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
#cnp-hero .cnp-line > span { display: block; will-change: transform; }
#cnp-hero.cnp-pre .cnp-c0 { visibility: hidden; }

#cnp-hero .cnp-dbg { position: absolute; left: 16px; top: 140px; z-index: 5; font: 600 15px/1.4 ui-monospace,Consolas,monospace;
  background: rgba(0,0,0,.75); color: #0f0; padding: 10px 14px; direction: ltr; white-space: pre; }

@media (max-width: 767px) {
  #cnp-hero .cnp-copy { inset: auto 16px 28px 16px; display: flex; flex-direction: column; gap: 18px; }
  #cnp-hero .cnp-title, #cnp-hero .cnp-small { position: static; max-width: none; width: auto; }
  #cnp-hero .cnp-title { font-size: clamp(38px,11vw,52px); }
  #cnp-hero .cnp-small p { font-size: 15px; }
  #cnp-hero .cnp-scrim { background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 70%); }
}
