/* KAZE navigation refinements. Kazeexport exports multiple responsive copies. */
nav li:has(> a[href$="/archives"]),
nav li:has(> a[href$="/archives/"]),
nav li:has(a[href$="/archives"]),
nav li:has(a[href$="/archives/"]) {display:none!important;}
footer [class*="-container"]:has(>a[href*="threads.com/"]),
footer [class*="-container"]:has(>a[href*="x.com/ludoviclosco"]),
footer [class*="-container"]:has(>a[href*="twitter.com/"]) {display:none!important;}
@media(max-width:809.98px) {
  html.kaze-logo-morph-active [data-kazeexport-name="Section - Hero (Fixed)"] .kazeexport-ojllgf img {visibility:hidden!important;}
  html.kaze-logo-morph-active nav[data-kazeexport-name="Tablet / Mobile Closed"] .kazeexport-1exra1g-container img {opacity:0!important;}
  html.kaze-logo-morph-finished nav[data-kazeexport-name="Tablet / Mobile Closed"] .kazeexport-1exra1g-container img {opacity:1!important;}
  #kaze-logo-traveler {position:fixed;z-index:100;pointer-events:none;object-fit:contain;will-change:top,left,width,height,opacity;max-width:none;border:0!important;filter:none;transition:none!important;}
}
@media(prefers-reduced-motion:reduce) {
  #kaze-logo-traveler {display:none!important;}
  html.kaze-logo-morph-active nav[data-kazeexport-name="Tablet / Mobile Closed"] .kazeexport-1exra1g-container img {opacity:1!important;}
  html.kaze-logo-morph-active [data-kazeexport-name="Section - Hero (Fixed)"] .kazeexport-ojllgf img {visibility:visible!important;}
}

/* KAZE: transparent global navigation. Keep existing position, logo and controls. */
html:root:root:root:root:root:root :is(nav[data-kazeexport-name="Desktop Transparent"],nav[data-kazeexport-name="Tablet / Mobile Closed"],nav[data-framer-name="Desktop Transparent"],nav[data-framer-name="Tablet / Mobile Closed"]) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html:root:root:root:root:root:root :is(nav[data-kazeexport-name],nav[data-framer-name]) .kaze-native-mobile-panel {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@supports (mix-blend-mode: difference) and selector(:has(*)) {
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) {
    background: transparent !important;
    mix-blend-mode: difference !important;
    isolation: auto !important;
  }
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) :is(nav[data-kazeexport-name],nav[data-framer-name]) {
    mix-blend-mode: normal !important;
    color: white !important;
    --token-412736a6-764a-4748-80bf-a9c04ad63339: #fff !important;
    --kazeexport-text-color: #fff !important;
    --framer-text-color: #fff !important;
  }
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) :is(nav[data-kazeexport-name],nav[data-framer-name]) :is(a,p,span,button,[data-kaze-native-clock],.kaze-language-switch,.kaze-native-mobile-panel) {
    color: white !important;
    --kazeexport-text-color: #fff !important;
    --framer-text-color: #fff !important;
  }
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) nav img[src*="gcHCRZyhpL71aC27aEKpkQ15Sj8"] {filter: brightness(0) invert(1) !important;}
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) nav :is(a,button,[role="button"]):focus-visible {outline-color:white !important;}
}

/* Mobile navigation hotfix: explicit states, reliable foreground, no background. */
@media(max-width:809.98px) {
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) {
    mix-blend-mode:normal!important;
    --kaze-mobile-nav-ink:#fff;
  }
  html:root:root:root:root:root:root[data-kaze-work-theme="light"]:not(:has(.kaze-catalog-list)) :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) {
    --kaze-mobile-nav-ink:#161616;
  }
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav)[data-kaze-mobile-ink="dark"] {--kaze-mobile-nav-ink:#161616;}
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav)[data-kaze-mobile-ink="light"] {--kaze-mobile-nav-ink:#fff;}
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) :is(nav[data-kazeexport-name],nav[data-framer-name]),
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) :is(nav[data-kazeexport-name],nav[data-framer-name]) :is(a,p,span,button,[data-kaze-native-clock],.kaze-language-switch,.kaze-native-mobile-panel) {
    color:var(--kaze-mobile-nav-ink)!important;
    --token-412736a6-764a-4748-80bf-a9c04ad63339:var(--kaze-mobile-nav-ink)!important;
    --kazeexport-text-color:var(--kaze-mobile-nav-ink)!important;
    --framer-text-color:var(--kaze-mobile-nav-ink)!important;
    mix-blend-mode:normal!important;
  }
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav) nav img[src*="gcHCRZyhpL71aC27aEKpkQ15Sj8"] {
    filter:brightness(0) invert(1)!important;
    mix-blend-mode:normal!important;
  }
  html:root:root:root:root:root:root[data-kaze-work-theme="light"]:not(:has(.kaze-catalog-list)) :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav):not([data-kaze-mobile-ink="light"]) nav img[src*="gcHCRZyhpL71aC27aEKpkQ15Sj8"],
  html:root:root:root:root:root:root :is(.kazeexport-trbcup-container,.framer-trbcup-container):has(nav)[data-kaze-mobile-ink="dark"] nav img[src*="gcHCRZyhpL71aC27aEKpkQ15Sj8"] {filter:brightness(0)!important;}
  html:root:root:root:root:root:root :is([data-kazeexport-name="Menu Button Mobile"],[data-framer-name="Menu Button Mobile"]) {
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;
    min-width:44px!important;min-height:44px!important;height:auto!important;overflow:visible!important;
  }
  html:root:root:root:root:root:root :is([data-kazeexport-name="Menu Button Mobile"],[data-framer-name="Menu Button Mobile"]) > :is(.kazeexport-i6nt9q,.framer-i6nt9q) {display:none!important;}
  html:root:root:root:root:root:root :is([data-kazeexport-name="Menu Button Mobile"],[data-framer-name="Menu Button Mobile"])[aria-expanded="true"] > :is(.kazeexport-1l2jmq1,.framer-1l2jmq1) {display:none!important;}
  html:root:root:root:root:root:root :is([data-kazeexport-name="Menu Button Mobile"],[data-framer-name="Menu Button Mobile"])[aria-expanded="true"] > :is(.kazeexport-i6nt9q,.framer-i6nt9q) {display:block!important;}
  html:root:root:root:root:root:root .kaze-native-mobile-panel[hidden] {display:none!important;}
  html:root:root:root:root:root:root [data-kazeexport-name="Section - Hero (Fixed)"] [data-kazeexport-name="Subtitle"] {
    opacity:var(--kaze-sub-alpha,1)!important;translate:none!important;filter:none!important;
  }
  html:root:root:root:root:root:root [data-kazeexport-name="Section - Hero (Fixed)"] [data-kazeexport-name="Subtitle"] :is(p,span) {
    color:#e6e6e6!important;--kazeexport-text-color:#e6e6e6!important;
    opacity:1!important;filter:none!important;transform:none!important;animation:none!important;
  }
  html:root:root:root:root:root:root #kaze-logo-traveler {filter:brightness(0) invert(1)!important;mix-blend-mode:normal!important;}
}

/* Mobile menu: one visible navigation list, explicit open/closed layout. */
@media(max-width:809.98px) {
  /* Keep the original editorial links. The injected panel only carries
     the native toggle state; it must never render a second link list. */
  html:root:root:root:root:root:root nav:is([data-kazeexport-name="Tablet / Mobile Closed"],[data-framer-name="Tablet / Mobile Closed"]) .kaze-native-mobile-panel {
    display:none!important;
  }
  html:root:root:root:root:root:root nav:is([data-kazeexport-name="Tablet / Mobile Closed"],[data-framer-name="Tablet / Mobile Closed"]):not(.kaze-native-menu-open) :is([data-kazeexport-name="Nav Menu"],[data-framer-name="Nav Menu"],[data-kazeexport-name="Clock"],[data-framer-name="Clock"]) {
    display:none!important;
  }
  html:root:root:root:root:root:root nav:is([data-kazeexport-name="Tablet / Mobile Closed"],[data-framer-name="Tablet / Mobile Closed"]).kaze-native-menu-open > :is([data-kazeexport-name="Container"],[data-framer-name="Container"]) {
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  html:root:root:root:root:root:root nav:is([data-kazeexport-name="Tablet / Mobile Closed"],[data-framer-name="Tablet / Mobile Closed"]).kaze-native-menu-open :is([data-kazeexport-name="Nav Menu"],[data-framer-name="Nav Menu"]) {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:4px!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:12px 20px 16px!important;
  }
  html:root:root:root:root:root:root nav:is([data-kazeexport-name="Tablet / Mobile Closed"],[data-framer-name="Tablet / Mobile Closed"]).kaze-native-menu-open :is([data-kazeexport-name="Clock"],[data-framer-name="Clock"]) {
    display:flex!important;
    position:relative!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:8px 20px 18px!important;
  }
}

@media(max-width:809.98px){
 html:root:root:root:root:root:root .kazeexport-trbcup-container:has(nav.kaze-native-menu-open){z-index:1000!important;--kaze-mobile-nav-ink:#fff!important}
 html:root:root:root:root:root:root .kazeexport-trbcup-container:has(nav.kaze-native-menu-open)::before{content:"";position:absolute;inset:0 0 auto;height:100dvh;background:rgba(0,0,0,.82);z-index:-1;pointer-events:auto}
 html:root:root:root:root:root:root .kazeexport-trbcup-container:has(nav.kaze-native-menu-open) nav.kaze-native-menu-open img[src*="gcHCRZyhpL71aC27aEKpkQ15Sj8"]{filter:brightness(0) invert(1)!important;opacity:1!important}
 html:has(nav.kaze-native-menu-open) #kaze-logo-traveler{visibility:hidden!important}
 html:root:root:root:root:root:root nav.kaze-native-menu-open{max-height:100dvh;overflow-y:auto!important;overscroll-behavior:contain}
}
