/* ARETÉ · original wordmark, mobile portrait only. The header slot stays
   reserved. No video, intro, copy, menu geometry or desktop changes. */
.rt2-hero-wordmark{display:none!important}
@media screen and (max-width:767px) and (orientation:portrait){
  html.rt2-wordmark-active body #inicio.hero > .rt2-hero-wordmark{
    position:absolute!important;
    display:block!important;
    top:calc(max(64px,env(safe-area-inset-top,0px)) + 7px)!important;
    left:50%!important;
    width:clamp(150px,51vw,215px)!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    transform:translateX(-50%)!important;
    z-index:4!important;
    opacity:1!important;
    pointer-events:none!important;
    transition:opacity .34s ease!important;
  }
  html.rt2-wordmark-active body #inicio.hero > .rt2-hero-wordmark img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    object-fit:contain!important;
  }
  html.rt2-wordmark-active body #header:not(.open) .head > .logo{
    opacity:0!important;
    visibility:hidden!important;
    transition:opacity .22s ease,visibility 0s linear .22s!important;
  }
  html.rt2-wordmark-active.rt2-wordmark-docked body #header:not(.open) .head > .logo{
    opacity:1!important;
    visibility:visible!important;
    transition:opacity .22s ease,visibility 0s!important;
  }
  html.rt2-wordmark-active.rt2-wordmark-docked body #inicio.hero > .rt2-hero-wordmark,
  html.rt2-wordmark-active body #header.open ~ main #inicio.hero > .rt2-hero-wordmark{
    opacity:0!important;
    transition:none!important;
  }
  html.rt2-wordmark-active body #header.open .head > .logo{
    opacity:1!important;
    visibility:visible!important;
  }
}
@media screen and (max-width:767px) and (orientation:portrait) and (prefers-reduced-motion:no-preference){
  html.rt2-wordmark-active body #inicio.hero.rt2-sequence-pending:not(.rt2-sequence-title) > .rt2-hero-wordmark{
    opacity:0!important;
  }
}
@media screen and (max-width:767px) and (orientation:portrait) and (max-height:600px){
  html.rt2-wordmark-active body #inicio.hero > .rt2-hero-wordmark{
    top:calc(max(64px,env(safe-area-inset-top,0px)) + 4px)!important;
    width:clamp(125px,42vw,170px)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  html.rt2-wordmark-active body #inicio.hero > .rt2-hero-wordmark,
  html.rt2-wordmark-active body #header .head > .logo{
    transition:none!important;
  }
}

/* At the top, the existing fixed navigation occupies no painted bar. The
   untouched full-bleed footage already extends behind it. Only the menu
   remains visible, with its original cream outline and no fill. */
@media screen and (max-width:767px) and (orientation:portrait){
  html.rt2-wordmark-active body #header:not(.open){
    transition:background-color .30s ease,border-color .30s ease!important;
  }
  html.rt2-wordmark-active:not(.rt2-wordmark-docked) body #header:not(.open){
    background:transparent!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    border-bottom-color:transparent!important;
  }
  html.rt2-wordmark-active:not(.rt2-wordmark-docked) body #header:not(.open) .mobile-toggle{
    background:transparent!important;
    box-shadow:none!important;
    text-shadow:0 1px 4px rgba(0,0,0,.85)!important;
  }
  html.rt2-wordmark-active body #header:not(.open) > .rt2-edge-header,
  html.rt2-wordmark-active body #header:not(.open) .arete-scroll-meter{
    transition:opacity .30s ease!important;
  }
  html.rt2-wordmark-active:not(.rt2-wordmark-docked) body #header:not(.open) > .rt2-edge-header,
  html.rt2-wordmark-active:not(.rt2-wordmark-docked) body #header:not(.open) .arete-scroll-meter{
    opacity:0!important;
  }
}
@media (prefers-reduced-motion:reduce){
  html.rt2-wordmark-active body #header:not(.open),
  html.rt2-wordmark-active body #header:not(.open) > .rt2-edge-header,
  html.rt2-wordmark-active body #header:not(.open) .arete-scroll-meter{
    transition:none!important;
  }
}
