/* Canopée site chrome (2026-11 redesign): header, off-canvas menu, intro loader. Loaded on every page. */
:root { --cnp-head-h: 92px; --cnp-ease: cubic-bezier(.77,0,.18,1);
  /* the site's single accent: bronze. Every button turns to this gradient on hover. */
  --cnp-accent: #8b6b4e; --cnp-accent-grad: linear-gradient(135deg, #8b6b4e, #6e5139); --cnp-accent-ink: #fff; }
@media (max-width: 767px) { :root { --cnp-head-h: 68px; } }

/* ---------- header ---------- */
.cnp-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; height: var(--cnp-head-h);
  display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 3vw, 48px);
  background: #000; transition: background-color .4s, backdrop-filter .4s; }
body.home .cnp-header { position: fixed; inset-inline: 0; background: transparent; }
body.home .cnp-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; pointer-events: none; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); transition: opacity .4s; }
body.home .cnp-header.is-solid { background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.home .cnp-header.is-solid::before { opacity: 0; }
body.home #cnp-hero-wrap { margin-top: 0 !important; }

.cnp-logo { display: block; line-height: 0; }
.cnp-logo img { display: block; height: clamp(22px, 2.3vw, 34px); width: auto; }

.cnp-burger { position: absolute; inset-inline-start: clamp(16px, 3vw, 48px); top: 50%; translate: 0 -50%;
  width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; color: #fff;
  display: grid; place-items: center; border-radius: 0; }
.cnp-burger:hover, .cnp-burger:focus { background: none; color: #fff; }
.cnp-burger-lines { position: relative; display: block; width: 32px; height: 14px; }
.cnp-burger-lines i { position: absolute; inset-inline-start: 0; height: 1.5px; background: currentColor; transition: width .35s var(--cnp-ease); }
.cnp-burger-lines i:nth-child(1) { top: 0; width: 100%; }
.cnp-burger-lines i:nth-child(2) { top: 6px; width: 70%; }
.cnp-burger-lines i:nth-child(3) { top: 12px; width: 45%; }
.cnp-burger:hover .cnp-burger-lines i { width: 100%; }

/* contact button: inline end (left in Hebrew) */
.cnp-cta { position: absolute; inset-inline-end: clamp(16px, 3vw, 48px); top: 50%; translate: 0 -50%;
  display: inline-block; padding: 12px 28px; background: #fff; color: #000; text-decoration: none;
  font-family: "proxima-nova-hebrew", "Heebo", sans-serif; font-size: 15px; letter-spacing: .14em; line-height: 1;
  transition: background-color .35s, color .35s; }
/* buttons: the bronze gradient fades in on hover (a ::before layer, since gradients can't transition) */
.cnp-cta, #cnp-hero .cnp-btn, .elementor-button, .elementor-field-type-submit button { isolation: isolate; overflow: hidden; }
#cnp-hero .cnp-btn, .elementor-button, .elementor-field-type-submit button { position: relative; } /* .cnp-cta is already absolute */
.cnp-cta::before, #cnp-hero .cnp-btn::before, .elementor-button::before, .elementor-field-type-submit button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cnp-accent-grad); opacity: 0; transition: opacity .35s; pointer-events: none; }
.cnp-cta:hover::before, .cnp-cta:focus-visible::before, #cnp-hero .cnp-btn:hover::before, .elementor-button:hover::before,
.elementor-field-type-submit button:hover::before { opacity: 1; }
.cnp-cta:hover, .cnp-cta:focus-visible, #cnp-hero .cnp-btn:hover, .elementor-button:hover, .elementor-field-type-submit button:hover {
  color: var(--cnp-accent-ink) !important; border-color: transparent !important; }
@media (max-width: 767px) { .cnp-cta { padding: 9px 14px; font-size: 13px; letter-spacing: .08em; } }

/* ---------- off-canvas ---------- */
.cnp-oc-overlay { position: fixed; inset: 0; z-index: 1001; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .6s var(--cnp-ease); }
.cnp-oc-overlay.is-open { opacity: 1; }
.cnp-offcanvas { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 1002; width: 50vw;
  background: #1b1c1c; color: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--cnp-head-h) + 4vh) clamp(28px, 6vw, 110px) clamp(28px, 5vh, 56px);
  transform: translateX(-100%); visibility: hidden;
  transition: transform .8s var(--cnp-ease), visibility 0s linear .8s; }
[dir="rtl"] .cnp-offcanvas { transform: translateX(100%); }
/* thin charcoal scrollbar */
.cnp-offcanvas { scrollbar-width: thin; scrollbar-color: #3a3b3d transparent; }
.cnp-offcanvas::-webkit-scrollbar { width: 4px; }
.cnp-offcanvas::-webkit-scrollbar-track { background: transparent; }
.cnp-offcanvas::-webkit-scrollbar-thumb { background: #3a3b3d; border-radius: 0; }
.cnp-offcanvas::-webkit-scrollbar-thumb:hover { background: #55565a; }
.cnp-offcanvas.is-open { transform: none; visibility: visible; transition: transform .8s var(--cnp-ease), visibility 0s; }
@media (max-width: 767px) { .cnp-offcanvas { width: 100vw; } }

.cnp-oc-close { position: absolute; top: calc(var(--cnp-head-h) / 2); inset-inline-start: clamp(16px, 3vw, 48px); translate: 0 -50%;
  width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.cnp-oc-close:hover, .cnp-oc-close:focus { background: none; }
.cnp-oc-close > span[aria-hidden]::before, .cnp-oc-close > span[aria-hidden]::after { content: ""; position: absolute; top: 50%; left: 50%;
  width: 30px; height: 1.5px; background: #fff; translate: -50% -50%; rotate: 45deg; transition: rotate .4s var(--cnp-ease); }
.cnp-oc-close > span[aria-hidden]::after { rotate: -45deg; }
.cnp-oc-close:hover > span[aria-hidden]::before { rotate: 135deg; }
.cnp-oc-close:hover > span[aria-hidden]::after { rotate: 45deg; }

.cnp-oc-list, .cnp-oc-list .sub-menu, .cnp-oc-langs { list-style: none; margin: 0; padding: 0; }
.cnp-oc-list > li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.cnp-oc-list > li > .cnp-oc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cnp-oc-list > li > .cnp-oc-row > a, .cnp-oc-list > li > a { display: block; padding: clamp(10px, 1.6vh, 18px) 0; color: #fff; text-decoration: none;
  font-family: "futura-100-hebrew", "Heebo", sans-serif; font-weight: 300; font-size: clamp(26px, 2.4vw, 42px); letter-spacing: .04em; line-height: 1.15;
  transition: color .3s, padding .4s var(--cnp-ease); }
.cnp-oc-list > li > .cnp-oc-row > a:hover, .cnp-oc-list > li > a:hover { color: #c9a27e; padding-inline-start: 12px; }
.cnp-oc-sub { width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.cnp-oc-sub:hover, .cnp-oc-sub:focus-visible { background: none; border-color: #fff; }
.cnp-oc-sub:focus { background: none; }
.cnp-oc-sub::before, .cnp-oc-sub::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: #fff; translate: -50% -50%; transition: rotate .4s var(--cnp-ease); }
.cnp-oc-sub::after { rotate: 90deg; }
.cnp-oc-sub[aria-expanded="true"]::after { rotate: 0deg; }
.cnp-sub-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--cnp-ease); }
.cnp-sub-wrap > .sub-menu { min-height: 0; overflow: hidden; }
.cnp-oc-list li.is-open > .cnp-sub-wrap { grid-template-rows: 1fr; }
.cnp-oc-list li.is-open > .cnp-sub-wrap > .sub-menu { padding-bottom: 14px; }
.cnp-oc-list .sub-menu a { display: block; padding: 7px 0; color: #bdbdbd; font-family: "proxima-nova-hebrew", "Heebo", sans-serif; text-decoration: none; font-size: 17px; letter-spacing: .06em; transition: color .3s; }
.cnp-oc-list .sub-menu a:hover { color: #c9a27e; }

/* menu items rise in when the panel opens */
.cnp-oc-list > li > * { transform: translateY(110%); transition: transform .7s var(--cnp-ease); }
.cnp-offcanvas.is-open .cnp-oc-list > li > * { transform: none; }

.cnp-oc-foot { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: "proxima-nova-hebrew", "Heebo", sans-serif; letter-spacing: .14em; }
.cnp-oc-foot a { color: #bdbdbd; text-decoration: none; transition: color .3s; }
.cnp-oc-foot a:hover { color: #fff; }
.cnp-oc-langs { display: flex; gap: 16px; text-transform: uppercase; }

html.cnp-menu-open, html.cnp-menu-open body { overflow: hidden; }

/* ---------- intro loader (home page) ---------- */
#cnp-loader { position: fixed; inset: 0; z-index: 99999; overflow: hidden; pointer-events: auto; display: grid; place-items: center; }
#cnp-loader .cnp-ld-logo { grid-area: 1 / 1; }
/* split in the gap between CANO | PÉE (57.8% of the wordmark), not through a letter */
#cnp-loader .cnp-ld-l { clip-path: inset(0 42.2% 0 0); }
#cnp-loader .cnp-ld-r { clip-path: inset(0 0 0 57.8%); }
#cnp-loader .cnp-hole { position: absolute; left: 50%; top: 50%; width: 0; height: 0; translate: -50% -50%;
  box-shadow: 0 0 0 200vmax #000; }
#cnp-loader .cnp-ld-logo { position: relative; width: 50vw; height: auto;
  opacity: 0; animation: cnp-ld-in 1.2s var(--cnp-ease) .1s forwards; }
@keyframes cnp-ld-in { from { opacity: 0; transform: scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html.cnp-loading, html.cnp-loading body { overflow: hidden; }
.cnp-oc-list > li.lang-item { display: none; }
.cnp-burger, .cnp-oc-close { outline: none; }
.cnp-burger:focus-visible, .cnp-oc-close:focus-visible, .cnp-oc-sub:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.cnp-oc-close:focus, .cnp-oc-close:hover { border: 0; }
/* focus ring only for keyboard users: the theme base CSS outlines anything on :focus, mouse clicks included */
.cnp-header :focus:not(:focus-visible), .cnp-offcanvas :focus:not(:focus-visible), .cnp-burger:focus:not(:focus-visible) { outline: none; }
.cnp-offcanvas a:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
/* logo at the top of the open menu */
.cnp-oc-logo { display: block; align-self: flex-start; line-height: 0; margin-bottom: clamp(28px, 5vh, 56px); }
.cnp-oc-logo img { display: block; height: clamp(22px, 2vw, 30px); width: auto; }
.cnp-offcanvas { padding-top: calc(var(--cnp-head-h) + 1vh); }
/* language item: Latin/Hebrew label in the menu's weight (futura's Latin reads heavier) */
.cnp-oc-list > li.cnp-oc-lang > a { font-family: "proxima-nova-hebrew", "Heebo", sans-serif; font-weight: 300; font-size: clamp(20px, 1.8vw, 30px); letter-spacing: .12em; }
