/* The supplied silhouette is a quiet watermark behind the real menu. Use the
   source JPEG's luma (rather than tracing it) and crop only the black margin. */
@supports (mask-mode:luminance) {
  html.cultural body[data-dubai-search-system] :is(.editorial-header #hero-menu,.culture-chrome .ofto-menu,.atlas-head .atlas-menu){
    --burj-height:50px;--burj-centre:50%;--burj-opacity:.28;
    isolation:isolate;
  }
  html.cultural body[data-dubai-search-system] .atlas-head .atlas-menu{position:relative}
  html.cultural body[data-dubai-search-system] :is(.editorial-header #hero-menu,.culture-chrome .ofto-menu,.atlas-head .atlas-menu)::before{
    content:"";position:absolute;z-index:-1;inset-block-start:50%;inset-inline-end:var(--burj-centre);
    transform:translate(50%,-50%);inline-size:calc(var(--burj-height) * .34);block-size:var(--burj-height);
    background:currentColor;opacity:var(--burj-opacity);pointer-events:none;
    mask-image:url("/assets/dubai-burj-menu.jpeg");mask-mode:luminance;
    mask-repeat:no-repeat;mask-size:auto 160.9%;mask-position:45.3% 59.4%;
  }
  @media (max-width:359px) {
    html.cultural body[data-dubai-search-system] :is(.editorial-header #hero-menu,.culture-chrome .ofto-menu,.atlas-head .atlas-menu){--burj-height:44px}
  }
  @media (min-width:900px) {
    html.cultural body[data-dubai-search-system] :is(.editorial-header #hero-menu,.culture-chrome .ofto-menu,.atlas-head .atlas-menu){--burj-height:40px;--burj-opacity:.24}
    /* Desktop home still says Menu. Centre the watermark on its glyph, not its text. */
    html.cultural body[data-dubai-search-system] .editorial-header #hero-menu{--burj-centre:13px}
  }
  @media (forced-colors:active) {
    html.cultural body[data-dubai-search-system] :is(.editorial-header #hero-menu,.culture-chrome .ofto-menu,.atlas-head .atlas-menu)::before{content:none}
  }
}
/* Keep the actual three lines full-contrast and independent of the decorative art. */
html.cultural body[data-dubai-search-system] .record-first .editorial-header #hero-menu .menu-mark::before{
  top:9px;box-shadow:0 -5px 0 currentColor;
}
html.cultural body[data-dubai-search-system] .record-first .editorial-header #hero-menu .menu-mark::after{top:14px}
@media (forced-colors:active) {
  html.cultural body[data-dubai-search-system] .record-first .editorial-header #hero-menu .menu-mark{
    forced-color-adjust:none;color:ButtonText;
  }
}
